【发布时间】:2011-11-16 21:43:55
【问题描述】:
我正在尝试在我不是管理员的 RH Enterprise 服务器上安装 Plone-4.1.2。
Linux ddwap01 2.6.18-194.el5 #1 SMP Tue Mar 16 21:52:39 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
我可以将 GNU 库安装在非标准位置(/public/local vs /usr/local),但我认为这造成的困难比预期的要多。使用 autoconf 生成的命令行,配置脚本(预检)在多个库上失败:
gcc -o conftest -g -O2 conftest.c -lssl
gcc -o conftest -g -O2 conftest.c -lreadline
经过一些网上搜索,我能够通过操作链接库来编译测试程序:
gcc -o conftest -g -O2 conftest.c -lssl -lcrypto
gcc -o conftest -g -O2 conftest.c -lreadline -lncurses
我如何将此信息传达给 Plone 安装脚本,否则会出现更多无法安装的问题。我尝试通过编译和安装 autoconf 然后使用 preflight.ac 源文件生成特定于我要安装到的服务器的 preflight 脚本来重新生成 preflight autoconf 脚本,但这对 install.sh 结果没有影响.之前的 Plone 3.3.5 安装完成没有问题。
Plone 网站建议在 stackoverflow 上提出技术问题,所以如果有更好的场所,请告诉我。
通过将以下内容添加到环境中解决了上述问题:
export CPATH=/public/local/include
export LDFLAGS=-L/public/local/lib
export LD_LIBRARY_PATH=:/public/local/lib
export LIBRARY_PATH=/public/local/lib
export LIBS="-lcrypto -lncurses"
这导致了新的错误情况。第一次安装尝试失败并出现以下错误:
[redacted]@[redacted]:Plone-4.1.2-UnifiedInstaller> ./install.sh --password=[redacted] --target=/public/local/plone-4.1.2 --user=[redacted] standalone
Stand-Alone Zope Instance selected
Detailed installation log being written to /public/plone/Plone-4.1.2-UnifiedInstaller/install.log
Rootless install method chosen. Will install for use by system user sysapps
Installing Plone 4.1.2 at /public/local/plone-4.1.2
Compiling and installing jpeg local libraries ...
Skipping zlib build
Skipping readline build
Installing Python 2.6.7. This takes a while...
Patching for thread size
Installing distribute...
Failed: This Python does not have ssl support.
***Aborting***
The built Python does not meet the requirements for Zope/Plone.
Check messages and the install.log to find out what went wrong.
第二次安装尝试找到损坏的 Python 并跳过安装步骤:
...
Python found at /public/local/plone-4.1.2/Python-2.6/bin/python; Skipping Python install.
Unpacking buildout cache to /public/local/plone-4.1.2/buildout-cache
Compiling .py files in egg cache
Copying Plone-docs
Your platform's xml2/xslt are missing or out-of-date. We'll need to build them.
Copying buildout skeleton
Fixing up bin/buildout
Building lxml with static libxml2/libxslt; this takes a while...
Building Zope/Plone; this takes a while...
...
我认为这不会导致健康的 Plone 安装。任何更多的帮助将不胜感激。
谢谢, 史蒂夫
【问题讨论】:
标签: dependencies plone redhat