我用rpm的方式安装了mysql4.0,然后在configure PHP时,用了如下语句:
./configure --with-mysql --with-apxs2=/usr/local/apxs2/bin/apxs
然后,configure时一切正常,甚至系统给出了类似于Thank you using PHP之类的话。
然后我make时,出现了一下的报错:
/usr/local/src/php-4.3.1/ext/mysql/php_mysql.c: In function `zm_info_mysql':
/usr/local/src/php-4.3.1/ext/mysql/php_mysql.c:436: `PHP_MYSQL_TYPE' undeclare
d (first use in this function)
/usr/local/src/php-4.3.1/ext/mysql/php_mysql.c:436: (Each undeclared identifie
r is reported only once
/usr/local/src/php-4.3.1/ext/mysql/php_mysql.c:436: for each function it appea
rs in.)
/usr/local/src/php-4.3.1/ext/mysql/php_mysql.c:438: `PHP_MYSQL_INCLUDE' undecl
ared (first use in this function)
/usr/local/src/php-4.3.1/ext/mysql/php_mysql.c:439: `PHP_MYSQL_LIBS' undeclare
d (first use in this function)
make: *** [ext/mysql/php_mysql.lo] Error 1
我该怎么办呢?