[sugar] Re: Problem building sugar-jhbuild

gonzalo delgado gonzalo
Mon Jan 8 14:11:39 EST 2007


2007/1/8, gonzalo delgado <gonzalo at tuquito.org.ar>:
>
>
> I'm still getting this after starting over and choosing "Go to configure
> stage" when it fails to run autoconf at libabiword:
>
> *** 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]
>
>

I'm starting to figure this one out. The PYTHON_PATH variable is set to:

PYTHONPATH="/home/gonzalo/codigo/sugar-jhbuild/build/lib/python2.4/site-packages:/usr/lib/portage/pym"

but the python2.4/sitepackages subdirectory is actually in
"/home/gonzalo/codigo/sugar-jhbuild/lib64"

I change the PYTHONPATH variable to point to the correct place and doing
"./sugar-jhbuild buildone xbook" successfully installs the xbook activity.
 Now, how do I make that change global?

Regards.


-- 
Gonzalo Delgado.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.laptop.org/pipermail/sugar/attachments/20070108/3f295a27/attachment.html


More information about the Sugar-devel mailing list