Installation 普隆不能';t在安装Pillow 1.7.8时设置Zope实例

Installation 普隆不能';t在安装Pillow 1.7.8时设置Zope实例,installation,virtualenv,plone,enthought,zope,Installation,Virtualenv,Plone,Enthought,Zope,我正在尝试将Plone安装到我的Ubuntu 14.04中,但是install.sh给了我错误: Installing instance. Getting distribution for 'Pillow==1.7.8'. warning: no previously-included files found matching '.hgignore' warning: no previously-included files found matching '.h

我正在尝试将Plone安装到我的Ubuntu 14.04中,但是install.sh给了我错误:

 Installing instance. Getting distribution for 'Pillow==1.7.8'.   
     warning: no previously-included files found matching '.hgignore'   
     warning: no previously-included files found matching '.hgtags'   
     warning: no previously-included files found matching 'BUILDME.bat'  
     warning: no previously-included files found matching   

'make-manifest.py' warning: no previously-included files found   
matching 'SHIP' warning: no previously-included files found matching
'SHIP.bat' warning: no previously-included files matching '*' found 
under directory 'Tests'    _imaging.c:3017:5: warning:
initialization from incompatible pointer type [enabled by default]
    (inquiry) image_length, /*sq_length*/
    ^    _imaging.c:3017:5: warning: (near initialization for ‘image_as_sequence.sq_length’) [enabled by default]   
_imaging.c:3077:5: warning: initialization from incompatible pointer type [enabled by default]
    (inquiry) NULL, /*mp_length*/
    ^    _imaging.c:3077:5: warning: (near initialization for ‘pixel_access_as_mapping.mp_length’) [enabled by default]   
_imaging.c: In function ‘_filter’:    _imaging.c:842:8: warning: ‘kernelsize’ may be used uninitialized in this function
[-Wmaybe-uninitialized]
    if (kernelsize != xsize * ysize) {
       ^ libImaging/Quant.c: In function ‘rehash_collide’: libImaging/Quant.c:154:10: warning: cast to pointer from integer of 
different size [-Wint-to-pointer-cast]    *valp=(void *)((*(int
*)valp)+(*(int *)&newval));
         ^    _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 occurred when trying to install Pillow 1.7.8. Look above this 
message for any errors that were output by easy_install. While:     
Installing instance.   Getting distribution for 'Pillow==1.7.8'.   
Error: Couldn't install: Pillow 1.7.8
有人能解释一下我如何用枕头解决问题,并在我的机器上安装Plone吗?非常感谢

像这样安装 ./install.sh--target=/home/tclap1006/all_folders/unifiedinstallers/Plone--build python standalone


这里——目标是路径(意味着你想在哪个目录下安装你的Plone)

也许你可以在我的Ubuntu Canopy Python.h上尝试Plone的更高版本,比如4.3.7“Home/Canopy/appdata/Canopy-1.5.5.3123.rh5-x86_64/include/python2.7/您的安装中是否不存在此文件?这看起来像是Pillow希望您在没有安装freetype devel(或freetype dev?命名因发行版而异)的情况下安装了freetype devel?谢谢各位,问题在不使用build python选项的情况下得到了解决,相反,我联系了Canopy,将一个丢失的头文件移动到Plone安装程序正在查看的目录下。
me@me-N550JV:~/Downloads/Plone-4.3-UnifiedInstaller$ ./install.sh standalone --build-python

Rootless install method chosen. Will install for use by system user me

Detailed installation log being written to /home/me/Downloads/Plone-4.3-UnifiedInstaller/install.log
Installing Plone 4.3 at /home/me/Plone

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 /home/me/Plone/buildout-cache
Copying Plone-docs
Copying buildout skeleton
Fixing up bin/buildout
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/me/Downloads/Plone-4.3-UnifiedInstaller/install.log
to determine the cause.