[Trac #691] PYTHONPATH not set correctly in a AMD64
Zarro Boogs per Child
bugtracker at laptop.org
Tue Jan 9 04:29:44 EST 2007
#691: PYTHONPATH not set correctly in a AMD64
---------------------+------------------------------------------------------
Reporter: gonzalo | Owner: dcbw
Type: defect | Status: new
Priority: normal | Milestone: Untriaged
Component: sugar | Keywords:
---------------------+------------------------------------------------------
I had to change these lines in the sugar-jhbuild file:
path = 'lib/python2.4/site-packages'
jhbuild.config.addpath ('PYTHONPATH', os.path.join(config.prefix, path))
path = 'lib/gtk-2.0/'
jhbuild.config.addpath('GTK_PATH', os.path.join(config.prefix, path))
to this
path = 'lib64/python2.4/site-packages'
jhbuild.config.addpath('PYTHONPATH', os.path.join(config.prefix, path))
path = 'lib64/gtk-2.0/'
jhbuild.config.addpath('GTK_PATH', os.path.join(config.prefix, path))
otherwise I got this error message:
*** Building xbook *** [30/38]
python setup.py build
Traceback (most recent call last):
File "setup.py", line 19, in ?
from sugar.activity import bundlebuilder
ImportError: No module named sugar.activity
*** error during stage build of xbook: Error running ['python',
'setup.py', 'build'] *** [30/38]
because PYTHONPATH was not set to the correct subdirectory.
--
Ticket URL: <http://dev.laptop.org/ticket/691>
One Laptop Per Child <http://laptop.org/>
More information about the Bugs
mailing list