This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Make static Tcllib problem

Old posts that have not been replied to for several years.
Locked
t
tR
Voice
Posts: 19
Joined: Wed Dec 12, 2001 8:00 pm

Post by tR »

Hi,

after make static i had the problem on shells with different tcliblib version that i cannot start the eggdrop. It says tcllib not found. is there any possibility to avoid this and to ensure that my static compiled eggdrop runs on almost every linux system?
P
Petersen
Owner
Posts: 685
Joined: Thu Sep 27, 2001 8:00 pm
Location: Blackpool, UK

Post by Petersen »

yes. edit the makefile and make the linker (LD) only use static libs (-static if its gcc)
t
tR
Voice
Posts: 19
Joined: Wed Dec 12, 2001 8:00 pm

Post by tR »

Hi,

thanx for your reply, but im unable to find the position in the makefile where to change that. Can you help me little bit? Big thanx in advance.
P
Petersen
Owner
Posts: 685
Joined: Thu Sep 27, 2001 8:00 pm
Location: Blackpool, UK

Post by Petersen »

i already told you, LD
t
tR
Voice
Posts: 19
Joined: Wed Dec 12, 2001 8:00 pm

Post by tR »

sorry im blind :sad: but after adding that i got a compile error:
/usr/i486-suse-linux/bin/ld: cannot find -ltcl when he tries to make: gcc -pipe -static -o ../eggdrop bg.o botcmd.o ... -L/usr/lib -ltcl -lm -ldl -lnsl
Strange that without -static he recognize that -ltcl as parameter ?
P
Petersen
Owner
Posts: 685
Joined: Thu Sep 27, 2001 8:00 pm
Location: Blackpool, UK

Post by Petersen »

libtcl.a is missing. tcl doesn't compile it as default. you'll have to recompile tcl (in your home dir if you aint an admin) with the ./configure options to make the static libs, and point eggdrops configure script to that version of tcl.
t
tR
Voice
Posts: 19
Joined: Wed Dec 12, 2001 8:00 pm

Post by tR »

I compiled static tcl lib as you suggested in my home dir and pointed to that, but
while making core i got following error then:
make[1]: *** No rule to make target `tcl/libtcl8.3.a', needed by `../eggdrop'. Stop. Any idea what im doing wrong?
Locked