sasl compile-error mysql.h not found

Achim Altmann achim at altmann.li
Sun Nov 24 07:51:32 EST 2002


Hello,

i have installed a new redhat 8.0 system and would like compile
cyrus-sasl-2.1.9 with mysql-support.

mysql-devel and mysql are installed from rpm and mysql.h are in
/usr/include/mysql/mysql.h

the make bring  the following error
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..
-I../include -I../lib -I../sasldb  -I/usr/lib/mysql  -Wall -W -Wall -g
-O2 -c mysql.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../lib -I../sasldb
-I/usr/lib/mysql -Wall -W -Wall -g -O2 -c mysql.c  -fPIC -DPIC -o
mysql.lo
mysql.c:60:19: mysql.h: No such file or directory
mysql.c: In function `mysql_auxprop_lookup':
mysql.c:254: `MYSQL' undeclared (first use in this function)

my configure like this
./configure \
--with-plugindir=/usr/lib/sasl2 \
--prefix=/usr \
--sysconfdir=/etc \
--with-saslauthd=/usr/sbin \
--enable-cram \
--enable-digest \
--enable-plain \
--disable-anon \
--disable-gssapi \
--disable-krb4 \
--disable-otp \
--with-openssl \
--with-mysql=/usr/lib/mysql

please, could any say what is wrong?

Thank's a lot fro any help

Best reagards

Achim







More information about the Info-cyrus mailing list