Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Jul 2009 15:57:52 -0400
From:      Sahil Tandon <sahil@tandon.net>
To:        freebsd-ports@freebsd.org
Subject:   Re: Question about a failure report
Message-ID:  <20090703195752.GA37686@tandon.net>
In-Reply-To: <23B9298D1A02526B4646B131@utd65257.utdallas.edu>
References:  <23B9298D1A02526B4646B131@utd65257.utdallas.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 03 Jul 2009, Paul Schmehl wrote:

> I just got a failure report for one of my ports: security/barnyard-squil. 

s/squil/sguil/ :-)

>  That port is a slave port to security/barnyard.
>
> The error is:
> **********************************************
>  ERROR: unable to find mysql headers (mysql.h)
>  checked in the following places
>        /mysql.h
> **********************************************

The configure script needs some direction.

> This is what I have in the Makefile of security/barnyard:
>
> .if defined(WITH_MYSQL)
> USE_MYSQL=              yes
> CONFIGURE_ARGS+=        --enable-mysql
> .endif
>
> How do I fix this since I'm using the builtin macro?

In security/barnyard/Makefile, try:

CONFIGURE_ARGS+= --enable-mysql \
		 --with-mysql-includes=${LOCALBASE}/include/mysql \
		 --with-mysql-libraries=${LOCALBASE}/lib/mysql

-- 
Sahil Tandon <sahil@tandon.net>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090703195752.GA37686>