代码: 全选
checking for xml2-config... no
checking for libxml - version >= 2.0.0... no
*** The xml2-config script installed by LIBXML could not be found
*** If libxml was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the XML2_CONFIG environment variable to the
*** full path to xml2-config.
configure: error: OpenFetion 1.4 needs LIBXML2
After installing libxml 2.2.8, the lib files were installed to /usr/local/lib.
I guess php looks in /usr. So if you installed libxml yourself and didn't specify it to install in /usr then you have to use --with-xml="/usr/local/lib" to get it to work.
在安装完 libxml 2.2.8 后,lib 被安装到 /usr/local/lib 里面,我想 php 会在 /usr 下查找 lib,所以,如果你是自己安装 libxml,而且没有指定安装到 /usr , 你不得不使用 --with-xml="/usr/local/lib" 来让正常运行
I hope I'm not the only one with that problem.
希望我不是唯一遇到这个问题的人!
大致看明白了,就是不知道该怎么操作,新手求代码