[Setup] installation failed since PIL is missing

wuchao at dev2 chao.wu.1028 at gmail.com
Mon Jan 11 22:05:02 UTC 2010


Hi all,

I have installed Plone unified 3.3 on several machines, but its the first
time to install it on x64 PC running fedora core 10. 

install as root, and failed as indicated:

ZEO Cluster Install selected

Detailed installation log being written to
/home/venkatvi/Download/Plone-3.3.2-UnifiedInstaller/install.log

zlib installation: local
libjpeg installation: local
Root install method chosen

Installing Plone 3.3.2 at /usr/local/Plone

Skipping zlib compile and install
Skipping libjpeg compile/install
Skipping readline compile/install
Python found at /usr/local/Plone/Python-2.4/bin/python; Skipping Python
install.
Installing PIL
Traceback (most recent call last):
  File "<string>", line 1, in ?
ImportError: No module named _imaging
Python imaging support is missing; something went wrong in the PIL or python
build.

Installation has failed.
See the detailed installation log at
/home/venkatvi/Download/Plone-3.3.2-UnifiedInstaller/install.log
to determine the cause.

and when I look at the log, it says:

XbmEncode.o build/temp.linux-x86_64-2.4/libImaging/ZipDecode.o
build/temp.linux-x86_64-2.4/libImaging/ZipEncode.o -L/usr/local/lib
-L/usr/local/Plone/Python-2.4/lib -L/usr/lib -ljpeg -lz -o
build/lib.linux-x86_64-2.4/_imaging.so
/usr/bin/ld: /usr/local/Plone/Python-2.4/lib/libz.a(deflate.o): relocation
R_X86_64_32S against `a local symbol' can not be used when making a shared
object; recompile with -fPIC
/usr/local/Plone/Python-2.4/lib/libz.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
error: command '/usr/bin/gcc' failed with exit status 1

am positive that I have installed PIL, its right under the directory of
site-packages of python2.5. I have checked earlier record from the forum,
someone claimed that this error was due to the shell dash, instead bash
would solve the problem, yet it is not in my case. 

The only reason I can think of is that python 2.5 is already installed, and
the PIL actually goes under python2.5:
Removing /usr/lib64/python2.5/site-packages/PIL/PIL-1.1.6-py2.5.egg-info
Writing /usr/lib64/python2.5/site-packages/PIL/PIL-1.1.6-py2.5.egg-info
creating /usr/lib64/python2.5/site-packages/PIL.pth

it seems that PIL is not properly installed with python2.4 which comes with
Plone package. I have tried to extract PIL under python2.4 but when
installing the library, it is still going to Python2.5. So is this really
the reason?? and how can I get rid of it??

I would appreciate any ideas or thoughts.

Chao
-- 
View this message in context: http://n2.nabble.com/installation-failed-since-PIL-is-missing-tp4288466p4288466.html
Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com.



More information about the Setup mailing list