Re: had to hack setup.py to find tk.h

Fredrik Lundh <[email protected]>
Newsgroups gmane.comp.python.image
Message-ID <[email protected]>
Which versions of PIL and Ubuntu?  (I'm pretty sure I built this
successfully on 9.10.)

</F>

On Thu, Nov 26, 2009 at 3:57 PM, Michael P. Soulier
<[email protected]> wrote:
> Hi,
>
> I'm on an Ubuntu system and I had to add this to setup.py to get PIL to
> build with the Tk extension.
>
>  add_directory(include_dirs, "/usr/include/tk")
>
> as tk.h is not in /usr/include
>
> Cheers,
> Mike
> --
> Michael P. Soulier <[email protected]>
> "Any intelligent fool can make things bigger and more complex... It
> takes a touch of genius - and a lot of courage to move in the opposite
> direction." --Albert Einstein
>
> _______________________________________________
> Image-SIG maillist  -  [email protected]
> http://mail.python.org/mailman/listinfo/image-sig
>
>
_______________________________________________
Image-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/image-sig
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.