Subject: pkg/7250: pkg www/php3 dies without mysql
To: None <gnats-bugs@gnats.netbsd.org>
From: None <mason@primenet.com.au>
List: netbsd-bugs
Date: 03/27/1999 01:18:04
>Number:         7250
>Category:       pkg
>Synopsis:       pkg www/php3 dies without mysql
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Mar 26 07:50:47 1999
>Last-Modified:
>Originator:     Geoff C. Wing
>Organization:
Geoff Wing   <gcw@pobox.com>            Mobile : (Australia) 0412 162 441
Work URL: http://www.primenet.com.au/   Ego URL: http://pobox.com/~gcw/
>Release:        19990326
>Environment:
System: NetBSD coral.primenet.com.au 1.3J NetBSD 1.3J (CORAL) #0: Mon Mar 1 13:19:59 EST 1999 mason@coral.primenet.com.au:/usr/netbsd/src/sys/arch/i386/compile/CORAL i386


>Description:
	pkg www/php3 dies in configuration without MySQL support.
>How-To-Repeat:
	remove mysql, remove.

checking for MySQL support... no
configure: error: Invalid MySQL directory - unable to find mysql.h under /usr/pkg
*** Error code 1

Stop.

>Fix:
	The configure script fails when  --with-mysql=.... is specified
	but can't find the appropriate header.  It also has trouble with
	--with-apxs without appropriate installation.

	Options:
	1) Do checking for installations in Makefile - we've seem to have
	   avoided this so far with other packages; or at least haven't
	   gotten round to it (this would be prefered, I guess)
	2) Hack at configure.in and build a patch for configure.
>Audit-Trail:
>Unformatted: