Bug #1129: mysql.h: No such file or directory
| From: | brian at thefinleys dot com | Date: | Tue, 09 Feb 1999 07:23:27 +0000 |
| Subject: | Bug #1129: mysql.h: No such file or directory | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-3996@lists.php.net to get a copy of this message | ||
From: brian@thefinleys.com
Operating system: Linux
PHP version: 3.0.6
PHP Bug Type: Compile Failure
Bug description: mysql.h: No such file or directory
The System Configuration:
RedHat Linux 5.2
MySQL-3.22.16a-gamma-1 installed via RPMs (headers too)
The Configure Command:
./configure --with-mysql --with-apache=../apache_1.3.4 --enable-track-vars
The Command (via make):
gcc -g -O2 -O2 -I. -I. -I../apache_1.3.4/src/include -I../apache_1.3.4/src/os/unix
-I/usr/local/include/mysql -c functions/mysql.c -o functions/mysql.o
The Result:
functions/mysql.c:84: mysql.h: No such file or directory
make: *** [functions/mysql.o] Error 1
The Hack:
cd /usr/local
ln -s ../../usr/include include
The Reason:
Red Hat RPMs install to /usr/include instead of /usr/local/include
--
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