Bug #880: Missing file mysql.h in make step

From: Date: Wed, 28 Oct 1998 00:44:24 +0000
Subject: Bug #880: Missing file mysql.h in make step
Groups: php.dev 
Request: Send a blank email to php-dev+get-2049@lists.php.net to get a copy of this message
From: tfussell@uwf.edu Operating system: Linux Red Hat 5.1 PHP version: 3.0.5 PHP Bug Type: Compile Failure Bug description: Missing file mysql.h in make step I downloaded your source for PHP version 3.0.5 I'm trying to get Apache to accept PHP as a module. I downloaded Apache 1.3.3 and installed it with no problems. I followed the following steps trying to install PHP version 3.0.5. cd /root/apache_1.3.3 ./configure --prefix=/www cd ../php-3.0.5 ./configure --with-mysql --with-apache=../apache_1.3.3 --enable-track-vars make When the make step reaches the following code. gcc -g -02 -02 -I. -I. -I../apache_1.3.3/src/include I../apache_1.3.3/src/os/unix -I/usr/local/include/mysql -c functions/mysql.c -o functions/mysql.o I get this error message. functions/mysql.c:67: mysql.h:No such file or directory make: ***[functions/mysql.o] Error 1 The install directory for mysql is /usr/local/mysql. The installation of the binary of mysql placed the header files in /user/local/mysql/include. I created a directory named /usr/local/mysql/include/mysql and copied all the header files there (including mysql.h) and reran the make with the same results. So I looked in the /root/php-3.0.5/functions directory and noticed that there was a mysql.c but not a mysql.h so i copied the mysql.h file from /usr/local/mysql/include directory there and reran the make. It failed as well with the same error message. It seems no matter what directory the file is located the make can not find it. The version of mysql is 3.21.33c downloaded from the www.gina.net/mysql/ mirror site. Any assistance will be greatly appreciated. -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#2049) next »