| Vera, Michael 2007-03-13, 8:17 am |
| remove
-----Original Message-----
From: Lavenant [mailto:jlavenant@gmail.com]=20
Sent: Tuesday, March 13, 2007 8:51 AM
To: php-install@lists.php.net
Subject: [PHP-INSTALL] PHP error about mysql when compiling PHP 5.2.1 on
x86_64
Hi,
I am trying to compile PHP(5.2.1) with mysql option on a RHAS 4 U4 on
x86_64.
I have installed mysql(5.0.33) from source and mysql works.
I was able to connect to the server and put schema on mysql.
Here is my configure option for php:
.../configure --with-mysql=3D/mysql-server --enable-track-vars --with-gd
--with-jpeg-dir=3D/libjpeg --with-zlib-dir=3D/zlib
--with-apxs2=3D/apache/bin/apxs --prefix=3D/php =
--with-libxml-dir=3D/libxml2
--with-png-dir=3D/libpng
When I do make, I got this error message:
/php/php-5.2.1/ext/mysql/php_mysql.c: In function `zm_info_mysql':
/php/php-5.2.1/ext/mysql/php_mysql.c:456: error: `PHP_MYSQL_TYPE'
undeclared (first use in this function)
/php/php-5.2.1/ext/mysql/php_mysql.c:456: error: (Each undeclared
identifier is reported only once
/php/php-5.2.1/ext/mysql/php_mysql.c:456: error: for each function it
appears in.)
/php/php-5.2.1/ext/mysql/php_mysql.c:458: error: `PHP_MYSQL_INCLUDE'
undeclared (first use in this function)
/php/php-5.2.1/ext/mysql/php_mysql.c:459: error: `PHP_MYSQL_LIBS'
undeclared (first use in this function)
make: *** [ext/mysql/php_mysql.lo] Error 1
Just would like to know if anybody have an idea ?
Thanks for your help.
This communication is the property of Qwest and may contain confidential =
or
privileged information. Unauthorized use of this communication is =
strictly=20
prohibited and may be unlawful. If you have received this communication =
in error, please immediately notify the sender by reply e-mail and =
destroy=20
all copies of the communication and any attachments.
|