[Dovecot] configure problem with MySQL 4

Laurent Papier papier at sdv.fr
Wed Jan 19 13:04:31 EET 2005


Hi,
the configure mysql detection doesn't work with MySQL 4.0.x from MySQL AB.

Detail information:
dovecot 0.99.13, MySQL-devel-4.0.21-0 from MySQL AB.
./configure --with-mysql
...
checking for mysql_init in -lmysqlclient... no
checking for mysql_init in -lmysqlclient... (cached) no

This version of MySQL need to be linked with '-lz'. The configure script check
for mysql both with and without '-lz' but the test result is cached ... so the
test with -lz failed.

The included patch helps me compiling dovecot (only check mysql with -lz). I
know that this workaround is not a general solution.

Full configure output and config.log available on demand.

Execpting this problem, dovecot works fine for us (RedHat, MySQL auth, maildir).

-- 
Laurent Papier - 03 88 75 80 50
Admin. systeme - Sdv Plurimedia - <http://www.sdv.fr/>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dovecot.patch
Type: application/octet-stream
Size: 531 bytes
Desc: not available
URL: <http://dovecot.org/pipermail/dovecot/attachments/20050119/d56741e9/attachment-0001.obj>


More information about the dovecot mailing list