sysinstall

I read that sysinstall was removed and no longer a command. How do I go adding the ports package to FreeBSD 10? I need TCL in order to get libtc18.4.so
 
mrmike19597 said:
I was reading that but how do I find TCL package for libtc18.4 so and make it download to ports?
portsnap fetch extract downloads and extracts all ports to /usr/ports on the local system.
portsnap fetch update downloads and applies all updates to all ports on the local system since the last update. It should always be run before installing or upgrading any ports to ensure you have the latest version.

Once you have a local copy of the ports tree at /usr/ports, you can search it for the desired port. I generally use find(1) for this. The TCL ports are in /usr/ports/lang. If you plan on working with ports, I highly recommend portmaster(8) as your tool of choice.

If you prefer to install binary packages, instead of build from source, you can use pkg(8), which uses a package repository instead of the /usr/ports.
 
Have to switch to FreeBSD 8, apparently eggdrop don't work on FreeBSD 10, I checked eggdrop forum and others have same issue.
 
mrmike19597 said:
Have to switch to FreeBSD 8, apparently eggdrop don't work on FreeBSD 10, I checked eggdrop forum and others have same issue.
Before you do something that drastic, have you tried seeing if irc/eggdrop-devel resolves the issues. That gives version 1.8.0 versus version 1.6.21 in irc/eggdrop. It is a development version, however, which means it might come with its own set of [new] problems.
 
I can't help with the error but now that you have internet working on the machine you could use script(1) to capture output of commands. Pictures can be really hard to read sometimes. For example:

Code:
cd /usr/ports/irc/eggdrop
make clean
script /tmp/eggdrop.log make install clean

You could then post the whole /tmp/eggdrop.log at let's say http://www.pastebin.com and post the link here or a small part of it here directly inside code tags.
 
