Troublesome PIL Installation

John Hunter jdhunter at nitace.bsd.uchicago.edu
Wed Aug 29 10:21:40 EDT 2001


>>>>> "Christian" == Christian Lundh <xistan at yahoo.se> writes:

    Christian> rm -f *.o *~ rm -f *.a tags TAGS config.c Makefile.pre
    Christian> python sedscript rm -f *.so *.sl so_locations
    Christian> VERSION=`python -c "import sys; print
    Christian> sys.version[:3]"`; \ installdir=`python -c "import sys;
    Christian> print sys.prefix"`; \ exec_installdir=`python -c
    Christian> "import sys; print sys.exec_prefix"`; \ make -f
    Christian> ./Makefile.pre.in VPATH=. srcdir=. \ VERSION=$VERSION \
    Christian> installdir=$installdir \
    Christian> exec_installdir=$exec_installdir \ Makefile make[1]:
    Christian> Entering directory
    Christian> `/home/xistan/src/ActivePython-2.1.1-212/Extensions/Imaging'
    Christian> make[1]: *** No rule to make target

Just a guess, but when I unpacked Imaging yesterday and went through
the install, I noticed that it unpacked in Imaging-1.1.2 (version
number included) and the default line in Modules/Setup (
-IExtensions/Imaging/libImaging   ) has no version numbers.  I made a
symlink:

 > cd Extensions
 > ln -s Imaging-1.1.2 Imaging

but you could also edit Modules/Setup to point to your Imaging
distribution.

Hope this helps,
John Hunter



More information about the Python-list mailing list