我在虛擬機器上有一個 CentOS 6(最小安裝或網路安裝,我不記得是哪個)。我正在嘗試安裝克隆人4.2.4出於測試目的。我已經安裝了所有必需的依賴項,或者至少我是這麼認為的。
我運行 Plone Unified Installer(我使用該--static-lxml
選項是因為 Plone 需要 CentOS 上不存在的 libxml2 版本)
./install.sh --static-lxml 獨立
我收到以下錯誤:
Stand-Alone Zope Instance selected
Detailed installation log being written to /root/plone/Plone-4.2.4-UnifiedInstaller/install.log
Root install method chosen. Will install for use by system user plone
Installing Plone 4.2.4 at /usr/local/Plone
User 'plone' already exists. No need to create it.
Skipping libjpeg build
Skipping readline build
Installing Python-2.7.3. This takes a while...
Install of Python-2.7.3 has failed.
Installation has failed.
See the detailed installation log at /root/plone/Plone-4.2.4-UnifiedInstaller/install.log
to determine the cause.
我安裝了蟒蛇釀造嘗試使用它安裝Python 2.73。我可以成功安裝Pythonbrew,但是當我運行時pythonbrew install 2.7.3
出現以下錯誤:
[test@plonemachine root]$ pythonbrew install 2.7.3
Use the previously fetched /home/test/.pythonbrew/dists/Python-2.7.3.tgz
Extracting Python-2.7.3.tgz into /home/test/.pythonbrew/build/Python-2.7.3
This could take a while. You can run the following command on another shell to track the status:
tail -f "/home/test/.pythonbrew/log/build.log"
Patching Python-2.7.3
Installing Python-2.7.3 into /home/test/.pythonbrew/pythons/Python-2.7.3
ERROR: Failed to install Python-2.7.3. See /home/test/.pythonbrew/log/build.log to see why.
這是 Pythonbrew 建置日誌。它與 Plone 安裝日誌幾乎相同(!),讓我相信問題出在其他地方。
答案1
它看起來就像配置腳本正確退出並且 Makefile 已建立一樣。我的猜測是您可能缺少一些基本的開發工具autoconf
。嘗試以 root 身分使用此命令安裝它們(來源):
yum groupinstall 'Development Tools'