QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 586|回复: 0

一个PHP在make时出的问题,我郁闷了三天了

[复制链接]
发表于 2003-5-28 15:32:27 | 显示全部楼层 |阅读模式
我用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
我该怎么办呢?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-16 14:39 , Processed in 0.058985 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表