From owner-freebsd-questions@FreeBSD.ORG Sat Dec 4 23:02:14 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 20A8F16A4CE for ; Sat, 4 Dec 2004 23:02:14 +0000 (GMT) Received: from april.chuckr.org (april.chuckr.org [66.92.151.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8011C43D2F for ; Sat, 4 Dec 2004 23:02:13 +0000 (GMT) (envelope-from chuckr@chuckr.org) Received: from april.chuckr.org (localhost [127.0.0.1]) by april.chuckr.org (8.13.1/8.12.11) with ESMTP id iB4NPauM075852; Sat, 4 Dec 2004 18:25:36 -0500 (EST) (envelope-from chuckr@chuckr.org) Received: from localhost (chuckr@localhost)iB4NPZ4M075849; Sat, 4 Dec 2004 18:25:35 -0500 (EST) (envelope-from chuckr@chuckr.org) X-Authentication-Warning: april.chuckr.org: chuckr owned process doing -bs Date: Sat, 4 Dec 2004 18:25:34 -0500 (EST) From: Chuck Robey To: Kris Kennaway In-Reply-To: <20041204035557.GA86935@xor.obsecurity.org> Message-ID: <20041204174812.Q75698@april.chuckr.org> References: <20041204035557.GA86935@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-questions@freebsd.org cc: Pico Pico Subject: Re: py24-qt 3.13 compile issue X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Dec 2004 23:02:14 -0000 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). ----------------------------------------------------------------------------