rhel5的系统,在编译安装php的时候出现checking libxml2 install dir... no
checking for xml2-config path... /usr/bin/xml2-config
checking whether libxml build works... no
configure: error: build test failed. Please check the config.log for details.
刚开始怀疑是xml2的问题,后查看,
[root@localhost php-5.2.10]# rpm -qa|grep -i libxml2
libxml2-2.6.26-2.1.2
libxml2-python-2.6.26-2.1.2
libxml2-devel-2.6.26-2.1.2
相关的包都有,所以不知道什么问题了?