求救,编译PHP时出了点问题,大家帮帮忙!!

由 andyhuax 在 07-26-2004 17:42 发表:

求救,编译PHP时出了点问题,大家帮帮忙!!

我编译PHP4.3.8的时候,提示出错,“Cannot find MySQL header files under /var/lib/mysql”,然后我执行MAKE时,就显示“make : *** No targets specified and no makefile found .Stop.”,这时什么原因,我的MYSQL是用RPM包直接安装的,它的配置文档上也显示,DATA是存放在/var/lib/mysql目录下的啊,怎么解决,大家帮帮我!谢了!


由 skynet 在 07-26-2004 18:05 发表:


make时有带--with-mysql啊?


由 andyhuax 在 07-26-2004 18:49 发表:


有啊,我带了,--with-mysql=/var/lib/mysql


由 smile787 在 07-26-2004 20:56 发表:

回复: 求救,编译PHP时出了点问题,大家帮帮忙!!

> quote: > > * * * > > 最初由 andyhuax 发表
>
> Cannot find MySQL header files under /var/lib/mysql > > * * *

whereis mysql ,then set it location


由 andyhuax 在 07-26-2004 21:17 发表:


我是用RPM包来直接安装的,它的文件都在不同文件夹,

数据库目录

/var/lib/mysql/

配置文件

/usr/share/mysql


由 andyhuax 在 07-26-2004 22:41 发表:


smile787

你好,

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus