[Image-SIG] Possible setup.py bug
Ed Suominen
general at eepatents.com
Thu Jun 10 13:42:29 EDT 2004
Nathan, you might have better luck using Gentoo's version of PIL:
emerge dev-python/Imaging
Welcome to Linux! You'll be amazed at what you can do with it.
On Thursday 10 June 2004 10:32 am, Nathan Sanders wrote:
> I believe I have found a bug in setup.py for a Linux (or POSIX in general)
> install.
> If you don't have Tk installed, but do have FreeType, the variables
> EXTRA_COMPILE_ARGS and EXTRA_LINK_ARGS are used in line 287 and 288, but
> are only bound in the else branch of the try on line 127 that depends on
> having
> Tk installed. My workaround was to move the lines
> (128-129)
> EXTRA_COMPILE_ARGS = None
> EXTRA_LINK_ARGS = None
> to just above the try at lines (121-122)
>
> (Sorry, I'm too new to Unix to know how to produce a diff or patch.
> Instruction would be welcome if necessary.)
> I'm using Python 2.3.3, PIL 1.1.4, both compiled from source.
> My Linux distro is gentoo--something recent,
> that installs Python without Tk.
>
> --Nathan Sanders
>
>
> _______________________________________________
> Image-SIG maillist - Image-SIG at python.org
> http://mail.python.org/mailman/listinfo/image-sig
More information about the Image-SIG
mailing list