Date: Wed, 14 Nov 2007 09:54:17 -0500 From: tonylabarbara@aol.com To: freebsd-questions@freebsd.org Subject: Tkinter Libraries Needed Message-ID: <8C9F4E55D5AFC1C-918-2AB6@webmail-me12.sysops.aol.com>
next in thread | raw e-mail | index | archive | help
Hi; After a second googling, I discovered the reason I can't install=C2=A0the Py= thon Imaging Library (PIL)=C2=A0appears to be because I need some developmen= t libraries...that I can't find in the ports. I'm running FBSD 5.5. I=C2=B4v= e installed Zope 2.10.5 on top of Python 2.4.2 (not optimal, but it will wor= k, according to the build instructions). I installed Plone 3.0.2 and I get e= rrors when I crank up Zope, all related to a non-existent PIL. So I d/l/d th= e latest PIL, plopped it in my Extensions dir, ran this: python setup.py build_ext -i and got this: running build_ext=20 building '_imagingtk' extension=20 creating build/temp.freebsd-5.5-RELEASE-i386-2.4/Tk=20 cc -fno-strict-aliasing -DNDEBUG -O -pipe -D__wchar_t=3Dwchar_t -DTHREAD_STA= CK_SIZE=3D0x100000 -fPIC -I/usr/local/include/freetype2 -IlibImaging -I/usr/= local/include -I/usr/include -I/usr/local/include/python2.4 -c _imagingtk.c=20= -o build/temp.freebsd-5.5-RELEASE-i386-2.4/_imagingtk.o=20 _imagingtk.c:20:16: tk.h: No such file or directory=20 _imagingtk.c:23: error: syntax error before '*' token=20 _imagingtk.c:31: error: syntax error before "Tcl_Interp"=20 _imagingtk.c: In function `_tkinit':=20 _imagingtk.c:37: error: `Tcl_Interp' undeclared (first use in this function)= =20 _imagingtk.c:37: error: (Each undeclared identifier is reported only once=20 _imagingtk.c:37: error: for each function it appears in.)=20 _imagingtk.c:37: error: `interp' undeclared (first use in this function)=20 _imagingtk.c:45: error: syntax error before ')' token=20 _imagingtk.c:50: error: `app' undeclared (first use in this function)=20 _imagingtk.c: At top level:=20 _imagingtk.c:55: warning: parameter names (without types) in function declar= ation=20 _imagingtk.c:55: error: conflicting types for 'TkImaging_Init'=20 _imagingtk.c:23: error: previous declaration of 'TkImaging_Init' was here=20 _imagingtk.c:55: error: conflicting types for 'TkImaging_Init'=20 _imagingtk.c:23: error: previous declaration of 'TkImaging_Init' was here=20 _imagingtk.c:55: warning: data definition has no type or storage class=20 _imagingtk.c:57: error: syntax error before '&' token=20 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, b= ut 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8C9F4E55D5AFC1C-918-2AB6>