[Zope] How to install PIL with Zope.

Sumiya Sakoda sakoda@toyoake.or.jp
Thu, 08 Aug 2002 09:05:14 +0900


hi yujis.

Yuji> But it seems that there was no processing to libImagina.a
Yuji> Is it necessary to copy it in somewhere manualy ?
Yuji> If it's necessary, in where ?

I think it is no problem.
You may have a dynamic library _imaging.so instead of libImaginga.a.

here's my install log.

##### after unziped archive
# cd libImaging
# ./configure
##### if you don't have xv, make check would be failed, but you don't care. 
# make check
# make
# cd ..
# make PYTHON=python2 -f Makefile.pre.in boot
# make
# PYTHONPATH=.:./PIL ; export PYTHONPATH
##### check library
# python2
>>> import _imaging
>>> import Image
##### move library in the PYTHONPATH
# cp PIL.pth /usr/lib/python2.1/site-packages
# mkdir /usr/lib/python2.1/site-packages/PIL
# cp *.so PIL/* /usr/lib/python2.1/site-packages/PIL

--
                                  Sumiya Sakoda <sakoda@toyoake.or.jp>