hi everyone!

this is my first post in this list. sorry for any inconvenience.

i am currently using FreeBSD and am trying to install postfix+courier-imap
backed by mysql databases for transport map, virtual map, courier
authentication... etc.

the problem is that i cannot compile courier-imap. It fails in the
configure script.

i have mysql installed at /usr/local/services/mysql, the corresponding
libs are in /usr/local/services/mysql/lib/mysql and the includes are in
/usr/local/services/mysql/include/mysql.

configure fails (in authlib directory) when searching for mysql. i tried
the CPPFLAGS and LDFLAGS method and it doesn't work. i tried configuring
the code in the authlib directly (i found out that the configure script in
authlib directory takes --with-mysql-libs and --with-mysql-includes as
parameters) and it still doesn't work.

i am using mysql 4.0.8-gamma which is said to be almost production stable,
so i figure the problem does not lie there.

the error i get is: (as you can see, the cppflags and ldflags variables
method does not work...yet i use both, just to show. also i try the
configure script in authlib because i know the problem is with auth-mysql
(it compiles fine without --with-authmysql) and the whole configure takes
too long to test again and again)

klansman@arrakis:/usr/src/courier-imap-1.6.2/authlib$ export CPPFLAGS
="-I/usr/local/services/mysql/include/mysql" 
klansman@arrakis:/usr/src/courier-imap-1.6.2/authlib$ export LDFLAGS=
"-L/usr/local/services/mysql/lib/mysql"
klansman@arrakis:/usr/src/courier-imap-1.6.2/authlib$ ./configure --w
ith-authchangepwdir=/var/tmp/dev/null --with-authmysql --with-mysql-l                  
                                     
ibs=/usr/local/lib/mysql/ --with-mysql-includes=/usr/local/include/my
sql/
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
...
...
...
checking for mysql_config... /usr/local/bin/mysql_config
checking for mysql_connect... no
configure: error: --with-authmysql specified but no mysqlclient.so
klansman@arrakis:/usr/src/courier-imap-1.6.2/authlib$

that's my problem.

help?

thank you very much!



-------------------------------------------------------
This SF.NET email is sponsored by: Take your first step towards giving 
your online business a competitive advantage. Test-drive a Thawte SSL 
certificate - our easy online guide will show you how. Click here to get 
started: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0027en
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to