This is my configure for OSXS 10.2 (Jaguar).

RANLIB="ranlib -c"
CFLAGS="-traditional-cpp"
CXXFLAGS="-traditional-cpp"
export RANLIB
export CFLAGS
export CXXFLAGS
CC=gcc2 ./configure \
--with-mysql-libs=/usr/local/mysql/lib \
--with-mysql-include=/usr/local/mysql/include \
--prefix=/usr/local/lib/courier-imap \
--with-waitfunc=wait3 \
--enable-mimetypes \
--with-authmysql \
--without-ipv6


As you can see my mysql includes are not located in the "usual" place,
and this is where my configuration problem begins:

All the includes that are required by top level files are found and
processed, but when authmysql.c references (on line 19) the file "authmysql.h"
which in turn is looking for mysql.h and errmsg.h from the mysql/inlcudes -
it looses track of where the includes are and looks for them in a 
default unix location. It happens in three different files.

authmysql.h     line 8  =   #include    <mysql.h>
authmysql.h     line 9  =   #include    <errmsg.h>
authmysqllib.c  line 13  =  #include    <mysql.h>

I ended up spelling out "</usr/local/mysql/include/mysql.h>" their path
and now it is finishing the "make - make check" process without any
error message. My question is if that is acceptable. I don't want to 
discover some problems down the road. It ended up compiling without 
error messages,
and it now runs with exim and authenticates from mysql tables. Very 
lovely setup.


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to