E. Versaevel writes:

> erikje@monique:~/courier-imap-1.5.3$ export
> LDFLAGS="-L/usr/local/mysql/lib/mysql -lmysqlclient"
> erikje@monique:~/courier-imap-1.5.3$
> ./configure --with-mysql-libs=/usr/local/mysql/lib/mysql \
>                                                             --with-mysql-inc
> ludes=/usr/local/mysql/include/mysql
>                                                             --with-authmysql
> 
> Then the configure fails with:
> 
> checking return type of signal handlers... void
> checking for off64_t... no
> checking for flock_t... no
> checking for setpgrp... yes
> checking for setpgrp... (cached) yes
> checking whether setpgrp takes no argument... configure: error: cannot check
> setpgrp if cross compiling
> configure: error: ./configure failed for liblock

Look in your liblock/config.log

The most likely answer is that on Solaris you'll also need to add 
-R/lib:/usr/lib:/usr/local/mysql/lib/mysql to LDFLAGS.

Go file a mysql bug.  They need to fix mysql_config to return working link 
flags for Solaris.



-------------------------------------------------------
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