py24-qt 3.13 compile issue
Chuck Robey
chuckr at chuckr.org
Sat Dec 4 15:02:14 PST 2004
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 at 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).
----------------------------------------------------------------------------
More information about the freebsd-questions
mailing list