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.

SSL problems with compiling etc.

Old posts that have not been replied to for several years.
Locked
T
TurboChicken
Halfop
Posts: 61
Joined: Wed Sep 29, 2004 3:18 pm

SSL problems with compiling etc.

Post by TurboChicken »

i got a major problem with compiling my bot to use SSL connections

i downloaded 1.6.17 and the patch (the new one after it had been update to unix)

1) untar'd and patched (no problems)
2) ./configure ( openssl cannot be found )
3) ./configure --with-ssl=/usr ( as openssl is located in /usr/include/openssl ) ( no problems )
4) make config ( no problems )
5) make ( MAJOR PROBLEMS )

Code: Select all

[eggdrop@server1 eggdrop1.6.17]$ make
make[1]: Entering directory `/home/eggdrop/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
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c dccutil.c
In file included from /usr/include/openssl/ssl.h:179,
                 from net.h:5,
                 from dccutil.c:36:
/usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory
In file included from /usr/include/openssl/ssl.h:179,
                 from net.h:5,
                 from dccutil.c:36:
/usr/include/openssl/kssl.h:134: parse error before "krb5_enctype"
/usr/include/openssl/kssl.h:136: parse error before '*' token
/usr/include/openssl/kssl.h:137: parse error before '}' token
/usr/include/openssl/kssl.h:149: parse error before "kssl_ctx_setstring"
/usr/include/openssl/kssl.h:149: parse error before '*' token
/usr/include/openssl/kssl.h:150: parse error before '*' token
/usr/include/openssl/kssl.h:151: parse error before '*' token
/usr/include/openssl/kssl.h:151: parse error before '*' token
/usr/include/openssl/kssl.h:152: parse error before '*' token
/usr/include/openssl/kssl.h:153: parse error before "kssl_ctx_setprinc"
/usr/include/openssl/kssl.h:153: parse error before '*' token
/usr/include/openssl/kssl.h:155: parse error before "kssl_cget_tkt"
/usr/include/openssl/kssl.h:155: parse error before '*' token
/usr/include/openssl/kssl.h:157: parse error before "kssl_sget_tkt"
/usr/include/openssl/kssl.h:157: parse error before '*' token
/usr/include/openssl/kssl.h:159: parse error before "kssl_ctx_setkey"
/usr/include/openssl/kssl.h:159: parse error before '*' token
/usr/include/openssl/kssl.h:161: parse error before "context"
/usr/include/openssl/kssl.h:162: parse error before "kssl_build_principal_2"
/usr/include/openssl/kssl.h:162: parse error before "context"
/usr/include/openssl/kssl.h:165: parse error before "kssl_validate_times"
/usr/include/openssl/kssl.h:165: parse error before "atime"
/usr/include/openssl/kssl.h:167: parse error before "kssl_check_authent"
/usr/include/openssl/kssl.h:167: parse error before '*' token
/usr/include/openssl/kssl.h:169: parse error before "enctype"
In file included from net.h:5,
                 from dccutil.c:36:
/usr/include/openssl/ssl.h:909: parse error before "KSSL_CTX"
/usr/include/openssl/ssl.h:931: parse error before '}' token
make[1]: *** [dccutil.o] Error 1
make[1]: Leaving directory `/home/eggdrop/eggdrop1.6.17/src'
make: *** [modegg] Error 2
question 1: am i doing something completely wrong??? and completely stupid???
question 2: can it be fixed???
question 3: please please how????

i've download and reinstalled openssl from source

Code: Select all

[eggdrop@server1 eggdrop1.6.17]$ openssl version
OpenSSL 0.9.7a Feb 19 2003
i've tried throwing things at the server but it's a couple of thousand miles away so that didn't work.

i've not had any problems running eggdrops and i'm curretnly trying to get psybnc working on there and it seems ok with the new ssl i just installed

any help anyone can give would be much appreciated

thanx in advance
Turbochicken

**update**
tried both 16 and 15 and got same problems
T
TurboChicken
Halfop
Posts: 61
Joined: Wed Sep 29, 2004 3:18 pm

Post by TurboChicken »

Fixed it... it's a really round about way but hey it works

copy /usr/kerberos/include/*
copy /usr/lib/pkgconfig/openssl.pc

put them in your eggdrop1.6.17 directory

and your good to go

remember to add in the eggdrop.conf

set use-ssl 1

this means that all servers in the .conf are treated as SSL servers

don't if this was obovious to everyone else but i hope it helps
Locked