I have been trying to compile qpopper with tls support on Fedora Core 2
using openssl.  For what ever reason it does not seem to work.  I have tried
multiple combinations not knowing if I needed to throw some switch based the
FAQ and other posting but nothing seems to work.  I can get it to compile
fine on Fedora Core 1 using --with-openssl.

These do not work on FC2:

./configure --with-openssl
./configure --with-openssl=/usr/share/ssl/
./configure --with-openssl=/usr/share/ssl/ --with-kerberos5=/usr/kerberos

Any suggestions?

[EMAIL PROTECTED] qpopper4.0.5]# rpm -qa |grep ssl
openssl-0.9.7a-35
[EMAIL PROTECTED] qpopper4.0.5]# rpm -qa |grep krb
krb5-libs-1.3.3-7
krbafs-1.2.2-2.1
pam_krb5-2.0.10-1
[EMAIL PROTECTED] qpopper4.0.5]#


./configure --with-openssl
checking whether make sets ${MAKE}... yes
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for POSIXized ISC... no
checking for bison... bison -y
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for ar... ar
checking for ranlib... ranlib
checking for a BSD compatible install... /usr/bin/install -c
checking for gperf... no
checking for cperf... no
./configure: line 2288: WARNING:: command not found
checking for gcc version 2.7.2.3... no
checking if gcc supports __attribute__ (format) ... yes
checking if ar chokes on -r... no
checking for getspnam... yes
Found getspnam(); using shadow passwords by default
Will NOT compile in debugging code
Defining SPEC_POP_AUTH
Attempting to use OpenSSL in "/usr/local/ssl"
System name: Linux; System version: 2.6.6-1.435
Set OS_DEFS = " -DLINUX -DUNIX"
Logging to facility: LOG_MAIL
Set AR_FLAG = " -r "; RANLIB_CMD = ""
checking for sendmail program... found at /usr/sbin/sendmail
checking for mail spool directory... "found at /var/mail"
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for sys_siglist declaration in signal.h or unistd.h... yes
checking for prot.h... no
checking for fcntl.h... yes
checking for limits.h... yes
checking for strings.h... yes
checking for sys/param.h... yes
checking for sys/file.h... yes
checking for sys/security.h... no
checking for sys/syslog.h... yes
checking for sys/types.h... yes
checking for sys/fcntl.h... yes
checking for sys/select.h... yes
checking for sys/stat.h... yes
checking for sys/unistd.h... yes
checking for sys/netinet/in.h... no
checking for sys/time.h... yes
checking for syslog.h... yes
checking for net/errno.h... no
checking for unistd.h... yes
checking for netinet/in.h... yes
checking for maillock.h... no
checking for select.h... no
checking for shadow.h... yes
checking for security/pam_appl.h... no
checking for ndbm.h... no
checking for gdbm.h... no
checking for dbm.h... no
checking for t_accept in -lnsl... no
checking for socket in -lsocket... no
checking for res_init in -lresolv... no
checking for maillock in -lmail... no
checking for krb_recvauth in -lkrb... no
checking for clock_gettime in -lposix4... no
checking for set_auth_parameters in -lsecurity... no
checking for crypt in -lcrypt... yes
checking for gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for uid_t in sys/types.h... yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... (cached) yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... (cached) yes
checking for mode_t... yes
checking for off_t... yes
checking for size_t... yes
checking for sys_siglist declaration in signal.h or unistd.h... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for working memcmp... yes
checking return type of signal handlers... void
checking whether utime accepts a null argument... yes
checking for vprintf... yes
checking for _doprnt... no
checking for wait3 that fills in rusage... yes
checking for gethostname... yes
checking for gethostbyname... yes
checking for gettimeofday... yes
checking for getusershell... yes
checking for mkdir... yes
checking for socket... yes
checking for strdup... yes
checking for strerror... yes
checking for strstr... yes
checking for bcopy... yes
checking for index... yes
checking for flock... yes
checking for set_auth_parameters... no
checking for pw_encrypt... no
checking for hstrerror... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for srandom... yes
checking for srand... yes
checking for usleep... yes
checking for setproctitle... no
checking for library containing gethostbyname... none required
checking for unsigned long int... yes
checking size of unsigned long int... 4
checking for /dev/urandom ... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating common/Makefile
config.status: creating popper/Makefile
config.status: creating mmangle/Makefile
config.status: creating password/Makefile
config.status: creating config.h
[EMAIL PROTECTED] qpopper4.0.5]# make
cd ./popper  && make all
make[1]: Entering directory `/home/kanvick/Mail/qpopper4.0.5/popper'
gcc -c -I.. -I.. -I. \
        -I../mmangle -I../common -I/usr/local/ssl/include \
        -g -O2 -DHAVE_CONFIG_H  -DLINUX -DUNIX pop_dele.c -o pop_dele.o
gcc -c -I.. -I.. -I. \
        -I../mmangle -I../common -I/usr/local/ssl/include \
        -g -O2 -DHAVE_CONFIG_H  -DLINUX -DUNIX pop_dropcopy.c -o
pop_dropcopy.o
gcc -c -I.. -I.. -I. \
        -I../mmangle -I../common -I/usr/local/ssl/include \
        -g -O2 -DHAVE_CONFIG_H  -DLINUX -DUNIX pop_get_command.c -o
pop_get_command.o
In file included from pop_get_command.c:25:
pop_tls.h:41:29: openssl/ssl.h: No such file or directory
In file included from pop_get_command.c:25:
pop_tls.h:68: error: syntax error before "SSL_CTX"
pop_tls.h:68: warning: no semicolon at end of struct or union
pop_tls.h:69: warning: data definition has no type or storage class
pop_tls.h:70: error: syntax error before '*' token
pop_tls.h:70: warning: data definition has no type or storage class
pop_tls.h:72: error: syntax error before '}' token
make[1]: *** [pop_get_command.o] Error 1
make[1]: Leaving directory `/home/kanvick/Mail/qpopper4.0.5/popper'
make: *** [popper_server] Error 2



