作者snese ()
看板FreeBSD
标题[问题] 无法安装 PHP5
时间Thu Mar 15 16:52:23 2007
利用 PORTS 进行安装 PHP5 时,会出现下列的讯息:
Configuring extensions
checking whether to enable LIBXML support... yes
checking libxml2 install dir... /usr/local
checking for xml2-config path... /usr/local/bin/xml2-config
checking whether libxml build works... no
configure: error: build test failed. Please check the config.log for details.
===> Script "configure" failed unexpectedly.
Please report the problem to [email protected] [maintainer] and attach the
"/usr/ports/lang/php5/work/php-5.2.1/config.log" including the output of the
failure of your make command. Also, it might be a good idea to provide an
overview of all packages installed on your system (e.g. an `ls /var/db/pkg`).
*** Error code 1
感觉是 libxml 的问题,但 libxml 跟 libxml2 都已经安装,不知为何还出现这些
错误讯息,奇怪的是 PHP4 反而能够安装。
请问有经验的前辈,这可能是什麽状况呢?有需要的话,我能把整个 config.log
贴出来。谢谢各位的阅读,谢谢。
--
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 61.223.216.7
※ 编辑: snese 来自: 61.223.216.7 (03/15 16:52)