Page 1 of 1

eggdrop compilation :(

PostPosted: Thu Nov 14, 2002 1:35 pm
by <alamaz>
I can't compile eggdrop (1.6.12) with mac os x (server 10.2.2). The makefile returns me:

Eggdrop requires Tcl to compile. If you already have Tcl installed
on this system, and I just wasn't looking in the right place for it,
set the environment variables TCLLIB and TCLINC so I will know where
to find 'libtcl.a' (or 'libtcl.so') and 'tcl.h' (respectively). Then
run 'configure' again.

I have installed developer tools (july 2002)
Have you got any idea?

Re: eggdrop compilation :(

PostPosted: Sun Nov 17, 2002 10:57 pm
by Asas
I had the same problem...

Download this 2 files...

http://grass.itc.it/grass5/binary/mac_os_x/tcltk_macosX_lib.tar.gz

&

http://grass.itc.it/grass5/binary/mac_os_x/tcltkbin_macosX.tar.gz

But I still can't link the eggdrop [img]images/icons/frown.gif"%20border="0[/img]

Re: eggdrop compilation :(

PostPosted: Mon Nov 18, 2002 10:00 pm
by <alamaz>
Thank for your help. If i find a solution for the linking, i'll tell you :/

Re: eggdrop compilation :(

PostPosted: Mon Nov 18, 2002 10:26 pm
by <alamaz>
I have the solution!!!
On my computer at less.
What I have done:
-removed the file you told me to install
-in the terminal, type:
cd /usr/lib
ln -s libtcl8.3.dylib libtcl.a (with an other version if you have)
-and the usual ./configure&make&make install

Hope it will work for you [img]images/icons/smile.gif"%20border="0[/img]
Cordially

Re: eggdrop compilation :(

PostPosted: Tue Nov 19, 2002 3:48 pm
by Asas
---------- Yeah! that's the compiling, now the linking! ----------

Linking eggdrop... (static version)

gcc -pipe -o ../eggdrop bg.o botcmd.o botmsg.o botnet.o chanprog.o cmds.o dcc.o dccutil.o dns.o flags.o language.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 mod/*.o -L/usr/lib -ltcl -lm md5/md5c.o compat/*.o `cat mod/mod.xlibs`
ld: can't locate file for: -lresolv
make[1]: *** [../eggdrop] Error 1
make: *** [static] Error 2
[emac:~/stuff/eggdrop1.6.12] emac%

Re: eggdrop compilation :(

PostPosted: Fri Nov 22, 2002 8:06 am
by Asas
Now it works =)
Just rm -rf eggdrop1.6.12 && tar xjvf eggdrop1.6.12.tar.bz2 && compiled again [img]images/icons/wink.gif"%20border="0[/img]

Re: eggdrop compilation :(

PostPosted: Sun Nov 24, 2002 4:45 pm
by <alamaz>
Or a "make clean"...

Re: eggdrop compilation :(

PostPosted: Mon Nov 25, 2002 5:51 pm
by Asas
Didn't work for me =(
Anyway tkz a lot ihih

Re: eggdrop compilation :(

PostPosted: Mon Nov 25, 2002 5:54 pm
by Asas
Eheh today happened something weird to me...
I was compiling MPlayer the latest version (not cvs) anda i typed ./configure and when i typed make it printed a error message i tried gnumake and it worked.... Weird isn't it ?

Re: eggdrop compilation :(

PostPosted: Wed Dec 01, 2004 12:07 am
by <jotham.read>
Hi, I got eggdrop 1.6.17 to compile for MacOSX 10.3, i wrote up a little tutorial for doing it here:

http://202.0.55.123/~jotham/Archive/CompilingEggdropForMacOSX.html

good luck

Re: eggdrop compilation :(

PostPosted: Thu Aug 25, 2005 3:41 am
by <eggdrop>
Originally posted by Asas:
---------- Yeah! that's the compiling, now the linking! ----------

Linking eggdrop... (static version)

gcc -pipe -o ../eggdrop bg.o botcmd.o botmsg.o botnet.o chanprog.o cmds.o dcc.o dccutil.o dns.o flags.o language.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 mod/*.o -L/usr/lib -ltcl -lm md5/md5c.o compat/*.o `cat mod/mod.xlibs`
ld: can't locate file for: -lresolv
make[1]: *** [../eggdrop] Error 1
make: *** [static] Error 2
[emac:~/stuff/eggdrop1.6.12] emac%