[EMAIL PROTECTED] qpopper4.0.5]# locate ssl
/lib/libssl.so.0.9.7a
/lib/libssl.so.4
/etc/gnome-vfs-2.0/modules/ssl-modules.conf
/usr/lib/kde3/kded_kssld.la
/usr/lib/kde3/kded_kssld.so
/usr/lib/python2.3/site-packages/rhpl/guesslcd.py
/usr/lib/python2.3/site-packages/rhpl/guesslcd.pyc
/usr/lib/python2.3/lib-dynload/_ssl.so
/usr/lib/libssl3.so
/usr/bin/csslint
/usr/bin/openssl
/usr/share/ssl
/usr/share/ssl/certs
/usr/share/ssl/certs/Makefile
/usr/share/ssl/certs/ca-bundle.crt
/usr/share/ssl/certs/make-dummy-cert
/usr/share/ssl/certs
/usr/share/ssl/openssl.cnf
/usr/share/ssl/lib
/usr/share/ssl/lib
/usr/share/ssl/private
/usr/share/ssl/private
/usr/share/ssl/cert.pem
/usr/share/ssl/misc
/usr/share/ssl/misc/c_hash
/usr/share/ssl/misc/c_issuer
/usr/share/ssl/misc/c_name
/usr/share/ssl/misc/c_info
/usr/share/ssl/misc/CA
/usr/share/ssl/misc
/usr/share/ssl/CA
/usr/share/ssl/CA/private
/usr/share/ssl/CA/private
/usr/share/ssl/CA
/usr/share/ssl
/home/Mail/qpopper4.0.5/popper/pop_tls_openssl.c
/home/Mail/qpopper4.0.5/popper/pop_tls_sslplus.c
/home/Mail/qpopper4.0.5/popper/sslplus_utils.h
/home/Mail/qpopper4.0.5/popper/sslplus_utils.c
[EMAIL PROTECTED] qpopper4.0.5]#


Reply via email to