From owner-freebsd-questions@FreeBSD.ORG Wed Nov 14 15:04:32 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1E8F616A419 for ; Wed, 14 Nov 2007 15:04:32 +0000 (UTC) (envelope-from tonylabarbara@aol.com) Received: from imo-d22.mx.aol.com (imo-d22.mx.aol.com [205.188.144.208]) by mx1.freebsd.org (Postfix) with ESMTP id D1B6D13C46E for ; Wed, 14 Nov 2007 15:04:31 +0000 (UTC) (envelope-from tonylabarbara@aol.com) Received: from tonylabarbara@aol.com by imo-d22.mx.aol.com (mail_out_v38_r9.3.) id n.cc2.1c0953f6 (34923) for ; Wed, 14 Nov 2007 09:54:17 -0500 (EST) Received: from webmail-me12 (webmail-me12.webmail.aol.com [64.12.88.204]) by cia-da03.mx.aol.com (v120.9) with ESMTP id MAILCIADA038-886b473b0c192b1; Wed, 14 Nov 2007 09:54:17 -0400 To: freebsd-questions@freebsd.org Date: Wed, 14 Nov 2007 09:54:17 -0500 X-MB-Message-Source: WebUI X-MB-Message-Type: User MIME-Version: 1.0 From: tonylabarbara@aol.com X-Mailer: AOL WebMail 31361-STANDARD Received: from 190.166.0.252 by webmail-me12.sysops.aol.com (64.12.88.204) with HTTP (WebMailUI); Wed, 14 Nov 2007 09:54:17 -0500 Message-Id: <8C9F4E55D5AFC1C-918-2AB6@webmail-me12.sysops.aol.com> X-AOL-IP: 64.12.88.204 X-Spam-Flag: NO Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Tkinter Libraries Needed X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Nov 2007 15:04:32 -0000 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