Hello,

Both with the stable and development version of vpopmail, I have the
following problem :

- First Makefile generated doesn't reflect the configure options :

VERSION = 4.10.6
auth_inc = -I/usr/local/include/mysql
auth_libs = -L/usr/lib/mysql -lmysqlclient -lz
vuserinfo_SOURCES = vuserinfo.c

vuserinfo_LDADD = libvpopmail.a -L/usr/lib/mysql -lmysqlclient -lz

- Second, compilation error :

./configure --enable-auth-logging=y --enable-clear-passwd=y --enable-logging
=y --enable-default-domain=citeglobe.com --enable-sqlincdir=/usr/local/mysql
-mail/include --enable-sqllibdir=/usr/local/mysql-mail/lib --enable-mysql=y 
--enable-large-site=y --enable-valias=y --enable-deliver-filter=y --enable-i
p-alias-domains=n --enable-apop=n --enable-passwd
=n --enable-hardquota=15000000

make  all-recursive
Making all in cdb
gcc  -g -O2 -Wall  -o vchkpw  vchkpw.o
libvpopmail.a -L/usr/local/lib/mysql -lmysqlclient -lz -lcrypt -lz -lm -L/us
r/local/lib/mysql -lmysqlclient
/usr/local/lib/mysql/libmysqlclient.so: warning: tempnam() possibly used
unsafely; consider using mkstemp()
libvpopmail.a(vauth.o): In function `vauth_adduser_size':
/home/benoit/src/vpopmail-4.10.6/vauth.c(.text+0x4b0): undefined reference
to `mysql_error'
libvpopmail.a(vauth.o): In function `vauth_getpw_size':
/home/benoit/src/vpopmail-4.10.6/vauth.c(.text+0x681): undefined reference
to `mysql_num_rows'
*** Error code 1

Stop in /usr/home/benoit/src/vpopmail-4.10.6.
*** Error code 1

Stop in /usr/home/benoit/src/vpopmail-4.10.6.
*** Error code 1

Stop in /usr/home/benoit/src/vpopmail-4.10.6.

Reply via email to