Problems when building PIL

Joonas Paalasmaa joonas at olen.to
Sun Sep 16 12:48:14 EDT 2001


I get the following error when trying to build PIL on Linux.
Python version is 1.5.1 .


rdx313 at myra:~/Imaging-1.1.2/libImaging$ ./configure 
creating cache ./config.cache
checking for --without-gcc... no
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for ranlib... ranlib
checking for ar... ar
checking MACHDEP... linux2
checking for jpeg_destroy_compress in -ljpeg... yes
checking for deflate in -lz... yes
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for inline... inline
checking whether byte ordering is bigendian... no
checking size of char... 1
checking size of short... 2
checking size of int... 4
checking size of long... 4
checking size of float... 4
checking size of double... 8
checking for working const... yes
checking for prototypes... yes
checking for unistd.h... yes
checking for getpagesize... yes
checking for working mmap... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating ImConfig.h
rdx313 at myra:~/Imaging-1.1.2/libImaging$ make
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c coretest.c -o
coretest.o
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c Storage.c -o
Storage.o
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c Access.c -o
Access.o
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c Except.c -o
Except.o
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c Bands.c -o
Bands.o
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c Blend.c -o
Blend.o
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c Chops.c -o
Chops.o
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c Convert.c -o
Convert.o
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c ConvertYCbCr.c -o
ConvertYCbCr.o
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c Copy.c -o Copy.o
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c Crop.c -o Crop.o
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c Crc32.c -o
Crc32.o
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c Dib.c -o Dib.o
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c Draw.c -o Draw.o
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c Effects.c -o
Effects.o
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c File.c -o File.o
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c Fill.c -o Fill.o
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c Filter.c -o
Filter.o
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c Geometry.c -o
Geometry.o
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c GetBBox.c -o
GetBBox.o
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c Histo.c -o
Histo.o
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c Matrix.c -o
Matrix.o
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c Negative.c -o
Negative.o
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c Offset.c -o
Offset.o
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c Pack.c -o Pack.o
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c Palette.c -o
Palette.o
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c Paste.c -o
Paste.o
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c Point.c -o
Point.o
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c Quant.c -o
Quant.o
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c QuantHash.c -o
QuantHash.o
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c QuantHeap.c -o
QuantHeap.o
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c Unpack.c -o
Unpack.o
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c UnpackYCC.c -o
UnpackYCC.o
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c BitDecode.c -o
BitDecode.o
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c EpsEncode.c -o
EpsEncode.o
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c FliDecode.c -o
FliDecode.o
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c GifDecode.c -o
GifDecode.o
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c GifEncode.c -o
GifEncode.o
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c HexDecode.c -o
HexDecode.o
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c JpegDecode.c -o
JpegDecode.o
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c JpegEncode.c -o
JpegEncode.o
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c LzwDecode.c -o
LzwDecode.o
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c MspDecode.c -o
MspDecode.o
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c PackDecode.c -o
PackDecode.o
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c PcdDecode.c -o
PcdDecode.o
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c PcxDecode.c -o
PcxDecode.o
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c PcxEncode.c -o
PcxEncode.o
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c RawDecode.c -o
RawDecode.o
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c RawEncode.c -o
RawEncode.o
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c SunRleDecode.c -o
SunRleDecode.o
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c TgaRleDecode.c -o
TgaRleDecode.o
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c XbmDecode.c -o
XbmDecode.o
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c XbmEncode.c -o
XbmEncode.o
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c ZipDecode.c -o
ZipDecode.o
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c ZipEncode.c -o
ZipEncode.o
rm -f libImaging.a
ar cr libImaging.a Storage.o Access.o Except.o Bands.o Blend.o Chops.o
Convert.o ConvertYCbCr.o Copy.o Crop.o Crc32.o Dib.o Draw.o Effects.o
File.o Fill.o Filter.o Geometry.o GetBBox.o Histo.o Matrix.o Negative.o
Offset.o Pack.o Palette.o Paste.o Point.o Quant.o QuantHash.o
QuantHeap.o Unpack.o UnpackYCC.o BitDecode.o EpsEncode.o FliDecode.o
GifDecode.o GifEncode.o HexDecode.o JpegDecode.o JpegEncode.o
LzwDecode.o MspDecode.o PackDecode.o PcdDecode.o PcxDecode.o PcxEncode.o
RawDecode.o RawEncode.o SunRleDecode.o TgaRleDecode.o XbmDecode.o
XbmEncode.o ZipDecode.o ZipEncode.o
ranlib libImaging.a
gcc -o coretest coretest.o libImaging.a -lz -ljpeg  -lm
rdx313 at myra:~/Imaging-1.1.2/libImaging$ make check 
./coretest
>>> processing lena.ppm...
>>> elapsed time: 0
>>> as far as we tested, everything seems to be ok...
xv test.ppm
make: xv: Command not found
make: [check] Error 127 (ignored)
rdx313 at myra:~/Imaging-1.1.2/libImaging$ cd ..
rdx313 at myra:~/Imaging-1.1.2$ make -f Makefile.pre.in boot
rm -f *.o *~
rm -f *.a tags TAGS config.c Makefile.pre python sedscript
rm -f *.so *.sl so_locations
VERSION=`python -c "import sys; print sys.version[:3]"`; \
installdir=`python -c "import sys; print sys.prefix"`; \
exec_installdir=`python -c "import sys; print sys.exec_prefix"`; \
make -f ./Makefile.pre.in VPATH=. srcdir=. \
        VERSION=$VERSION \
        installdir=$installdir \
        exec_installdir=$exec_installdir \
        Makefile
make[1]: Entering directory `/home/rdx/web/rdx313/Imaging-1.1.2'
make[1]: *** No rule to make target
`/usr/lib/python1.5/config/Makefile', needed by `sedscript'.  Stop.
make[1]: Leaving directory `/home/rdx/web/rdx313/Imaging-1.1.2'
make: *** [boot] Error 2
rdx313 at myra:~/Imaging-1.1.2$



More information about the Python-list mailing list