LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 2772|回复: 3

配置php出现的libxml2问题

[复制链接]
发表于 2006-6-2 19:58:21 | 显示全部楼层 |阅读模式
当我在安安装php时出现下面错误
# cd php-5.0.0
# ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr/local/mysql
出现错误
Configuring extensions
checking whether to enable LIBXML support... yes
checking libxml2 install dir... no
checking for xml2-config path... /usr/bin/xml2-config
configure: error: libxml2 version 2.6.11 or greater required.
于是我有下载了libxml2-2.6.9.tar.gz
但当我进行下面操作时又出现这样的错误
[root@localhost libxml2-2.6.22]# ./configure
checking build system type... i686-redhat-linux-gnu
checking host system type... i686-redhat-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... configure: error: newly created file is older than distributed files!

Check your system clock
请问哪位高手能帮我解决一下这个问题
 楼主| 发表于 2006-6-2 20:12:11 | 显示全部楼层
我的操作系统是redhat9.0
当我要卸载用rpm -e libxml
时出现说不能卸载
不知道为什么
回复 支持 反对

使用道具 举报

发表于 2006-6-3 14:56:43 | 显示全部楼层
configure: error: libxml2 version 2.6.11 or greater required.

需要 2.6.11 或更高,你下2.6.9做什么?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-6-4 11:12:50 | 显示全部楼层
谢谢,问题已经解决,问题在于我的系统时钟问题
当我把时钟改正确后就完成任物
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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