[tpop3d-discuss] compilation of tpop3d and MySQL-4.1.0-alpha fails
Chris Elsworth
chris at shagged.org
Mon, 8 Sep 2003 13:13:49 +0100
On Mon, Sep 08, 2003 at 02:58:57PM +0300, ODHIAMBO Washington wrote:
>
> Hi all,
>
> It seems not possible to compile tpop3d-1.5.{1|2} or CVS when you are
> running MySQL-4.1.0-alpha.
> I am running that on FreeBSD 5.1-RELEASE.
>
> configure fails with....
>
> checking for main in -lmysqlclient... no
> configure: error: vmail-sql authentication enabled, but can't find libmysqlclient
>
> I have passed --with-mysql-include-dir=/usr/local/lib to configure
Use the port? :)
It will work, but you need to use these:
--with-mysql-lib-dir=/usr/local/lib/mysql
--with-mysql-include-dir=/usr/local/include/mysql
But as I say, the port does this for you. mail/tpop3d.
--
Chris