[sugar] sugar-jhbuild on Ubuntu

Polychronis Ypodimatopoulos ypod at mit.edu
Wed Jan 16 12:21:46 EST 2008


I'm building sugar-jhbuild clean on Ubuntu following 
http://wiki.laptop.org/go/Sugar_with_sugar-jhbuild but I always stumble 
on the following:

/home/ypod/projects/sugar-jhbuild/source/dbus-python-0.82.3/install-sh 
-c -m 644 'types.py' 
'/home/ypod/projects/sugar-jhbuild/build/lib/python2.5/site-packages/dbus/types.py'
'import site' failed; use -v for traceback
Traceback (most recent call last):
  File "<string>", line 2, in <module>
  File "/usr/lib/python2.5/os.py", line 696, in <module>
    import copy_reg as _copy_reg
  File "/usr/lib/python2.5/copy_reg.py", line 7, in <module>
    from types import ClassType as _ClassType
ImportError: cannot import name ClassType
make[3]: *** [install-nobase_pythondbusPYTHON] Error 1
make[3]: Leaving directory 
`/home/ypod/projects/sugar-jhbuild/source/dbus-python-0.82.3/dbus'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory 
`/home/ypod/projects/sugar-jhbuild/source/dbus-python-0.82.3/dbus'
make[1]: *** [install] Error 2
make[1]: Leaving directory 
`/home/ypod/projects/sugar-jhbuild/source/dbus-python-0.82.3/dbus'
make: *** [install-recursive] Error 1
*** error during stage install of dbus-python: ########## Error running 
make   install *** [1/1]

I tried ./sugar-jhbuild buildone dbus-python and get the same thing.
I tried also:
cd dbus-python-0.82.3
./configure
make
make install

and still get the same thing.
ideas?

-ypod


More information about the Sugar mailing list