eggdrop compilation :(

Find out how to get that @*&^$&@ thing to compile!

eggdrop compilation :(

Postby <alamaz> » Thu Nov 14, 2002 1:35 pm

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?
<alamaz>
 

Re: eggdrop compilation :(

Postby Asas » Sun Nov 17, 2002 10:57 pm

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]
Asas
 
Posts: 7
Joined: Sun Nov 17, 2002 8:00 pm
Location: Lisboa

Re: eggdrop compilation :(

Postby <alamaz> » Mon Nov 18, 2002 10:00 pm

Thank for your help. If i find a solution for the linking, i'll tell you :/
<alamaz>
 

Re: eggdrop compilation :(

Postby <alamaz> » Mon Nov 18, 2002 10:26 pm

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
<alamaz>
 

Re: eggdrop compilation :(

Postby Asas » Tue Nov 19, 2002 3:48 pm

---------- 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%
Asas
 
Posts: 7
Joined: Sun Nov 17, 2002 8:00 pm
Location: Lisboa

Re: eggdrop compilation :(

Postby Asas » Fri Nov 22, 2002 8:06 am

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]
Asas
 
Posts: 7
Joined: Sun Nov 17, 2002 8:00 pm
Location: Lisboa

Re: eggdrop compilation :(

Postby <alamaz> » Sun Nov 24, 2002 4:45 pm

Or a "make clean"...
<alamaz>
 

Re: eggdrop compilation :(

Postby Asas » Mon Nov 25, 2002 5:51 pm

Didn't work for me =(
Anyway tkz a lot ihih
Asas
 
Posts: 7
Joined: Sun Nov 17, 2002 8:00 pm
Location: Lisboa

Re: eggdrop compilation :(

Postby Asas » Mon Nov 25, 2002 5:54 pm

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 ?
Asas
 
Posts: 7
Joined: Sun Nov 17, 2002 8:00 pm
Location: Lisboa

Re: eggdrop compilation :(

Postby <jotham.read> » Wed Dec 01, 2004 12:07 am

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
<jotham.read>
 

Re: eggdrop compilation :(

Postby <eggdrop> » Thu Aug 25, 2005 3:41 am

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%
<eggdrop>
 


Return to Compile Problems

Who is online

Users browsing this forum: No registered users and 15 guests

cron