Bug #1024 Updated: Incomplete mysql code in php-3_0_6_tar.gz

From: Date: Sun, 03 Jan 1999 23:00:37 +0000
Subject: Bug #1024 Updated: Incomplete mysql code in php-3_0_6_tar.gz
Groups: php.dev 
Request: Send a blank email to php-dev+get-3219@lists.php.net to get a copy of this message
ZEEV: Thanks for very quick reply. Here is the error message: make |more gcc -g -O2 -O2 -I. -I. -I../apache_1.3.3/src/include -I../apache_1. 3.3/src/os/unix -I/usr/local/include/mysql -c m ain.c -o main.o gcc -g -O2 -O2 -I. -I. -I../apache_1.3.3/src/include -I../apache_1. 3.3/src/os/unix -I/usr/local/include/mysql -c f unctions/adabasd.c -o functions/adabasd.o gcc -g -O2 -O2 -I. -I. -I../apache_1.3.3/src/include -I../apache_1. 3.3/src/os/unix -I/usr/local/include/mysql -c f unctions/fsock.c -o functions/fsock.o gcc -g -O2 -O2 -I. -I. -I../apache_1.3.3/src/include -I../apache_1. 3.3/src/os/unix -I/usr/local/include/mysql -c f unctions/mail.c -o functions/mail.o gcc -g -O2 -O2 -I. -I. -I../apache_1.3.3/src/include -I../apache_1. 3.3/src/os/unix -I/usr/local/include/mysql -c f unctions/mysql.c -o functions/mysql.o functions/mysql.c:84: mysql.h: No such file or directory make: *** [functions/mysql.o] Error 1 It has been reported on another "bug report" that compiles fail when the mysql.h file is not found in /usr/local/include/ . In fact, mysql.h does not appear ANYWHERE on my system because I installed a binary distribution. Oddly enough, though, I only resorted to this approach after mod_php3-3.05.x.i386.rpm installation attempts failed to give me MySQL functionality in PHP-3, even though according to the documentation these HAD been included. I take it from a reply from Rasmus that what I will have to do is get (and keep in place temporarily) the MySQL source code. I would assume that copyright restrictions prevent you from including mysql.h in your distribution. Sorry for my ignorance, I had forgotten what .o files were; it's been a while since I last did much in C, to be frank. Thanks again and all the best, George -- 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 (#3219) next »