DragonFly BSD
DragonFly users List (threaded) for 2006-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: pkgsrc pure-ftpd mysql option


To: joerg@xxxxxxxxxxxxxxxxx
From: Mark Cullen <mark.r.cullen@xxxxxxxxx>
Date: Thu, 08 Jun 2006 00:15:01 +0100

Mark Cullen wrote:
joerg@xxxxxxxxxxxxxxxxx wrote:

On Wed, Jun 07, 2006 at 11:18:33PM +0100, Mark Cullen wrote:

(cmd-sink) pop: conftest.c
(cmd-sink) pop: -lmysqlclient
(cmd-sink) pop: -lz
(cmd-sink) pop: -lm
(cmd-sink) pop: -lcrypt
(cmd-sink) pop: -I/usr/obj/pkgsrc/net/pure-ftpd/work/.buildlink/include
(cmd-sink) pop: -L/usr/obj/pkgsrc/net/pure-ftpd/work/.buildlink/lib
<.> /usr/obj/pkgsrc/net/pure-ftpd/work/.gcc/bin/gcc -o conftest -O2 -I/usr/obj/pkgsrc/net/pure-ftpd/work/.buildlink/include/mysql -D_GNU_SOURCE=1 -I/usr/include/mysql -L/usr/obj/pkgsrc/net/pure-ftpd/work/.buildlink/lib/mysql -Wl,-R/usr/pkg/lib/mysql -Wl,-R/usr/pkg/lib -L/usr/lib/mysql conftest.c -I/usr/obj/pkgsrc/net/pure-ftpd/work/.buildlink/include -L/usr/obj/pkgsrc/net/pure-ftpd/work/.buildlink/lib -lmysqlclient -lz -lm -lcrypt



Hm. Command line is correct, I wonder why it can't find it. It is a local problem since it works fine here... I'm too tired to think of a solution right now.

Joerg


Really? The /usr/lib/mysql bit is correct? That directory doesn't exist :-S Does it work alright for you even with MySQL 4.1?

I shall leave you to sleep or whatever anyhow. Thanks for your help so far.

Well, I made a symlink so that /usr/lib/mysql -> /usr/pkg/lib/mysql and it did get oh so slightly further:


---
checking for mysql_init in -lmysqlclient... yes
checking whether mysql clients can run... no
configure: error: Your MySQL client libraries aren't properly installed
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/net/pure-ftpd
===>
===> There was an error during the ``configure'' phase.
===> Please investigate the following for more information:
===>      * config.log
===>      * /usr/obj/pkgsrc/net/pure-ftpd/work/.work.log
===>
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/net/pure-ftpd
---

I guess I shall try reinstalling mysql4-client and see if that does anything useful :-)



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]