[Image-SIG] Re: Imaging 1.1.4 --problem--

Fredrik Lundh fredrik at pythonware.com
Sun Dec 21 08:16:48 EST 2003


"markus haist" <info at haist.net> wrote:

> I'm trying to install PIL 1.1.4 on SuSE 8.2, Python 2.3
>
> the core libimaging compilation seems to work fine.
>
> but when I try run make (after make-f Makefile.pre.in boot), it keeps
> giving me the following error message
>
>
> gcc -pthread -fPIC -DNDEBUG -g -O3 -Wall -Wstrict-prototypes
> -I/usr/local/include/python2.3 -I/usr/local/include/python2.3 @DEFS@
> -IlibImaging -I/usr/local/include -I/usr/local/include -c ././_imaging.c
> -o ./_imaging.o
>
> gcc: cannot specify -o with -c or -S and multiple compilations
> make: *** [_imaging.o] Error 1

note that the @DEFS@ directive hasn't been expanded.

I don't have time to double check, but I suspect that the Makefile.pre.in
approach simply doesn't work under Python 2.3.

try building using setup.py instead (see the README for details).

</F>






More information about the Image-SIG mailing list