[問題] 無法安裝 PHP5
利用 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 ale@FreeBSD.org [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)
討論串 (同標題文章)
FreeBSD 近期熱門文章
PTT數位生活區 即時熱門文章