Tkinter Libraries Needed
Vince
jhary at unsane.co.uk
Wed Nov 14 07:18:02 PST 2007
tonylabarbara at aol.com wrote:
> Hi;
> After a second googling, I discovered the reason I can't install the Python Imaging Library (PIL) appears to be because I need some development libraries...that I can't find in the ports. I'm running FBSD 5.5. I´ve installed Zope 2.10.5 on top of Python 2.4.2 (not optimal, but it will work, according to the build instructions). I installed Plone 3.0.2 and I get errors when I crank up Zope, all related to a non-existent PIL. So I d/l/d the latest PIL, plopped it in my Extensions dir, ran this:
>
I'm not knowlegeable on python but
/usr/ports/graphics/py-imaging looks like what you wanted. (version
1.1.6 which seems to be the latest) If you install it from ports it
should pull in what it needs.
Vince
> python setup.py build_ext -i
>
> and got this:
>
>
> running build_ext
>
> building '_imagingtk' extension
>
> creating build/temp.freebsd-5.5-RELEASE-i386-2.4/Tk
>
> cc -fno-strict-aliasing -DNDEBUG -O -pipe -D__wchar_t=wchar_t -DTHREAD_STACK_SIZE=0x100000 -fPIC -I/usr/local/include/freetype2 -IlibImaging -I/usr/local/include -I/usr/include -I/usr/local/include/python2.4 -c _imagingtk.c -o build/temp.freebsd-5.5-RELEASE-i386-2.4/_imagingtk.o
>
> _imagingtk.c:20:16: tk.h: No such file or directory
>
> _imagingtk.c:23: error: syntax error before '*' token
>
> _imagingtk.c:31: error: syntax error before "Tcl_Interp"
>
> _imagingtk.c: In function `_tkinit':
>
> _imagingtk.c:37: error: `Tcl_Interp' undeclared (first use in this function)
>
> _imagingtk.c:37: error: (Each undeclared identifier is reported only once
>
> _imagingtk.c:37: error: for each function it appears in.)
>
> _imagingtk.c:37: error: `interp' undeclared (first use in this function)
>
> _imagingtk.c:45: error: syntax error before ')' token
>
> _imagingtk.c:50: error: `app' undeclared (first use in this function)
>
> _imagingtk.c: At top level:
>
> _imagingtk.c:55: warning: parameter names (without types) in function declaration
>
> _imagingtk.c:55: error: conflicting types for 'TkImaging_Init'
>
> _imagingtk.c:23: error: previous declaration of 'TkImaging_Init' was here
>
> _imagingtk.c:55: error: conflicting types for 'TkImaging_Init'
>
> _imagingtk.c:23: error: previous declaration of 'TkImaging_Init' was here
>
> _imagingtk.c:55: warning: data definition has no type or storage class
>
> _imagingtk.c:57: error: syntax error before '&' token
>
> error: command 'cc' failed with exit status 1
>
> According to my googling...
>
>
>
> the setup procedure has determined that your Python has been built with
>
> Tkinter, and that Tcl/Tk libraries and include files seem to be available, but
>
> the compiler cannot find them, for some unknown reason.
>
> have you tried installing the Tcl and Tk development libraries ? (usually
>
> tcl-devel and tk-devel)
>
> .
>
>
> I cannot find any such animals. Ideas on what to do?
> TIA,
> Tony
>
>
>
>
> ________________________________________________________________________
> Email and AIM finally together. You've gotta check out free AOL Mail! - http://mail.aol.com
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions
mailing list