I have tried installing both openssl 0.9.7i as well as 0.9.8a.
I can get the bot to compile, if i go and do some of the compilation by hand. Let me show you what I've been trying...
./configure --with-ssl=/usr/local/ssl (happily exits)
make config (again, no problems yet)
make (<--has problems)
This is the result of make:
Code: Select all
linux:~/src/eggdrop1.6.17 # make
make[1]: Entering directory `/root/src/eggdrop1.6.17/src'
This may take a while. Go get some runts.
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H -c bg.c
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H -c botcmd.c
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H -c botmsg.c
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H -c botnet.c
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H -c chanprog.c
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H -c cmds.c
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H -c dcc.c
dcc.c:38:25: error: openssl/md5.h: No such file or directory
dcc.c: In function âdcc_bot_digestâ:
dcc.c:302: error: âMD5_CTXâ undeclared (first use in this function)
dcc.c:302: error: (Each undeclared identifier is reported only once
dcc.c:302: error: for each function it appears in.)
dcc.c:302: error: syntax error before âmd5contextâ
dcc.c:307: warning: implicit declaration of function âMD5_Initâ
dcc.c:307: error: âmd5contextâ undeclared (first use in this function)
dcc.c:308: warning: implicit declaration of function âMD5_Updateâ
dcc.c:310: warning: implicit declaration of function âMD5_Finalâ
dcc.c: In function âdcc_bot_check_digestâ:
dcc.c:508: error: âMD5_CTXâ undeclared (first use in this function)
dcc.c:508: error: syntax error before âmd5contextâ
dcc.c:517: error: âmd5contextâ undeclared (first use in this function)
make[1]: *** [dcc.o] Error 1
make[1]: Leaving directory `/root/src/eggdrop1.6.17/src'
make: *** [modegg] Error 2
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H -c dcc.c -I/usr/local/ssl/include
then it will compile. Then I can do `make` again and it will spit out another error, but it will stop complaining if i execute the same statement as above with the different *.c filename. If I do that about +/- 7 times, then it will say it has compiled happily. Obviously, this is a ghetto way to compile an eggdrop, so I'm not really that surprised when I do the install and run it, and get the following:
Code: Select all
turbo0O@linux:~/egg2> ./eggdrop eggdrop.conf -n
Eggdrop v1.6.17+SSL (C) 1997 Robey Pointer (C) 2004 Eggheads
[23:29] Allocated bind table unld (flags 1)
[23:29] Allocated bind table time (flags 1)
[23:29] Allocated bind table note (flags 0)
[23:29] Allocated bind table nkch (flags 1)
[23:29] Allocated bind table load (flags 1)
[23:29] Allocated bind table link (flags 1)
[23:29] Allocated bind table filt (flags 1)
[23:29] Allocated bind table disc (flags 1)
[23:29] Allocated bind table dcc (flags 0)
[23:29] Allocated bind table chpt (flags 1)
[23:29] Allocated bind table chon (flags 1)
[23:29] Allocated bind table chof (flags 1)
[23:29] Allocated bind table chjn (flags 1)
[23:29] Allocated bind table chat (flags 1)
[23:29] Allocated bind table bot (flags 0)
[23:29] Allocated bind table bcst (flags 1)
[23:29] Allocated bind table away (flags 1)
[23:29] Allocated bind table act (flags 1)
[23:29] Allocated bind table evnt (flags 1)
[23:29] --- Loading eggdrop v1.6.17+SSL (Fri Dec 30 2005)
[23:29] Module loaded: dns
[23:29] Module loaded: channels
[23:29] Allocated bind table wall (flags 1)
[23:29] Allocated bind table raw (flags 1)
[23:29] Allocated bind table notc (flags 1)
[23:29] Allocated bind table msgm (flags 1)
[23:29] Allocated bind table msg (flags 0)
[23:29] Allocated bind table flud (flags 1)
[23:29] Allocated bind table ctcr (flags 1)
[23:29] Allocated bind table ctcp (flags 1)
[23:29] Module loaded: server
[23:29] Module loaded: ctcp
[23:29] Allocated bind table topc (flags 1)
[23:29] Allocated bind table splt (flags 1)
[23:29] Allocated bind table sign (flags 1)
[23:29] Allocated bind table rejn (flags 1)
[23:29] Allocated bind table part (flags 1)
[23:29] Allocated bind table nick (flags 1)
[23:29] Allocated bind table mode (flags 1)
[23:29] Allocated bind table kick (flags 1)
[23:29] Allocated bind table join (flags 1)
[23:29] Allocated bind table pubm (flags 1)
[23:29] Allocated bind table pub (flags 0)
[23:29] Allocated bind table need (flags 1)
[23:29] Module loaded: irc
...etc...
[23:29] Userfile loaded, unpacking...
[23:29] === lamestbot: 0 channels, 2 users.
[23:29] main: entering loop
[23:29] net: eof!(read) socket 9
[23:29] net: eof!(read) socket 9
[23:29] net: connect! sock 6
[23:29] Trying server irc.thedome.us:7000
[23:29] DNS resolved irc.thedome.us to 69.64.50.61
[23:29] net_switch_to_ssl()
*** glibc detected *** free(): invalid next size (normal): 0x00000000008ea320 ***
Aborted (core dumped)
If any of you could help me out on this I would really appreciate it. I've already spent hours trying to fix this and I would not ask for any of your time unless it truly was my last resort.
Thanks,
turbo0O