[tpop3d-discuss] mysql4 compile problem

Donovan Craig donovan at snapfrozen.com
Wed, 27 Aug 2003 22:08:14 +1000


Hi,

I went to upgrade from version 1.4.2 to 1.5.1 and experienced a problem with compiling along with mysql 4.0.14. I'm running it on redhat 7.2.

./configure  --prefix=/usr/local --enable-auth-mysql --enable-mbox-maildir

On configure I get:

checking for mysql_init... no
configure: error: vmail-sql authentication enabled, but mysql_init doesn't seem to be available.

The libs and includes are in the standard directories. In the configure file I edited line 7096 to make ac_cv_func_mysql_init=yes , everything configures ok, but then on runtime I get:

Starting tpop3d: /etc/tpop3d.conf:240: warning: unknown directive `auth-mysql-enable'
/etc/tpop3d.conf:249: warning: unknown directive `auth-mysql-hostname'
/etc/tpop3d.conf:253: warning: unknown directive `auth-mysql-database'
/etc/tpop3d.conf:256: warning: unknown directive `auth-mysql-username'
/etc/tpop3d.conf:259: warning: unknown directive `auth-mysql-password'
/etc/tpop3d.conf:301: warning: unknown directive `auth-mysql-pass-query'

So I assume that the mysql support hasn't been compiled in.

Everything still works fine with 1.4.2 even after re-compile.. Any ideas..

Regards,

Donovan







I read an earlier post from a guy who had the same problem back in 2001 and followed the suggestion of adding -lz to the libmysqlclient include but noticed that -lz was already there.


-----------------------------------------
Snapfrozen Solutions                      
http://www.snapfrozen.com                 
-----------------------------------------