I am having trouble getting the latest CVS to compile. I am using the new configure script, but without documentation, I am not sure which arguments I need to use. Is there documentation somewhere, or is the CVS version now currently working. I am using FreeBSD4.5-STABLE and mysql (with mysql.h located in /usr/local/datadisk/mysql/includes/mysql/ and libmysqlclient located in /usr/local/datadisk/mysql/lib/mysql/).
The configure script runs fine if I run it without arguments, but compile fails with: /var/software/servers/dbmail/dbmail/forward.c(.text+0x436): undefined reference to `db_send_message_lines' gmake[1]: *** [dbmail-smtp] Error 1 gmake[1]: Leaving directory `/var/software/servers/dbmail/dbmail' gmake: *** [all-recursive] Error 1 There are several "undefined reference" lines in the output of gmake. I run "configure --with-mysql" and get the following: checking for mysql.h... /usr/local/include/mysql/mysql.h -- SEVERAL LINES OF STUFF DELETED-- checking for mysql_real_connect in -lmysqlclient... no configure: error: Unable to link against mysqlclient. It appears you are missing the development libraries or they aren't in your linker's path Ok, so it looked in the wrong place for mysql libs/headers. So I try ./configure --with-mysql=/usr/local/datadisk/mysql/include/mysql/ And result is: checking for mysql.h (user supplied)... /usr/local/datadisk/mysql/include/mysql/ /mysql.h -- SEVERAL LINES OF STUFF DELETED -- checking for mysql_real_connect in -lmysqlclient... no configure: error: Unable to link against mysqlclient. It appears you are missing the development libraries or they aren't in your linker's path Still no help. [EMAIL PROTECTED]:dbmail# ldconfig -r | grep mysqlclient 171:-lmysqlclient.10 => /usr/local/datadisk/mysql/lib/mysql/libmysqlclient.so.10 Any ideas? -- Butch Evans 573-293-2638 BPS Networks PO BOX 550 114 W Main Bernie, MO 63822