[Image-SIG] PIL 1.1.4 build problem on RedHat ES AS 3 Update 3 - 2
Chiu, PCM (Peter)
P.C.M.Chiu at rl.ac.uk
Wed Oct 6 19:33:03 CEST 2004
I have later found out tk.h comes in tk-devel kit.
I have loaded the rpm onto the RedHat AS 3U3 box,
cleaned up the whole Extensions tree, and started from fresh.
This time, I still hit a problem on python setup.py build.
It complains:
_imagingtk.c:23: syntax error before '*' token
and finaly
erro: command `gcc` failed with exit status 1
So I would appreciate some help in mounting PIL 1.1.4
on RedHat Enterprise 3U3.
Peter
> -----Original Message-----
> From: Chiu, PCM (Peter)
> Sent: 06 October 2004 18:03
> To: 'image-sig at python.org'
> Cc: Chiu, PCM (Peter)
> Subject: PIL 1.1.4 build problem on RedHat ES AS 3 Update 3
>
> 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/f5c5c596/attachment.html
More information about the Image-SIG
mailing list