[sugar] more, different build/run issues

Ian Bicking ianb at colorstudy.com
Sat Sep 2 15:41:38 EDT 2006


Owen Williams wrote:
> on ubuntu dapper, I'm getting two problems:
> 
> * on building gnome-python-desktop, I get a complaint that gconf.defs is
> not found:
> 
> Traceback (most recent call last):
>   File
> "/home/owen/src/olpc/sugar/sugar-jhbuild/build/share/pygtk/2.0/codegen/codegen.py", line 1685, in ?
>     sys.exit(main(sys.argv))
>   File
> "/home/owen/src/olpc/sugar/sugar-jhbuild/build/share/pygtk/2.0/codegen/codegen.py", line 1645, in main
>     p.startParsing()
>   File
> "/home/owen/src/olpc/sugar/sugar-jhbuild/build/share/pygtk/2.0/codegen/scmexpr.py", line 113, in startParsing
>     for statement in statements:
>   File
> "/home/owen/src/olpc/sugar/sugar-jhbuild/build/share/pygtk/2.0/codegen/scmexpr.py", line 27, in parse
>     fp = open(filename, 'r')
> IOError: [Errno 2] No such file or directory:
> '/home/owen/src/olpc/sugar/sugar-jhbuild/build/share/pygtk/2.0/defs/gconf.defs'
> make[2]: *** [mediaprofiles.c] Error 1
> 
> 
> * on running ./sugar-jhbuild run, I get a python exception that it can't
> import rsvg.  on ubuntu there don't seem to be rsvg bindings, should I
> install rsvg manually?

Here's the answer I got to this one:

(in reply to: ↑ 6 ) 09/02/06 02:54:28 changed by marco ¶

rsvg issue:

Check that librsvg was built correctly. You should have something like: 
/home/marco/sugar-jhbuild/build/lib/librsvg-2.so

If so than you need to reautogen gnome-python-desktop to make it pick 
up. This is necessary only because librsvg was added to deps after you 
did your first build (or that's what I'm guessing), it should'nt 
normally be necesary. Run:

sugar-jhbuild buildone -a gnome-python-desktop

If even that fail, please post the configure output and attach the 
config.log.



-- 
Ian Bicking | ianb at colorstudy.com | http://blog.ianbicking.org


More information about the Sugar mailing list