Issues with openssl while installing ripe whoisserver-3.10.1
Hi, Sorry if this is not the right list .... Ive been trying to install the latest ripe whois server on Ubuntu 10.04 server and got these errors below related to openssl ... Am trying to get a feel of it so I can get it to run our TLD whois server. sysadmin@whois:~/whoisserver$ sudo perl Install.PL --verbose --debug --for-development --all --prefix=/usr/local/whois --sqlpass=xxxxxx Use of uninitialized value in string eq at Install.PL line 80. Running './autogen.sh'=============================== Automake v1.5 is used for building. Your version is 1.11.1. If configuration fails, keep this in mind :) =============================== Running libtoolize libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree. libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am. libtoolize: `AC_PROG_RANLIB' is rendered obsolete by `LT_INIT' Running aclocal m4/ripe_opl_only.m4:4: warning: underquoted definition of RIPE_OPL_ONLY m4/ripe_opl_only.m4:4: run info '(automake)Extending aclocal' m4/ripe_opl_only.m4:4: or see http://sources.redhat.com/automake/automake.html#Extending-aclocal Running autoheader Running automake src/defs/Makefile.am:16: `%'-style pattern rules are a GNU make extension Running autoconf ....done Running './build.sh' *** *** Compiling c-client *** ~/whoisserver/third-party/imap-2004g ~/whoisserver make build EXTRACFLAGS='' EXTRALDFLAGS='' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='' PASSWDTYPE=std SSLTYPE=nopwd IP=4 EXTRASPECIALS='' BUILDTYPE=slx \ SPECIALS="GSSDIR=/usr SSLDIR=/usr SSLINCLUDE=/usr/include/openssl SSLCERTS=/etc/ssl/certs SSLKEYS=/etc/ssl/private" make[1]: Entering directory `/home/sysadmin/whoisserver/third-party/imap-2004g/imap-2004g' Building c-client for slx... echo `cat SPECIALS` > c-client/SPECIALS cd c-client;make slx EXTRACFLAGS=''\ EXTRALDFLAGS=''\ EXTRADRIVERS='mbox'\ EXTRAAUTHENTICATORS=''\ PASSWDTYPE=std SSLTYPE=nopwd IP=4\ GSSDIR=/usr SSLDIR=/usr SSLINCLUDE=/usr/include/openssl SSLCERTS=/etc/ssl/certs SSLKEYS=/etc/ssl/private make[2]: Entering directory `/home/sysadmin/whoisserver/third-party/imap-2004g/imap-2004g/c-client' You are building for libc6/glibc versions of Secure Linux If you want libc5 versions you must use sl5 instead! If you want libc4 versions you must use sl4 instead! make build EXTRACFLAGS='' EXTRALDFLAGS='' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='' PASSWDTYPE=std SSLTYPE=nopwd IP=4 `cat SPECIALS` OS=slx \ SIGTYPE=psx CHECKPW=psx CRXTYPE=nfs \ SPOOLDIR=/var/spool \ ACTIVEFILE=/var/lib/news/active \ RSHPATH=/usr/bin/rsh \ BASECFLAGS="-g -fno-omit-frame-pointer -O2" \ BASELDFLAGS="-lcrypt" make[3]: Entering directory `/home/sysadmin/whoisserver/third-party/imap-2004g/imap-2004g/c-client' sh -c 'rm -rf auths.c crexcl.c nfstest.c linkage.[ch] siglocal.c osdep*.[ch] *.o ARCHIVE *FLAGS *TYPE c-client.a || true' Once-only environment setup... echo cc > CCTYPE echo -g -fno-omit-frame-pointer -O2 '' > CFLAGS echo -DCREATEPROTO=unixproto -DEMPTYPROTO=unixproto \ -DMAILSPOOL=\"/var/spool/mail\" \ -DANONYMOUSHOME=\"/var/spool/mail/anonymous\" \ -DACTIVEFILE=\"/var/lib/news/active\" -DNEWSSPOOL=\"/var/spool/news\" \ -DRSHPATH=\"/usr/bin/rsh\" -DLOCKPGM=\"/etc/mlock\" > OSCFLAGS echo -lcrypt > LDFLAGS echo "ar rc c-client.a osdep.o mail.o misc.o newsrc.o smanager.o utf8.o siglocal.o dummy.o pseudo.o netmsg.o flstring.o fdstring.o rfc822.o nntp.o smtp.o imap4r1.o pop3.o unix.o mbx.o mmdf.o tenex.o mtx.o news.o phile.o mh.o mx.o;ranlib c-client.a" > ARCHIVE echo slx > OSTYPE ./drivers mbox imap nntp pop3 mh mx mbx tenex mtx mmdf unix news phile dummy ./mkauths md5 pla log make[4]: Entering directory `/home/sysadmin/whoisserver/third-party/imap-2004g/imap-2004g/c-client' echo -DMD5ENABLE=\"/etc/cram-md5.pwd\" >> OSCFLAGS make[4]: Leaving directory `/home/sysadmin/whoisserver/third-party/imap-2004g/imap-2004g/c-client' ln -s os_slx.h osdep.h ln -s os_slx.c osdepbas.c ln -s log_std.c osdeplog.c ln -s sig_psx.c siglocal.c ln -s crx_nfs.c crexcl.c ln -s ip4_unix.c ip_unix.c sh -c '(test -f /usr/include/sys/statvfs.h -a slx != sc5 -a slx != sco) && ln -s nfstnew.c nfstest.c || ln -s nfstold.c nfstest.c' Standard password authentication ln -s ckp_psx.c osdepckp.c Building with SSL ln -s ssl_unix.c osdepssl.c echo -I/usr/include/openssl -I/usr/include/openssl/openssl -DSSL_CERT_DIRECTORY=\"/etc/ssl/certs\" -DSSL_KEY_DIRECTORY=\"/etc/ssl/private\" >> OSCFLAGS echo " ssl_onceonlyinit ();" >> linkage.c echo -L/usr/lib -lssl -lcrypto >> LDFLAGS Building with SSL and plaintext passwords disabled unless SSL/TLS echo " mail_parameters (NIL,SET_DISABLEPLAINTEXT,(void *) 2);" >> linkage.c cat osdepbas.c osdepckp.c osdeplog.c osdepssl.c > osdep.c Building OS-dependent module If you get No such file error messages for files x509.h, ssl.h, pem.h, buffer.h, bio.h, and crypto.h, that means that OpenSSL is not installed on your system. Either install OpenSSL first or build with command: make slx SSLTYPE=none `cat CCTYPE` -c `cat CFLAGS` `cat OSCFLAGS` -c osdep.c In file included from auths.c:1, from env_unix.c:141, from osdep.c:42: auth_md5.c: In function âauth_md5_pwdâ: auth_md5.c:186: warning: ignoring return value of âreadâ, declared with attribute warn_unused_result In file included from osdep.c:42: env_unix.c: In function âpw_loginâ: env_unix.c:644: warning: ignoring return value of âchdirâ, declared with attribute warn_unused_result In file included from osdep.c:47: flocklnx.c: In function âsafe_flockâ: flocklnx.c:52: warning: format not a string literal and no format arguments osdep.c:198:18: error: x509.h: No such file or directory osdep.c:199:17: error: ssl.h: No such file or directory osdep.c:201:17: error: pem.h: No such file or directory osdep.c:202:20: error: buffer.h: No such file or directory osdep.c:203:17: error: bio.h: No such file or directory osdep.c:204:20: error: crypto.h: No such file or directory osdep.c:205:18: error: rand.h: No such file or directory osdep.c: At top level: osdep.c:216: error: expected specifier-qualifier-list before âSSL_CTXâ osdep.c:229: error: expected declaration specifiers or â...â before âX509_STORE_CTXâ osdep.c:233: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â*â token osdep.c: In function âssl_start_workâ: osdep.c:379: error: âBIOâ undeclared (first use in this function) osdep.c:379: error: (Each undeclared identifier is reported only once osdep.c:379: error: for each function it appears in.) osdep.c:379: error: âbioâ undeclared (first use in this function) osdep.c:380: error: âX509â undeclared (first use in this function) osdep.c:380: error: âcertâ undeclared (first use in this function) osdep.c:386: error: âSSLSTREAMâ has no member named âcontextâ osdep.c:390: error: âSSLSTREAMâ has no member named âcontextâ osdep.c:393: error: âSSLSTREAMâ has no member named âcontextâ osdep.c:393: error: âSSL_VERIFY_NONEâ undeclared (first use in this function) osdep.c:394: error: âSSLSTREAMâ has no member named âcontextâ osdep.c:394: error: âSSL_VERIFY_PEERâ undeclared (first use in this function) osdep.c:396: error: âSSLSTREAMâ has no member named âcontextâ osdep.c:398: error: âSSLSTREAMâ has no member named âconâ osdep.c:398: error: âSSLâ undeclared (first use in this function) osdep.c:398: error: expected expression before â)â token osdep.c:400: error: âBIO_NOCLOSEâ undeclared (first use in this function) osdep.c:401: error: âSSLSTREAMâ has no member named âconâ osdep.c:402: error: âSSLSTREAMâ has no member named âconâ osdep.c:403: error: âSSLSTREAMâ has no member named âconâ osdep.c:403: error: âSSLSTREAMâ has no member named âconâ osdep.c:405: error: âSSLSTREAMâ has no member named âconâ osdep.c:410: error: âSSLSTREAMâ has no member named âconâ osdep.c: At top level: osdep.c:435: error: expected declaration specifiers or â...â before âX509_STORE_CTXâ osdep.c: In function âssl_open_verifyâ: osdep.c:442: error: âctxâ undeclared (first use in this function) osdep.c: In function âssl_getlineâ: osdep.c:504: error: âSSLSTREAMâ has no member named âiptrâ osdep.c:506: error: âSSLSTREAMâ has no member named âictrâ osdep.c:507: error: âSSLSTREAMâ has no member named âiptrâ osdep.c:522: error: âSSLSTREAMâ has no member named âiptrâ osdep.c:523: error: âSSLSTREAMâ has no member named âiptrâ osdep.c:524: error: âSSLSTREAMâ has no member named âictrâ osdep.c: In function âssl_getbufferâ: osdep.c:551: error: âSSLSTREAMâ has no member named âictrâ osdep.c:553: error: âSSLSTREAMâ has no member named âiptrâ osdep.c:555: error: âSSLSTREAMâ has no member named âiptrâ osdep.c:557: error: âSSLSTREAMâ has no member named âictrâ osdep.c: In function âssl_getdataâ: osdep.c:577: error: âSSLSTREAMâ has no member named âconâ osdep.c:577: error: âSSLSTREAMâ has no member named âconâ osdep.c:579: error: âSSLSTREAMâ has no member named âictrâ osdep.c:580: error: âSSLSTREAMâ has no member named âconâ osdep.c:602: error: âSSLSTREAMâ has no member named âconâ osdep.c:602: error: âSSLSTREAMâ has no member named âibufâ osdep.c:604: error: âSSLSTREAMâ has no member named âconâ osdep.c:604: error: âSSL_ERROR_WANT_READâ undeclared (first use in this function) osdep.c:606: error: âSSLSTREAMâ has no member named âiptrâ osdep.c:606: error: âSSLSTREAMâ has no member named âibufâ osdep.c:607: error: âSSLSTREAMâ has no member named âictrâ osdep.c: In function âssl_soutâ: osdep.c:636: error: âSSLSTREAMâ has no member named âconâ osdep.c:641: error: âSSLSTREAMâ has no member named âconâ osdep.c: In function âssl_abortâ: osdep.c:666: error: âSSLSTREAMâ has no member named âconâ osdep.c:667: error: âSSLSTREAMâ has no member named âconâ osdep.c:668: error: âSSLSTREAMâ has no member named âconâ osdep.c:669: error: âSSLSTREAMâ has no member named âconâ osdep.c:671: error: âSSLSTREAMâ has no member named âcontextâ osdep.c:672: error: âSSLSTREAMâ has no member named âcontextâ osdep.c:673: error: âSSLSTREAMâ has no member named âcontextâ osdep.c: In function âssl_server_initâ: osdep.c:773: error: âSSLSTREAMâ has no member named âcontextâ osdep.c:779: error: âSSLSTREAMâ has no member named âcontextâ osdep.c:779: error: âSSL_OP_ALLâ undeclared (first use in this function) osdep.c:781: error: âSSLSTREAMâ has no member named âcontextâ osdep.c:785: error: âSSLSTREAMâ has no member named âcontextâ osdep.c:789: error: âSSLSTREAMâ has no member named âcontextâ osdep.c:790: error: âSSL_FILETYPE_PEMâ undeclared (first use in this function) osdep.c:795: error: âSSLSTREAMâ has no member named âcontextâ osdep.c:796: error: âSSLSTREAMâ has no member named âcontextâ osdep.c:796: error: âssl_genkeyâ undeclared (first use in this function) osdep.c:798: error: âSSLSTREAMâ has no member named âconâ osdep.c:798: error: âSSLSTREAMâ has no member named âcontextâ osdep.c:802: error: âSSLSTREAMâ has no member named âconâ osdep.c:804: error: âSSLSTREAMâ has no member named âconâ osdep.c:825: warning: format â%.80sâ expects type âchar *â, but argument 3 has type âintâ osdep.c: At top level: osdep.c:837: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â*â token osdep.c: In function âssl_server_input_waitâ: osdep.c:867: error: âSSLSTREAMâ has no member named âictrâ osdep.c:868: error: âSSLSTREAMâ has no member named âconâ osdep.c:868: error: âSSLSTREAMâ has no member named âconâ osdep.c:870: error: âSSLSTREAMâ has no member named âconâ osdep.c:871: error: âSSLSTREAMâ has no member named âconâ osdep.c:871: error: âSSLSTREAMâ has no member named âibufâ osdep.c:872: error: âSSLSTREAMâ has no member named âiptrâ osdep.c:872: error: âSSLSTREAMâ has no member named âibufâ osdep.c:873: error: âSSLSTREAMâ has no member named âictrâ In file included from osdep.c:885: sslstdio.c: In function âPBINâ: sslstdio.c:30: error: âSSLSTREAMâ has no member named âictrâ sslstdio.c:31: error: âSSLSTREAMâ has no member named âiptrâ sslstdio.c: In function âPSINâ: sslstdio.c:49: error: âSSLSTREAMâ has no member named âictrâ sslstdio.c:50: error: âSSLSTREAMâ has no member named âictrâ sslstdio.c:52: error: âSSLSTREAMâ has no member named âiptrâ make[3]: *** [osdep.o] Error 1 make[3]: Leaving directory `/home/sysadmin/whoisserver/third-party/imap-2004g/imap-2004g/c-client' make[2]: *** [slx] Error 2 make[2]: Leaving directory `/home/sysadmin/whoisserver/third-party/imap-2004g/imap-2004g/c-client' make[1]: *** [OSTYPE] Error 2 make[1]: Leaving directory `/home/sysadmin/whoisserver/third-party/imap-2004g/imap-2004g' make: *** [slx] Error 2 512 at Install.PL line 413 I have compiled and installed openssl-1.0.0c in /usr/local/ssl. Please help me. Thanks Christian
participants (1)
-
Christian Muhirwa