Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Feb 2004 20:47:02 -0600
From:      Jeremy Messenger <mezz7@cox.net>
To:        Khairil Yusof <kaeru@pd.jaring.my>
Cc:        python@freebsd.org
Subject:   Re: gnome2 build failure
Message-ID:  <opr3o8ooig8ckrg5@smtp.central.cox.net>
In-Reply-To: <1077327332.21527.26.camel@wolverine.cerebro.net.my>
References:  <20040220055651.GG13847@toxic.magnesium.net> <opr3nm5mbo8ckrg5@smtp.central.cox.net> <20040220071247.GH13847@toxic.magnesium.net> <1077261279.14072.32.camel@shumai.marcuscom.com> <opr3ov6dge8ckrg5@smtp.central.cox.net> <1077327332.21527.26.camel@wolverine.cerebro.net.my>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 21 Feb 2004 09:35:33 +0800, Khairil Yusof <kaeru@pd.jaring.my> 
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?opr3o8ooig8ckrg5>