|
安装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
,请问如何解决?? |
|