我需要在我的ManjaroLinux 0.8.9上安装Plone 4.2。 不幸的是,我无法使用更新版本的Plone,因此我不知道新版本是否会安装得更好。
所以我下载了Plone 4.2的UnifiedInstaller,解压缩了存档并尝试使用以下命令安装它:
sudo ./install.sh standalone
我得到了以下输出:
Installing Plone 4.2 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...
Installing distribute...
Warning: This Python does not have readline support.
It may still be usable for Zope, but interacting directly with Python will be painful.
Python build looks OK.
Unpacking buildout cache to /usr/local/Plone/buildout-cache
Compiling .py files in egg cache
Copying Plone-docs
Generating random password ...
Your platform's xml2/xslt are up-to-date. No need to build them.
Copying buildout skeleton
Fixing up bin/buildout
Skipping static libxml2/libxslt build.
Building Zope/Plone; this takes a while...
Buildout returned an error code: 1; Aborting.
Buildout failed. Unable to continue
Installation has failed.
See the detailed installation log at /home/maphardam/Downloads/Plone-4.2-UnifiedInstaller/install.log
to determine the cause.
由于install.log相当大(> 600kB),我希望错误信息和结束就足够了......
_imagingft.c:73:31: fatal error: freetype/fterrors.h: No such file or directory
#include <freetype/fterrors.h>
compilation terminated.
error: Setup script exited with error: command 'gcc' failed with exit status 1
An error occured when trying to install Pillow 1.7.7. Look above this message for any errors that were output by easy_install.
While:
Installing instance.
Getting distribution for 'Pillow==1.7.7'.
Error: Couldn't install: Pillow 1.7.7
我需要整个日志文件,我会尝试上传它:)
所以安装程序似乎错过了freetype。 pacman的一个简短请求导致我已经使用了freetype 2.5.3-2。
我做错了什么/我需要做些什么来让Plone运行?
干杯, Maphardam
编辑:主题已解决。我通过将freetype2链接到freetype来修复它: