First time port builder - help with MySQL headers needed

Ion-Mihai Tetcu itetcu at people.tecnik93.com
Wed Oct 5 13:20:53 PDT 2005


 [ please fix your mail client to not put so many blank lines, thanks ]

On Wed, 5 Oct 2005 11:34:24 -0300
"RH Lists" <lists at 101.net> wrote:

> Good morning,
> 
>  
> 
> I'm attempting to build a port of Osprey (osprey.ibiblio.org), and I
> have it to the point where it's checking for mysql libraries.  
> 
> I have the following mysql ports installed:
> mysql-client-4.1.14                 
> mysql-server-4.1.14                 
> 
> However, during the configure script, it bombs out:
> 
> checking /usr/include/mysql/mysql.h usability... yes
> checking /usr/include/mysql/mysql.h presence... yes
> checking for /usr/include/mysql/mysql.h... yes
> checking for mysql_real_connect in -lmysqlclient... no
> configure: error: Missing mysql library.
>             Use --with-mysql=/path/to/mysql

Probably you want something like:
CONFIGURE_ARGS+=             --with-mysql=${LOCALBASE}/lib/mysql


-- 
IOnut
Unregistered ;) FreeBSD "user"
  "Intellectual Property" is   nowhere near as valuable   as "Intellect"




More information about the freebsd-ports mailing list