[Image-SIG] Installing without root
Tyson Tate
tyson at fallingbullets.com
Sun Jul 23 23:42:24 CEST 2006
I'm trying to install PIL 1.1.5 on my shared hosting server
(Bluehost) for use with Django (a Python web application framework).
I ran setup.py with a custom prefix and it ran smoothly until it died
on some Tk dependencies:
---
# python setup.py install --prefix=~/python_libs
[snip]
ude -I/usr/include/python2.3 -c _imagingft.c -o build/temp.linux-
i686-2.3/_imagingft.o
gcc -pthread -shared build/temp.linux-i686-2.3/_imagingft.o -L/usr/
lib -lfreetype -o build/lib.linux-i686-2.3/_imagingft.so
building '_imagingtk' extension
creating build/temp.linux-i686-2.3/Tk
gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -m32 -
march=i386 -mtune=pentium4 -D_GNU_SOURCE -fPIC -fPIC -I/usr/include/
freetype2 -IlibImaging -I/usr/include -I/usr/include/python2.3 -c Tk/
tkImaging.c -o build/temp.linux-i686-2.3/Tk/tkImaging.o
Tk/tkImaging.c:51:16: tk.h: No such file or directory
Tk/tkImaging.c:73: error: syntax error before "clientdata"
Tk/tkImaging.c: In function `PyImagingPhotoPut':
Tk/tkImaging.c:77: error: `Tk_PhotoHandle' undeclared (first use in
this function)
[snip]
---
It looks to me like it can't find the tkImaging headers. How might I
be able to work around this or give it access to the headers?
Thanks in advance,
Tyson Tate
--
Tyson Tate
- CalPoly Graphic Design Student
- Work: Graphic Designer (CalPoly Library)
- Play: Mustang Band, CalPoly Triathlon Team, Kappa Kappa Psi (Iota Pi)
More information about the Image-SIG
mailing list