Date: Sat, 4 Dec 2004 18:25:34 -0500 (EST) From: Chuck Robey <chuckr@chuckr.org> To: Kris Kennaway <kris@obsecurity.org> Cc: Pico Pico <picohatta@hotmail.com> Subject: Re: py24-qt 3.13 compile issue Message-ID: <20041204174812.Q75698@april.chuckr.org> In-Reply-To: <20041204035557.GA86935@xor.obsecurity.org> References: <BAY15-F262C2AEC26E24C5BDAB94AB2B20@phx.gbl> <20041204035557.GA86935@xor.obsecurity.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 3 Dec 2004, Kris Kennaway wrote:
> On Sat, Dec 04, 2004 at 03:30:36AM +0000, Pico Pico wrote:
> > I recently just cvsup'd my ports tree then portupgrade -a...
> >
> > Unfortunately after that i started to have issues with Qtorrent and
> > Nicotine not starting up...
> >
> > I *thought* my problem was with qtorrent/py-qt so i did a make deinstall
> > clean on both.. Now I can't recompile either... Can anyone help me out
> > with this? I've tried search google but to no avail....
>
> It doesn't compile with python 2.4; talk to the software authors or
> see bsd.python.mk for how to build it with python 2.3.
Kris, I just did a fresh cvsup to make sure where I was, I tossed out all
of what I had, and rebuilt; it builds just fine. The problem is NOT
withthe binary, it's with the library.
How to duplicate?
cd /usr/ports/lang/python && make install
cd /usr/ports/x11-toolkits/py-gtk && make install
Then, do an
import sys, pygtk
pygtk.require('2.0')
import gtk
inside python, that ought to get you an exception, one that looks like:
july:chuckr:~/pygtk:#110>./Video.py
Traceback (most recent call last):
File "./Video.py", line 5, in ?
pygtk.require('2.0')
File "/usr/local/lib/python2.4/site-packages/pygtk.py", line 47, in
require
versions = _get_available_versions()
File "/usr/local/lib/python2.4/site-packages/pygtk.py", line 34, in
_get_available_versions
for filename in os.listdir(dir):
OSError: [Errno 2] No such file or directory:
'/usr/local/lib/python24.zip'
I can't locate where any reference to file python24.zip is coming from,
but the file doesn't exist. If I 'touch' it, then it merely moves the
location of the problem along to the next one I need in my app. Something
is wrong, badly wrong, with the site-packages mechanism, and that means
that FreeBSD itself is fine, and in my own opinion, the python binary is
fine also.
>
> Kris
>
----------------------------------------------------------------------------
Chuck Robey | Interests include C & Java programming, FreeBSD,
chuckr@chuckr.org | electronics, communications, and SF/Fantasy.
New Year's Resolution: I will not sphroxify gullible people into looking up
fictitious words in the dictionary (on the wall at my old fraternity,
Signa Phi Nothing).
----------------------------------------------------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041204174812.Q75698>
