[Dovecot] 0.99.10-rc1

Warren Togami warren at togami.com
Mon Jun 23 06:39:35 EEST 2003


On Sun, 2003-06-22 at 13:40, Timo Sirainen wrote:
> Home again.
> 
> Fixed SSL checking for Redhat 9, I hope. Could someone test if it
> actually works now? Also fixed a few compiler warnings. If this thing
> works, I'll just update the NEWS file and call it 0.99.10.
> 
> http://dovecot.procontrol.fi/rc/

http://videl.ics.hawaii.edu/~warren/fedora/dovecot-0.99.10-0.fdr.0.6.test13.src.rpm
Builds fine on RH9, using IMAPS on RH9 serverside for a while now

http://videl.ics.hawaii.edu/~warren/fedora/dovecot-0.99.10-0.fdr.0.7.rc1.src.rpm
Build fails on RH9

gcc -I/usr/kerberos/include -Wall -W -Wmissing-prototypes
-Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2
-Wbad-function-cast -I/usr/kerberos/include -o dovecot auth-process.o
login-process.o mail-process.o main.o master-settings.o ssl-init.o
ssl-init-gnutls.o ssl-init-openssl.o  ../lib/liblib.a
../lib-settings/libsettings.a -L/usr/kerberos/lib -lssl -lcrypto
-lresolv -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -ldl -lz
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
make[3]: *** [dovecot] Error 1

Compile failed here, nothing changed since my test13 SRPM other than
replacing the rc1 tarball.  Any idea why it wants zlib-devel now?

Previously I had these as build requirements:
openssl-devel openldap-devel pam-devel

Added zlib-devel... okay rebuild...

gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/lib    
-I../../src/lib-settings        -DSYSCONFDIR=\""/etc"\"        
-DPKG_RUNDIR=\""/var/run/dovecot"\"
-DPKG_LIBEXECDIR=\""/usr/libexec/dovecot"\"     
-DPKG_LIBDIR=\""/usr/lib/dovecot"\"     -DSSLDIR=\""/usr/share/ssl\""   
-I/usr/kerberos/include   -Wall -W -Wmissing-prototypes
-Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2
-Wbad-function-cast -I/usr/kerberos/include    -c ssl-init-openssl.c
/bin/sh ../../libtool --mode=link gcc  -I/usr/kerberos/include   -Wall
-W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith
-Wchar-subscripts -Wformat=2 -Wbad-function-cast
-I/usr/kerberos/include     -o dovecot  auth-process.o login-process.o
mail-process.o main.o master-settings.o ssl-init.o ssl-init-gnutls.o
ssl-init-openssl.o ../lib/liblib.a     ../lib-settings/libsettings.a  
-L/usr/kerberos/lib -lssl -lcrypto -lresolv -lgssapi_krb5 -lkrb5
-lk5crypto -lcom_err -ldl -lz
mkdir .libs
gcc -I/usr/kerberos/include -Wall -W -Wmissing-prototypes
-Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2
-Wbad-function-cast -I/usr/kerberos/include -o dovecot auth-process.o
login-process.o mail-process.o main.o master-settings.o ssl-init.o
ssl-init-gnutls.o ssl-init-openssl.o  ../lib/liblib.a
../lib-settings/libsettings.a -L/usr/kerberos/lib -lssl -lcrypto
-lresolv -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -ldl -lz
ssl-init.o(.text+0x67): In function `generate_parameters_file':
: undefined reference to `_ssl_generate_parameters'
collect2: ld returned 1 exit status
make[3]: *** [dovecot] Error 1

Out of curiosity I compiled this rc1 tarball on RH8, and it compiled
successfully without zlib-devel.  No RH8 server to test functionality
though.

Warren Togami
warren at togami.com



More information about the dovecot mailing list