高分解决安装php遇到的问题!

jinetsunday 2004-07-22 09:56:34
安装php。
shell>./configure --prefix=/php4.3 --enable-force-cgi-redirect --with-freetype-dir=/apache --with-png-dir=/apache --with-gd --enable-gd-native-ttf --with-ttf --with-gdbm --with-gettext --with-iconv --with-jpeg-dir=/apache --with-png --with-zlib --with-xml --enable-calendar --with-mysql=/var/lib/mysql --with-apxs2=/apache/bin/apxs

shell>......

checking for type uint... (cached) yes
checking for type ushort... (cached) yes
checking for int8... (cached) no
checking base type of last arg to accept... (cached) socklen_t
checking return type of qsort... (cached) void
configure: error: Cannot find MySQL header files under /var/lib/mysql

我的mysql是系统默认的。

mysql-3.23.49-3.i386.rpm
mysqlclient9-3.23.22-6.i386.rpm
mysql-devel-3.23.49-3.i386.rpm
mysql-server-3.23.49-3.i386.rpm

,请问如何解决??

...全文
100 回复 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

19,619

社区成员

发帖
与我相关
我的任务
社区描述
系统使用、管理、维护问题。可以是Ubuntu, Fedora, Unix等等
社区管理员
  • 系统维护与使用区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