RE: PHP error about mysql when compiling PHP 5.2.1 on x86_64

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



remove

-----Original Message-----
From: Lavenant [mailto:jlavenant@xxxxxxxxx] 
Sent: Tuesday, March 13, 2007 8:51 AM
To: php-install@xxxxxxxxxxxxx
Subject:  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=/mysql-server --enable-track-vars --with-gd
--with-jpeg-dir=/libjpeg --with-zlib-dir=/zlib
--with-apxs2=/apache/bin/apxs --prefix=/php --with-libxml-dir=/libxml2
--with-png-dir=/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 
prohibited and may be unlawful.  If you have received this communication 
in error, please immediately notify the sender by reply e-mail and destroy 
all copies of the communication and any attachments.


[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux