Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Nov 2007 10:53:36 -0500
From:      tonylabarbara@aol.com
To:        jhary@unsane.co.uk
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Tkinter Libraries Needed
Message-ID:  <8C9F4EDA68542DE-918-2F40@webmail-me12.sysops.aol.com>
In-Reply-To: <473B119C.2090105@unsane.co.uk>
References:  <8C9F4E55D5AFC1C-918-2AB6@webmail-me12.sysops.aol.com> <473B119C.2090105@unsane.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help

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
=3D=3D=3D>=C2=A0 Installing for py24-imaging-1.1.5
=3D=3D=3D>=C2=A0=C2=A0 py24-imaging-1.1.5 depends on file: /usr/local/lib/py=
thon2.4/site-packages/_tkinter.so - found
=3D=3D=3D>=C2=A0=C2=A0 py24-imaging-1.1.5 depends on file: /usr/local/bin/py=
thon - found
=3D=3D=3D>=C2=A0=C2=A0 py24-imaging-1.1.5 depends on shared library: jpeg.9=20=
- found
=3D=3D=3D>=C2=A0=C2=A0 py24-imaging-1.1.5 depends on shared library: freetyp=
e.9 - found
=3D=3D=3D>=C2=A0=C2=A0 Generating temporary packing list
=3D=3D=3D>=C2=A0 Checking if graphics/py-imaging already installed
=3D=3D=3D>=C2=A0=C2=A0 An older version of graphics/py-imaging is already in=
stalled (py23-imaging-1.1.5)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 You may wish to ``make deinstall'' and instal=
l this port again
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 by ``make reinstall'' to upgrade it properly.
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 If you really wish to overwrite the old port=20=
of graphics/py-imaging
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 without deleting it first, set the variable "=
FORCE_PKG_REGISTER"
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 in your environment or the "make install" com=
mand line.
*** Error code 1

Stop in /usr/ports/graphics/py-imaging.
server726# make deinstall
=3D=3D=3D>=C2=A0 Deinstalling for graphics/py-imaging
server726# make reinstall
=3D=3D=3D>=C2=A0 Installing for py24-imaging-1.1.5
=3D=3D=3D>=C2=A0=C2=A0 py24-imaging-1.1.5 depends on file: /usr/local/lib/py=
thon2.4/site-packages/_tkinter.so - found
=3D=3D=3D>=C2=A0=C2=A0 py24-imaging-1.1.5 depends on file: /usr/local/bin/py=
thon2.4 - found
=3D=3D=3D>=C2=A0=C2=A0 py24-imaging-1.1.5 depends on shared library: jpeg.9=20=
- found
=3D=3D=3D>=C2=A0=C2=A0 py24-imaging-1.1.5 depends on shared library: freetyp=
e.9 - found
=3D=3D=3D>=C2=A0=C2=A0 Generating temporary packing list
=3D=3D=3D>=C2=A0 Checking if graphics/py-imaging already installed
=3D=3D=3D>=C2=A0=C2=A0 An older version of graphics/py-imaging is already in=
stalled (py23-imaging-1.1.5)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 You may wish to ``make deinstall'' and instal=
l this port again
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 by ``make reinstall'' to upgrade it properly.
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 If you really wish to overwrite the old port=20=
of graphics/py-imaging
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 without deleting it first, set the variable "=
FORCE_PKG_REGISTER"
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 in your environment or the "make install" com=
mand 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 wrote:
 Hi;
 After a second googling, I discovered the reason I can't install the Python=
=20
maging Library (PIL) appears to be because I need some development=20
ibraries...that I can't find in the ports. I'm running FBSD 5.5. I=C2=B4ve i=
nstalled=20
ope 2.10.5 on top of Python 2.4.2 (not optimal, but it will work, according=20=
to=20
he build instructions). I installed Plone 3.0.2 and I get errors when I cran=
k=20
p Zope, all related to a non-existent PIL. So I d/l/d the latest PIL, ploppe=
d=20
t in my Extensions dir, ran this:
=20
'm not knowlegeable on python but
usr/ports/graphics/py-imaging looks like what you wanted. (version
.1.6 which seems to be the latest) If you install it from ports it
hould pull in what it needs.
Vince
> python setup.py build_ext -i
=20
 and got this:
=20
=20
 running build_ext=20
=20
 building '_imagingtk' extension=20
=20
 creating build/temp.freebsd-5.5-RELEASE-i386-2.4/Tk=20
=20
 cc -fno-strict-aliasing -DNDEBUG -O -pipe -D__wchar_t=3Dwchar_t=20
DTHREAD_STACK_SIZE=3D0x100000 -fPIC -I/usr/local/include/freetype2 -IlibImag=
ing=20
I/usr/local/include -I/usr/include -I/usr/local/include/python2.4 -c=20
imagingtk.c -o build/temp.freebsd-5.5-RELEASE-i386-2.4/_imagingtk.o=20
=20
 _imagingtk.c:20:16: tk.h: No such file or directory=20
=20
 _imagingtk.c:23: error: syntax error before '*' token=20
=20
 _imagingtk.c:31: error: syntax error before "Tcl_Interp"=20
=20
 _imagingtk.c: In function `_tkinit':=20
=20
 _imagingtk.c:37: error: `Tcl_Interp' undeclared (first use in this function=
)=20
=20
 _imagingtk.c:37: error: (Each undeclared identifier is reported only once=20
=20
 _imagingtk.c:37: error: for each function it appears in.)=20
=20
 _imagingtk.c:37: error: `interp' undeclared (first use in this function)=20
=20
 _imagingtk.c:45: error: syntax error before ')' token=20
=20
 _imagingtk.c:50: error: `app' undeclared (first use in this function)=20
=20
 _imagingtk.c: At top level:=20
=20
 _imagingtk.c:55: warning: parameter names (without types) in function=20
eclaration=20
=20
 _imagingtk.c:55: error: conflicting types for 'TkImaging_Init'=20
=20
 _imagingtk.c:23: error: previous declaration of 'TkImaging_Init' was here=20
=20
 _imagingtk.c:55: error: conflicting types for 'TkImaging_Init'=20
=20
 _imagingtk.c:23: error: previous declaration of 'TkImaging_Init' was here=20
=20
 _imagingtk.c:55: warning: data definition has no type or storage class=20
=20
 _imagingtk.c:57: error: syntax error before '&' token=20
=20
 error: command 'cc' failed with exit status 1
=20
 According to my googling...
=20
=20
=20
 the setup procedure has determined that your Python has been built with
=20
 Tkinter, and that Tcl/Tk libraries and include files seem to be available,=20=
but
=20
 the compiler cannot find them, for some unknown reason.
=20
 have you tried installing the Tcl and Tk development libraries ? (usually
=20
 tcl-devel and tk-devel)
=20
 .
=20
=20
 I cannot find any such animals. Ideas on what to do?
 TIA,
 Tony
=20
=20
=20
=20
 ________________________________________________________________________
 Email and AIM finally together. You've gotta check out free AOL Mail! -=20
ttp://mail.aol.com
 _______________________________________________
 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=
"


________________________________________________________________________
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?8C9F4EDA68542DE-918-2F40>