From owner-freebsd-gnome@FreeBSD.ORG Fri Feb 20 18:48:11 2004 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C47E816A4CE; Fri, 20 Feb 2004 18:48:11 -0800 (PST) Received: from lakemtao07.cox.net (lakemtao07.cox.net [68.1.17.114]) by mx1.FreeBSD.org (Postfix) with ESMTP id A72DB43D1F; Fri, 20 Feb 2004 18:48:06 -0800 (PST) (envelope-from mezz7@cox.net) Received: from mezz.mezzweb.com ([68.103.32.11]) by lakemtao07.cox.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with ESMTP id <20040221024804.EHMX2432.lakemtao07.cox.net@mezz.mezzweb.com>; Fri, 20 Feb 2004 21:48:04 -0500 Date: Fri, 20 Feb 2004 20:47:02 -0600 To: Khairil Yusof References: <20040220055651.GG13847@toxic.magnesium.net> <20040220071247.GH13847@toxic.magnesium.net> <1077261279.14072.32.camel@shumai.marcuscom.com> <1077327332.21527.26.camel@wolverine.cerebro.net.my> From: Jeremy Messenger Content-Type: text/plain; format=flowed; charset=iso-8859-1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: In-Reply-To: <1077327332.21527.26.camel@wolverine.cerebro.net.my> User-Agent: Opera7.23/Linux M2 build 518 cc: FreeBSD GNOME Users cc: python@freebsd.org Subject: Re: gnome2 build failure X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Feb 2004 02:48:11 -0000 On Sat, 21 Feb 2004 09:35:33 +0800, Khairil Yusof wrote: > On Fri, 2004-02-20 at 16:16 -0600, Jeremy Messenger wrote: > >> Python compile the optimize on LookupManager.py and Main.py in Straw's >> script in the different way. So, there must be something in the >> LookupManager.py and Main.py that libpthread doesn't like? I tried to >> use >> the bsdiff and diff --text, but it doesn't show clear. > > It actually works if you do a normal python install with setup.py > install. > > What's the command it runs after: > /usr/local/bin/python -O /tmp/tmpm3u6iL.py > > > That line works fine (meaning the script runs and creates compiled > bytecodes for the list of files it was given) Right, I just found out after I sent this email.. > I then ran setup.py install, and it installed without a hitch. > I also than managed to run straw and poll for the latest news. > > The only difference I see is that you are installing it into /usr/X11R6/ > share/gnome/straw > vs > The default, which is to install into /usr/local/lib/python2.3/site- > packages (directory where python loads all it's modules by default). > > This was not a problem either, as setting STRAW_LIB=/usr/X11R6/share/ > gnome/straw ran the port installed versions just fine. > > I then ran it from compiled bytecodes (.pyo) and without (.py) with no > problems at all and was able to poll and read news. > > I have to go now, I'll have a look later at find out what is running > after the bytecode compile script is run. Thanks for look at this! :-) I am not skill on Python, but I will try to surf around in /usr/local/lib/python2.3/distutils/ and others to see if I find anything until anyone come back with the answer or whatever. Cheers, Mezz > -- > "You keep using that word. I do not think it means what you think it > means." > > FreeBSD 5.2-CURRENT i386 > 9:00am up 9:38, 3 users, load averages: 1.98, 1.80, 1.78 -- bsdforums.org 's moderator, mezz.