hey,

i'm trying to compile vpopmail-5.4.0 with mysql support,
though `(g)make` fails with the following error:

gcc  -g -O2 -Wall   -o vchkpw  vchkpw.o md5.o hmac_md5.o libvpopmail.a 
-L/usr/local/mysql/lib  -lmysqlclient -lz
/usr/local/mysql/lib/libmysqlclient.a(password.o): In function `scramble':
password.o(.text+0x1c8): undefined reference to `floor'
password.o(.text+0x25d): undefined reference to `floor'
/usr/local/mysql/lib/libmysqlclient.a(password.o): In function 
`check_scramble':
password.o(.text+0x3fa): undefined reference to `floor'
password.o(.text+0x488): undefined reference to `floor'
collect2: ld returned 1 exit status
gmake[2]: *** [vchkpw] Error 1

i ran the configure script with the following flags:
--prefix=/var/vpopmail
--enable-vpopuser=_vpopmail 
--enable-vpopgroup=_vpopmail 
--enable-domainquotas 
--enable-libdir=/usr/local/mysql/lib 
--enable-incdir=/usr/local/mysql/include 
--enable-valias 
--enable-mysql-logging 
--enable-auth-module=mysql

have anyone successfully built vpopmail with the binaries that
mysql provide?

greetings.
-- 
Mikael, [EMAIL PROTECTED]
http://www.gentoo.se/docs/

Reply via email to