[Skencil-users] installed won't start
jbiddier
jbiddier at comcast.net
Fri May 19 06:11:44 CEST 2006
jim hamby wrote:
> Yea its still me.
>
> I installed PIL from the tar.gz file
> then installed skencil from its tar.gz
> when I ran compile it ran fine
> when I ran build it hung, couldn't find Imaging.h
> I found Imaging.h under the directory where I had installed PIL.
> then it couldn't fine ImMaging.h and I copyed it to.
> So I copyed all *.h file from there to python2.3 directory.
> then when I ran install it ran all the way.
>
> /usr/lib/python2.3/Extentions/Imaging-1.1.5/libImaging.... is where the *.h files were.
> /usr/lib/python2.3/.... is were I copied all the *.h files to.
>
>
>
Assuming you have compiled PIL already:
1. All the header files in "~/Imaging-1.1.5/libImaging/" (that is, *.h) are copied to /usr/include/python2.3/PIL/ (you have to make the PIL dir in /usr/include/python2.3)
2. All the ".so" files (~/Imaging-1.1.5/*.so) and the files in PIL (~/Imaging-1.1.5/PIL/*) are copied to /usr/lib/python2.3/site-packages/PIL (you must make the PIL dir in site-packages)
and the PIL.pth (~/Imaging-1.1.5/PIL.pth) is copied to the /usr/lib/python2.3/site-packages dir
When you compile Skencil, use:
python ./setup.py configure --imaging-include=/usr/include/python/PIL
here is how my looks:
$ ls /usr/lib/python/site-packages/
gtk-2.0 Numeric.pth PIL.pth pygtk.pth pygtk.pyc reportlab _xmlplus
Numeric PIL Pmw pygtk.py README reportlab.pth
note the PIL dir and the PIL.pth file (you have to make the PIL dir
there. And PIL.pth is was from "~/Imaging-1.1.5/PIL.pth").
$ ls /usr/lib/python/site-packages/PIL
GimpGradientFile.py ImageWin.py PcfFontFile.py
XbmImagePlugin.pyc
GimpPaletteFile.py _imaging.so PcxImagePlugin.py
XpmImagePlugin.py
IcoImagePlugin.py _imagingtk.so PcxImagePlugin.pyc
XpmImagePlugin.pyc
This is just a sample of all the files in the PIL dir (the are too many
to list here). (note _imaging.so and _imagingtk.so). These are the
files from "~/Imaging-1.1.5/*.so" and "~/Imaging-1.1.5/PIL/*"
# ls /usr/include/python/PIL/
Bit.h Imaging.h ImDib.h Jpeg.h QuantDefines.h QuantHash.h
QuantTypes.h Zip.h
Gif.h ImConfig.h ImPlatform.h Lzw.h Quant.h QuantHeap.h Raw.h
These are the header files (you may have /usr/include/python2.3/PIL.
Note you must make the PIL dir there. These files are from
"~/Imaging-1.1.5/libImaging/*.h".).
--J
More information about the Skencil-users
mailing list