免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2251 | 回复: 5
打印 上一主题 下一主题

PHP编译错误,请高手指教 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-12-26 17:50 |只看该作者 |倒序浏览
./configure  --prefix=/home/new/php --with-mysql=/p2/mysql --with-curl --with-apxs2=/home/new/apache/bin/apxs --with-zlib-dir=/usr/local/zlib --with-png --with-freetype-dir=/usr/local/freetype --with-jpeg-dir=/usr/local/jpeg6 --with-gd=/usr/local/gd2/ --enable-memcache --with-openssl --with-domxml --enable-sockets
错误:checking whether to enable hash support... yes
checking whether byte ordering is bigendian... (cached) no
checking size of short... (cached) 2
checking size of int... (cached) 4
checking size of long... (cached) 4
checking size of long long... (cached) 8
checking for iconv support... yes
checking for iconv... (cached) yes
checking if iconv is glibc's... no
checking if using GNU libiconv... no
checking if iconv is Konstantin Chuguev's... no
checking if iconv supports errno... no
checking if your cpp allows macro usage in include lines... yes
checking for IMAP support... no
checking for IMAP Kerberos support... no
checking for IMAP SSL support... no
checking for InterBase support... no
checking whether to enable JavaScript Object Serialization support... yes
checking for ANSI C header files... (cached) yes
checking for LDAP support... no
checking for LDAP Cyrus SASL support... no
checking whether to enable multibyte string support... no
checking whether to enable multibyte regex support... yes
checking whether to check multibyte regex backtrack... yes
checking for external libmbfl... no
checking for mcrypt support... no
checking for mhash support... no
checking whether to include mime_magic support... no
checking for MING support... no
checking for mSQL support... no
checking for MSSQL support via FreeTDS... no
checking for MySQL support... yes
checking for specified location of the MySQL UNIX socket... no
checking for MySQL UNIX socket location... no
checking for mysql_close in -lmysqlclient... no
checking for mysql_error in -lmysqlclient... no
configure: error: mysql configure failed. Please check config.log for more information.
网上好多说的都不一样,有那位碰到并解决了告诉下,谢谢

论坛徽章:
0
2 [报告]
发表于 2007-12-26 21:45 |只看该作者
--with-mysql=/p2/mysql

应该是没有mysql库

论坛徽章:
0
3 [报告]
发表于 2007-12-27 09:47 |只看该作者
我MYSQL都装完了,都能正常启动了,路径肯定没问题

论坛徽章:
0
4 [报告]
发表于 2007-12-27 14:40 |只看该作者
mysql client lib

论坛徽章:
0
5 [报告]
发表于 2007-12-27 15:36 |只看该作者
这个错误我似乎也遇到过。
后来在编译mysql时,加上--enable-thread-safe-client,
再来编译php时就正常了。
很奇怪。

论坛徽章:
0
6 [报告]
发表于 2007-12-27 15:48 |只看该作者
是不是需要开发库啊,看一下你mysql相关的的dev包装了没有
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP