[sugar] sugar-jhbuild on Ubuntu (solved)

Polychronis Ypodimatopoulos ypod at mit.edu
Wed Jan 16 13:22:20 EST 2008


solution:

edit build-scripts/freedesktop.modules and change 0.82.3 to 0.82.4 for 
DBus and remove the MD5sum and filesize line

(thx to SMcVittie)

Pol

Polychronis Ypodimatopoulos wrote:
> 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
> _______________________________________________
> Sugar mailing list
> Sugar at lists.laptop.org
> http://lists.laptop.org/listinfo/sugar
>   

-- 
Polychronis Ypodimatopoulos
Graduate student
Viral Communications
MIT Media Lab
Tel: +1 (617) 459-6058
http://www.mit.edu/~ypod/



More information about the Sugar mailing list