Re: PHP 4.0 Bug #4567: Fails to find mysql.h during make (solution included)

From: Date: Wed, 24 May 2000 03:00:02 +0000
Subject: Re: PHP 4.0 Bug #4567: Fails to find mysql.h during make (solution included)
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-19348@lists.php.net to get a copy of this message
> At 01:21 AM 5/24/00 +0000, ragnar@spinweb.net wrote: > >When building php 4.0.0 on Solaris 8 for SPARC, it fails compiling with an > >error from ./ext/mysql/php_mysql.c: > > > >gcc -DHAVE_CONFIG_H -I. -I/usr/local/src/php-4.0.0/ext/mysql > >-I/usr/local/src/php-4.0.0 -I/usr/local/src/apache_1.3.12/src/include > >-I/usr/local/src/apache_1.3.12/src/os/unix -I/usr/local/src/php-4.0.0/Zend > >-I/usr/local/src/php-4.0.0 -DXML_BYTE_ORDER=21 -g -O2 -Wall -c > >php_mysql.c && touch php_mysql.lo > >php_mysql.c:58: mysql.h: No such file or directory > > did you ./configure ..blah blah --with-mysql=/dir/to/mysql > I didn't explicitly declare the location, as I used the default (/usr/local). My configure statement was the following: ./configure --with-mysql \ --with-apache=/usr/local/src/apache_1.3.12 \ --enable-track-vars Duane

« previous php.dev (#19348) next »