Help! I'm stuck! I'm trying to compile courier-imap with mysql and pgsql
support.
My attempts at configuring and compiling with mysql and pgsql support went
as follows:
1. I untarred the courier-imap 1.4.2 tarball in my home directory and ran
./configure. configure completed I was able to make and install, but there
was no authdaemond.mysql or authdaemond.pgsql in the authlib
2. I tried declaring CFLAGS, CPPFLAGS and LDFLAGS (as per the Courier-IMAP
FAQ) as follows:
CFLAGS=-I/usr/include/mysql
CPPFLAGS=-I/usr/include/mysql
LDFLAGS=-L/usr/lib/mysql
export CFLAGS CPPFLAGS LDFLAGS
but configure aborts with the last 4 lines:
checking for mysql_config... (cached) /usr/bin/mysql_config
checking for mysql_connect... (cached) no
configure: error: --with-authmysql specified but no mysqlclient.so
configure: error: ./configure failed for authlib
I also noticed that I get the same error if I don't declare CFLAGS etc. and
do "configure --with-authmysql". If I do a "configure --with-authpgsql", the
error is "--with-authpgsql specified but no libpq.so".
a. I compiled and installed Postgres 7.2 successfully from the tarball in
/usr/local/pgsql-7.2/
b. I installed MySQL-3.23.48 from the RPMs on the mysql.com site:
e.g. rpm -qa|grep MySQL shows
MySQL-client-3.23.48-1
MySQL-shared-3.23.48-1
MySQL-3.23.48-1
MySQL-devel-3.23.48-1
libpq.so is in /usr/local/pgsql-7.2/lib
libmysqlclient.so is in /usr/lib
TIA,
Brian Baquiran
--
Everybody should believe in something: I believe I'll have another drink.
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users