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.

Error When Compiling eggdrop 1.6.7+SSL patch

Old posts that have not been replied to for several years.
Locked
n
nakedm00n
Voice
Posts: 2
Joined: Sat Nov 20, 2004 1:06 pm

Error When Compiling eggdrop 1.6.7+SSL patch

Post by nakedm00n »

This is my sequence for compiling eggdrop1.6.7+ssl patch (all cmds into eggdrop1.6.17 dir):

PATCHING:

patch -p1 < eggdrop1.6.17-ssl.diff.gz

CONFIGURE:

CFLAGS="-I/usr/kerberos/include/" ./configure --with-ssl=/usr

(you can use the procedure posted by TurboChicken on thread http://forum.egghelp.org/viewtopic.php? ... hlight=ssl and omitting the CFLAGS option)

MAKE:

make config

make

This is the error when launching make under RedHat:

Code: Select all

.......

---------- Yeah! That's the compiling, now the linking! ----------

Linking eggdrop .

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 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/lib -ltcl8.3 -lm -ldl -lnsl  md5/md5c.o compat/*.o `cat mod/mod.xlibs` -lssl -lcrypto -L/usr/lib -L/usr/lib /usr/include
/usr/include: file not recognized: Is a directory
collect2: ld returned 1 exit status
make[1]: *** [../eggdrop] Error 1
make[1]: Leaving directory `/home/irc/tar/eggdrop1.6.17/src'
make: *** [modegg] Error 2


i have resolved the parse error with kssl.h with CFLAGS option when configure, but i have this ERROR!!

Thanks and Bye ALL. HelpME!
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

fix your Makefile, remove /usr/include from the link step
n
nakedm00n
Voice
Posts: 2
Joined: Sat Nov 20, 2004 1:06 pm

....

Post by nakedm00n »

thanks :)

i have modified the line 592 of eggdrop1.6.17-ssl.diff.gz :

original:

+ $(LD) -o ../$(EGGEXEC) $(eggdrop_objs) $(MODOBJS) $(XLIBS) md5/md5c.o compat/*.o `cat mod/mod.xlibs` $(XSSL_LIBS) $(XSSL_INCLUDE)

new:

+ $(LD) -o ../$(EGGEXEC) $(eggdrop_objs) $(MODOBJS) $(XLIBS) md5/md5c.o compat/*.o `cat mod/mod.xlibs` $(XSSL_LIBS) -L$(XSSL_INCLUDE)

config , make config and make works now :) :

CFLAGS="-I/usr/kerberos/include" ./configure --with-ssl=/usr

make config

make
Locked