[Image-SIG] Compilation prob on solaris 8

Oliver Skiebe oliver.skiebe@gmx.net
Thu, 21 Mar 2002 17:10:18 +0100


Hi there,

we just faced a problem trying to compile PIL 1.1.3 on a solaris box
w/sunos 5.8
-> gcc version 2.95.3
-> python 2.1.2
Configure said:

# CC=3D"cc -ansi" ./configure
creating cache ./config.cache
checking for --without-gcc... no
checking for gcc... cc -ansi
checking whether the C compiler (cc -ansi  ) works... yes
checking whether the C compiler (cc -ansi  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether cc -ansi accepts -g... yes
checking for ranlib... :
checking for ar... ar
checking MACHDEP... sunos5
checking for jpeg_destroy_compress in -ljpeg... yes
checking for deflate in -lz... yes
checking how to run the C preprocessor... cc -ansi -E
checking for ANSI C header files... no
checking for inline... __inline__
checking whether byte ordering is bigendian... yes
checking size of char... 0
checking size of short... 0
checking size of int... 0
checking size of long... 0
checking size of float... 0
checking size of double... 0
checking for working const... yes
checking for prototypes... yes
checking for unistd.h... yes
checking for getpagesize... yes
checking for working mmap... no
updating cache ./config.cache
creating ./config.status
creating Makefile
creating ImConfig.h

make returned:
#make
cc -ansi -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c -o coretest.o
coretest.c
In file included from Imaging.h:21,
                 from coretest.c:19:
ImPlatform.h:18: #error Sorry, this library requires ANSI header files.
ImPlatform.h:36: #error Cannot find required 32-bit integer type
ImPlatform.h:48: #error Cannot find required 32-bit floating point type
make: *** [coretest.o] Error 1

sorry, i=B4m quite new to this stuff - thank you a lot for any suggestions!

-oliver