Hi,

I'm traying to build vpopmail-4.9.4 
my config like this 

./configure --enable-vpopuser=vpopmail --enable-vpopgroup=vchkpw \
--enable-default-domain=dns1.intranet.xxx --enable-roaming-users=y \
--enable-sqlincdir=/usr/include/mysql --enable-sqllibdir=/usr/lib/mysql \
--enable-sqllibs=mysqlclient --enable-mysql=y \
--enable-apop=n --enable-passwd=n --enable-tcpserver-file=/etc/tcp.smtp

at this point all ok

when I run make

it show me the next error:


gcc -I. -I/usr/include/mysql      -g -O2 -Wall -c vauth.c
rm -f libvpopmail.a
ar cru libvpopmail.a safestring.o vpopmail.o md5.o bigdir.o vauth.o cdb/*.o
ranlib libvpopmail.a
gcc -I. -I/usr/include/mysql      -g -O2 -Wall -c vchkpw.c
gcc -I. -I/usr/include/mysql      -g -O2 -Wall -c opensmtp.c
gcc  -g -O2 -Wall  -o vchkpw  vchkpw.o opensmtp.o libvpopmail.a -L/usr/lib/mysql 
-lmysqlclient -lnsl -lcrypt -lm
/usr/lib/mysql/libmysqlclient.a(my_compress.o): In function `my_uncompress':
my_compress.o(.text+0x96): undefined reference to `uncompress'
/usr/lib/mysql/libmysqlclient.a(my_compress.o): In function `my_compress_alloc':
my_compress.o(.text+0x129): undefined reference to `compress'
collect2: ld returned 1 exit status
make[2]: *** [vchkpw] Error 1
make[2]: Leaving directory `/sources/vpopmail-4.9'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/sources/vpopmail-4.9'
make: *** [all-recursive-am] Error 2



I'm using Red Hat 7.0
MySQL 3.23.27
qmail 1.03
ucspi-tcp-0.88

I've tested with vpopmail-4.9 , vpopmail-4.9.4 and vpopmail-4.9.5 with the same error.
If I configure without mysql its compile ok

Can anybody help me

Thanks in advance.




-- 


Reply via email to