Like this one
Code:
cc -o ../eggdrop bg.o botcmd.o botmsg.o botnet.o chanprog.o cmds.o dcc.o dccutil.o dns.o flags.o language.o match.o main.o mem.o misc.o misc_file.o modules.o net.o rfc1459.o tcl.o tcldcc.o tclhash.o tclmisc.o tcluser.o userent.o userrec.o users.o -L/usr/local/lib -ltcl85 -lm -lpthread md5/md5c.o compat/*.o `cat mod/mod.xlibs` 
 match.o: In function `cron_match': 
 /home/gh0st/eggdrop1.6.21/src/match.c:436: undefined reference to `cron_matchfld' 
 /home/gh0st/eggdrop1.6.21/src/match.c:437: undefined reference to `cron_matchfld' 
 main.o: In function `garbage_collect': 
 /home/gh0st/eggdrop1.6.21/src/./main.c:710: undefined reference to `garbage_collect_tclhash' 
 modules.o:(Sad.data+0x380): undefined reference to `open_listen' 
 tcldcc.o: In function `tcl_listen': 
 /home/gh0st/eggdrop1.6.21/src/tcldcc.c:942: undefined reference to `open_listen' 
 cc: error: linker command failed with exit code 1 (use -v to see invocation) 
 *** Error code 1 

 Stop. 
 make[1]: stopped in /home/gh0st/eggdrop1.6.21/src 
 *** Error code 1
 
Yes, but that is building from third-party source. You need to build irc/eggdrop from the FreeBSD ports collection. I was able to install it with no reported problems.
 
trh411 said:
Yes, but that is building from third-party source. You need to build irc/eggdrop from the FreeBSD ports collection. I was able to install it with no reported problems.

Yes the pkg install irc/eggdrop installs just fine.... but when I go to eggdrop folder and type ./configure, make config , those all work with no problems but then I type make and get the error I pasted above, same error egghelp forum talks about with no solution found yet for FreeBSD 10.
 
mrmike19597 said:
trh411 said:
Yes, but that is building from third-party source. You need to build irc/eggdrop from the FreeBSD ports collection. I was able to install it with no reported problems.

Yes the pkg install irc/eggdrop installs just fine.... but when I go to eggdrop folder and type ./configure, make config , those all work with no problems but then I type make and get the error I pasted above, same error egghelp forum talks about with no solution found yet for FreeBSD 10.
If you install the package, you do not need to also install the port. They give you the same thing. If pkg install irc/eggdrop completed successfully, you're done ... except maybe for some local configuration.
 
mrmike19597 said:
So I should deinstall the port packages like tcl85, tcl84? Then try again?
If you installed irc/eggdrop successfully as a binary package using pkg install eggdrop, that should have also installed the lang/tcl86 dependency. There is nothing to "try again". Why do you think there is?

Technically you do not also need lang/tcl84 or lang/tcl85, and you might want to remove them just to avoid confusion..
 
mrmike19597 said:
Can you please explain how to run ./configure with a path/to/file? Two files libtcl.so and tcl.h
Not until you tell me why you think you need to do that. That is part of the third-party build from source process, which you don't need. Why are you insisting on messing with that when it is not required?

You have already stated that you successfully installed irc/eggdrop using pkg install eggdrop. That installed everything you need to run irc/eggdrop on your system. Have you tried to run it?
 
I'm sorry, let me explain better...
I successfully installed irc/eggdrop.

Then I went to my /usr/home/folder/eggdrop1.6.21

That is where I have the eggdrop1.6.21.tar.gz extracted and installed
I type ./configure it is successful
I type make install it is successful
I type make and get this error:

Code:
cc -o ../eggdrop bg.o botcmd.o botmsg.o botnet.o chanprog.o cmds.o dcc.o dccutil.o dns.o flags.o language.o match.o main.o mem.o misc.o misc_file.o modules.o net.o rfc1459.o tcl.o tcldcc.o tclhash.o tclmisc.o tcluser.o userent.o userrec.o users.o -L/usr/local/lib -ltcl85 -lm -lpthread md5/md5c.o compat/*.o `cat mod/mod.xlibs` 
 match.o: In function `cron_match': 
 /home/gh0st/eggdrop1.6.21/src/match.c:436: undefined reference to `cron_matchfld' 
 /home/gh0st/eggdrop1.6.21/src/match.c:437: undefined reference to `cron_matchfld' 
 main.o: In function `garbage_collect': 
 /home/gh0st/eggdrop1.6.21/src/./main.c:710: undefined reference to `garbage_collect_tclhash' 
 modules.o:(Sad.data+0x380): undefined reference to `open_listen' 
 tcldcc.o: In function `tcl_listen': 
 /home/gh0st/eggdrop1.6.21/src/tcldcc.c:942: undefined reference to `open_listen' 
 cc: error: linker command failed with exit code 1 (use -v to see invocation) 
 *** Error code 1 

 Stop. 
 make[1]: stopped in /home/gh0st/eggdrop1.6.21/src 
 *** Error code 1

So what I am trying to say is I have irc/eggdrop installed successfully ..... I just can't get the program I downloaded from egghelp.org to successfully make after I do all I done above.
 
mrmike19597 said:
So what I am trying to say is I have irc/eggdrop installed successfully .....
Then you are done. STOP!
mrmike19597 said:
I just can't get the program I downloaded from egghelp.org to successfully make after I do all I done above.
You don't need it. Remove it from your system. You have already installed irc/eggdrop as a binary package. Third-party source is irrelevant.
 
I'm thinking you're confused about the whole packages, ports, third-party source thing, so let me try to explain this differently.

There are three ways to install tools (e.g. irc/eggdrop) on FreeBSD:
  1. Install the pre-packaged binary from the FreeBSD Package Repository
  2. Build (install) the port from source from the FreeBSD Ports Collection
  3. Build (install) the application directly from third-party source (e.g. from egghelp.org)
All of these are mutually exclusive, in that if you install using any one of the three methods, you are done. You have already installed irc/eggdrop using pkg(8). Thus, you are done.

Methods #1 and #2 are always preferred on FreeBSD because they have been especially "ported" to FreeBSD. You can use method #3 if you insist, but if you run into problems you will always be advised to use the FreeBSD port instead.

Does this help?
 
Back
Top