Date: Wed, 14 Nov 2007 16:23:49 +0000 From: Vince <jhary@unsane.co.uk> To: tonylabarbara@aol.com Cc: freebsd-questions@freebsd.org Subject: Re: Tkinter Libraries Needed Message-ID: <473B2115.60909@unsane.co.uk> In-Reply-To: <8C9F4EDA68542DE-918-2F40@webmail-me12.sysops.aol.com> References: <8C9F4E55D5AFC1C-918-2AB6@webmail-me12.sysops.aol.com> <473B119C.2090105@unsane.co.uk> <8C9F4EDA68542DE-918-2F40@webmail-me12.sysops.aol.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hmm you could try pkg_delete py24-imaging-1.1.5 and see if that works better (may need -f) I tend to use portupgrade though. Vince tonylabarbara@aol.com wrote: > Right. I tried that a while back and forgot I had. This is what I get: > > server726# cd /usr/ports/graphics/py-imaging > server726# make install clean > ===> Installing for py24-imaging-1.1.5 > ===> py24-imaging-1.1.5 depends on file: > /usr/local/lib/python2.4/site-packages/_tkinter.so - found > ===> py24-imaging-1.1.5 depends on file: /usr/local/bin/python - found > ===> py24-imaging-1.1.5 depends on shared library: jpeg.9 - found > ===> py24-imaging-1.1.5 depends on shared library: freetype.9 - found > ===> Generating temporary packing list > ===> Checking if graphics/py-imaging already installed > ===> An older version of graphics/py-imaging is already installed > (py23-imaging-1.1.5) > You may wish to ``make deinstall'' and install this port again > by ``make reinstall'' to upgrade it properly. > If you really wish to overwrite the old port of graphics/py-imaging > without deleting it first, set the variable "FORCE_PKG_REGISTER" > in your environment or the "make install" command line. > *** Error code 1 > Stop in /usr/ports/graphics/py-imaging. > server726# make deinstall > ===> Deinstalling for graphics/py-imaging > server726# make reinstall > ===> Installing for py24-imaging-1.1.5 > ===> py24-imaging-1.1.5 depends on file: > /usr/local/lib/python2.4/site-packages/_tkinter.so - found > ===> py24-imaging-1.1.5 depends on file: /usr/local/bin/python2.4 - found > ===> py24-imaging-1.1.5 depends on shared library: jpeg.9 - found > ===> py24-imaging-1.1.5 depends on shared library: freetype.9 - found > ===> Generating temporary packing list > ===> Checking if graphics/py-imaging already installed > ===> An older version of graphics/py-imaging is already installed > (py23-imaging-1.1.5) > You may wish to ``make deinstall'' and install this port again > by ``make reinstall'' to upgrade it properly. > If you really wish to overwrite the old port of graphics/py-imaging > without deleting it first, set the variable "FORCE_PKG_REGISTER" > in your environment or the "make install" command line. > *** Error code 1 > Stop in /usr/ports/graphics/py-imaging. > *** Error code 1 > Stop in /usr/ports/graphics/py-imaging. > > Ideas? > TIA, > Tony > > /usr/ports/graphics/py-imaging > > > > > -----Original Message----- > From: Vince <jhary@unsane.co.uk> > To: tonylabarbara@aol.com > Cc: freebsd-questions@freebsd.org > Sent: Wed, 14 Nov 2007 11:17 am > Subject: Re: Tkinter Libraries Needed > > tonylabarbara@aol.com <mailto:tonylabarbara@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 <http://mail.aol.com/> >> _______________________________________________ >> freebsd-questions@freebsd.org <mailto:freebsd-questions@freebsd.org> mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org <mailto:freebsd-questions-unsubscribe@freebsd.org>" > > ------------------------------------------------------------------------ > Email and AIM finally together. You've gotta check out free AOL Mail > <http://o.aolcdn.com/cdn.webmail.aol.com/mailtour/aol/en-us/index.htm?ncid=AOLAOF00020000000970>!
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?473B2115.60909>