Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Feb 2004 09:35:33 +0800
From:      Khairil Yusof <kaeru@pd.jaring.my>
To:        Jeremy Messenger <mezz7@cox.net>
Cc:        python@freebsd.org
Subject:   Re: gnome2 build failure
Message-ID:  <1077327332.21527.26.camel@wolverine.cerebro.net.my>
In-Reply-To: <opr3ov6dge8ckrg5@smtp.central.cox.net>
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>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-4fHhzrkFbTfKymdXfum7
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

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=20
> script in the different way. So, there must be something in the=20
> LookupManager.py and Main.py that libpthread doesn't like? I tried to use=
=20
> 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)

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=3D/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.

--
"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

--=-4fHhzrkFbTfKymdXfum7
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQBANrXjDAqnLW/+/X8RAiAJAJ9Vaunh6YPykj02le/mv4GqROfi4QCgo1qO
cszItXWpeNnW8EFnfMzth0g=
=onI5
-----END PGP SIGNATURE-----

--=-4fHhzrkFbTfKymdXfum7--



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