[Image-SIG] PIL 1.1.4 build problem on RedHat ES AS 3 Update 3
Chiu, PCM (Peter)
P.C.M.Chiu at rl.ac.uk
Wed Oct 6 19:02:50 CEST 2004
Dear All,
I am trying to build PIL 1.1.4 on a RedHat Enterprise AS 3 Update 3 box,
but it fails at the process:
python setup.py build
in that it complains:
_imagingtk.c:20:16: tk.h: No such file or directory
and then crashed out.
There were no errors reported when I followed the installation README file
until this step.
I have attached an extract of the error here.
I then tried to copy a tk.h file from a RedHat 9 system, and repeated the
build process.
It gives more tk.h syntax errors unfortunately.
Anyone has got any idea how to fix this?
By the way, the system has the following installed:
freetype-2.1.4-4.0
gnome-python2-1.99.14-5
gnome-python2-bonobo-1.99.14-5
gnome-python2-canvas-1.99.14-5
gnome-python2-gtkhtml2-1.99.14-5
libjpeg-6b-30
libxml2-python-2.5.10-6
mod_python-3.0.3-3.ent
MySQL-python-0.9.1-6
python-2.2.3-5
python-devel-2.2.3-5
python-optik-1.4.1-2
rh-postgresql-python-7.3.6-7
rpm-python-4.2.3-10
zlib-1.1.4-8.1
zlib-devel-1.1.4-8.1
I have noticed that most of the libraries are residine under /usr/lib
rather than /usr/local/lib as expected in Setup.
Thank you.
Regards,
Peter Chiu
CCLRC Rutherford Appleton Laboratory
Space Science & Technology Department
Building R25, Room 1.27
Chilton
Didcot
Oxfordshire
OX11 0QX
UK
Phone: +44-(0)1235-446699
Fax: +44-(0)1235-445848
Email: P.Chiu at rl.ac.uk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/image-sig/attachments/20041006/bd3e8687/attachment.htm
More information about the Image-SIG
mailing list