Hello, Greetings all. I am new to the list & software and trying to setup IMAP in my CentOS-4.3 (RHEL-4) Server. I have downloaded imap-2004g from the ftp site. When I tried to compile the software using *make lrh* it failed giving some errors. The error says that OpebSSL needs to be installed first. But when I run rpm -qa|grep -i openssl it gives the following result: openssl-0.9.7a-43.8 openssl-devel-0.9.7a-43.8
What could be wrong? Somebody please guide. The complete error message is given below. Also I wish to compile and install imap in a separate folder /usr/local/imap. How this can be done? regards. Manilal [EMAIL PROTECTED] imap-2004g]# make lrh make sslnopwd make[1]: Entering directory `/usr/local/imap-2004g' +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Building in full compliance with RFC 3501 security + requirements: ++ TLS/SSL encryption is supported ++ Unencrypted plaintext passwords are prohibited +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ make[1]: Leaving directory `/usr/local/imap-2004g' Applying an process to sources... tools/an "ln -s" src/c-client c-client tools/an "ln -s" src/ansilib c-client tools/an "ln -s" src/charset c-client tools/an "ln -s" src/osdep/unix c-client tools/an "ln -s" src/mtest mtest tools/an "ln -s" src/ipopd ipopd tools/an "ln -s" src/imapd imapd tools/an "ln -s" src/mailutil mailutil tools/an "ln -s" src/mlock mlock tools/an "ln -s" src/dmail dmail tools/an "ln -s" src/tmail tmail ln -s tools/an . make build EXTRACFLAGS='' EXTRALDFLAGS='' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='' PASSWDTYPE=std SSLTYPE=nopwd IP=4 EXTRASPECIALS='' BUILDTYPE=lnp \ SPECIALS="GSSDIR=/usr/kerberos SSLDIR=/usr/share/ssl SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib LOCKPGM=/usr/sbin/mlock" \ EXTRACFLAGS=" -I/usr/kerberos/include" make[1]: Entering directory `/usr/local/imap-2004g' Building c-client for lnp... echo `cat SPECIALS` > c-client/SPECIALS cd c-client;make lnp EXTRACFLAGS='-I/usr/kerberos/include'\ EXTRALDFLAGS=''\ EXTRADRIVERS='mbox'\ EXTRAAUTHENTICATORS=''\ PASSWDTYPE=std SSLTYPE=nopwd IP=4\ GSSDIR=/usr/kerberos SSLDIR=/usr/share/ssl SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib LOCKPGM=/usr/sbin/mlock make[2]: Entering directory `/usr/local/imap-2004g/c-client' make build EXTRACFLAGS='-I/usr/kerberos/include' EXTRALDFLAGS='' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='' PASSWDTYPE=std SSLTYPE=nopwd IP=4 `cat SPECIALS` OS=lnx \ SIGTYPE=psx CHECKPW=pam CRXTYPE=nfs \ SPOOLDIR=/var/spool \ ACTIVEFILE=/var/lib/news/active \ RSHPATH=/usr/bin/rsh \ BASECFLAGS="-g -fno-omit-frame-pointer -O2" \ BASELDFLAGS="-lpam -ldl" make[3]: Entering directory `/usr/local/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 '-I/usr/kerberos/include' > 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=\"/usr/sbin/mlock\" > OSCFLAGS echo -lpam -ldl > 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 lnx > OSTYPE ./drivers mbox imap nntp pop3 mh mx mbx tenex mtx mmdf unix news phile dummy ./mkauths md5 pla log make[4]: Entering directory `/usr/local/imap-2004g/c-client' echo -DMD5ENABLE=\"/etc/cram-md5.pwd\" >> OSCFLAGS make[4]: Leaving directory `/usr/local/imap-2004g/c-client' ln -s os_lnx.h osdep.h ln -s os_lnx.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 lnx != sc5 -a lnx != sco) && ln -s nfstnew.c nfstest.c || ln -s nfstold.c nfstest.c' Standard password authentication ln -s ckp_pam.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=\"/usr/share/ssl/certs\" -DSSL_KEY_DIRECTORY=\"/usr/share/ssl/certs\" >> 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 lnx SSLTYPE=none `cat CCTYPE` -c `cat CFLAGS` `cat OSCFLAGS` -c osdep.c osdep.c:71:31: security/pam_appl.h: No such file or directory osdep.c:88: warning: "struct pam_response" declared inside parameter list osdep.c:88: warning: its scope is only this definition or declaration, which is probably not what you want osdep.c:88: warning: "struct pam_message" declared inside parameter list osdep.c: In function `checkpw_conv': osdep.c:92: error: invalid application of `sizeof' to incomplete type `pam_response' osdep.c:93: error: dereferencing pointer to incomplete type osdep.c:94: error: `PAM_PROMPT_ECHO_ON' undeclared (first use in this function) osdep.c:94: error: (Each undeclared identifier is reported only once osdep.c:94: error: for each function it appears in.) osdep.c:95: error: invalid use of undefined type `struct pam_response' osdep.c:95: error: dereferencing pointer to incomplete type osdep.c:95: error: `PAM_SUCCESS' undeclared (first use in this function) osdep.c:96: error: invalid use of undefined type `struct pam_response' osdep.c:96: error: dereferencing pointer to incomplete type osdep.c:98: error: `PAM_PROMPT_ECHO_OFF' undeclared (first use in this function) osdep.c:99: error: invalid use of undefined type `struct pam_response' osdep.c:99: error: dereferencing pointer to incomplete type osdep.c:100: error: invalid use of undefined type `struct pam_response' osdep.c:100: error: dereferencing pointer to incomplete type osdep.c:102: error: `PAM_TEXT_INFO' undeclared (first use in this function) osdep.c:103: error: `PAM_ERROR_MSG' undeclared (first use in this function) osdep.c:104: error: invalid use of undefined type `struct pam_response' osdep.c:104: error: dereferencing pointer to incomplete type osdep.c:105: error: invalid use of undefined type `struct pam_response' osdep.c:105: error: dereferencing pointer to incomplete type osdep.c:109: error: `PAM_CONV_ERR' undeclared (first use in this function) osdep.c: At top level: osdep.c:120: error: syntax error before '*' token osdep.c: In function `checkpw_cleanup': osdep.c:125: error: `hdl' undeclared (first use in this function) osdep.c:125: error: `PAM_DELETE_CRED' undeclared (first use in this function) osdep.c:126: error: `PAM_SUCCESS' undeclared (first use in this function) osdep.c: In function `checkpw': osdep.c:137: error: `pam_handle_t' undeclared (first use in this function) osdep.c:137: error: `hdl' undeclared (first use in this function) osdep.c:138: error: storage size of 'conv' isn't known osdep.c:145: error: `PAM_SUCCESS' undeclared (first use in this function) osdep.c:146: error: `PAM_RHOST' undeclared (first use in this function) osdep.c:149: error: `PAM_ESTABLISH_CRED' undeclared (first use in this function) osdep.c:151: error: `PAM_DELETE_CRED' undeclared (first use in this function) osdep.c:152: error: `PAM_AUTH_ERR' undeclared (first use in this function) make[3]: *** [osdep.o] Error 1 make[3]: Leaving directory `/usr/local/imap-2004g/c-client' make[2]: *** [lnp] Error 2 make[2]: Leaving directory `/usr/local/imap-2004g/c-client' make[1]: *** [OSTYPE] Error 2 make[1]: Leaving directory `/usr/local/imap-2004g' make: *** [lrh] Error 2 _______________________________________________ Imap-uw mailing list [email protected] https://mailman1.u.washington.edu/mailman/listinfo/imap-uw
