[sugar] adventures in sugar-jhbuild

Erik Blankinship erikb at mediamods.com
Wed Sep 6 22:54:48 EDT 2006


Alas, the -a flag didn't clear up the build problems, but I did get some new
problems (and jhbuild-sugar won't start up either (see end of the log)):

creating im-viqr.la
(cd .libs && rm -f im-viqr.la && ln -s ../im-viqr.la im-viqr.la)
../../gtk/gtk-query-immodules-2.0 im-xim.la  im-am-et.la im-cedilla.la
im-cyrillic-translit.la im-inuktitut.la im-ipa.la im-thai-broken.la
im-ti-er.la im-ti-et.la im-viqr.la  > gtk.immodules
/root/sugars/09-06/sugar-jhbuild/source/gtk+/gtk/.libs/lt-
gtk-query-immodules-2.0: error while loading shared libraries:
/root/sugars/09-06/sugar-jhbuild/build/lib/libcairo.so.2: cannot restore
segment prot after reloc: Permission denied
make[3]: *** [gtk.immodules] Error 127
make[3]: Leaving directory
`/root/sugars/09-06/sugar-jhbuild/source/gtk+/modules/input'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/root/sugars/09-06/sugar-jhbuild/source/gtk+/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/sugars/09-06/sugar-jhbuild/source/gtk+'
make: *** [all] Error 2
*** error during stage build of gtk+: Error running make   *** [8/22]

----------------------------------------------------------------------
make  install-data-hook
make[4]: Entering directory
`/root/sugars/09-06/sugar-jhbuild/source/gtk+/modules/input'
/bin/sh ../../mkinstalldirs /root/sugars/09-06/sugar-jhbuild/build/etc/gtk-
2.0
../../gtk/gtk-query-immodules-2.0 >
/root/sugars/09-06/sugar-jhbuild/build/etc/gtk-2.0/gtk.immodules
/root/sugars/09-06/sugar-jhbuild/source/gtk+/gtk/.libs/lt-
gtk-query-immodules-2.0: error while loading shared libraries:
/root/sugars/09-06/sugar-jhbuild/build/lib/libcairo.so.2: cannot restore
segment prot after reloc: Permission denied
make[4]: *** [install-data-hook] Error 127
make[4]: Leaving directory
`/root/sugars/09-06/sugar-jhbuild/source/gtk+/modules/input'
make[3]: *** [install-data-am] Error 2
make[3]: Leaving directory
`/root/sugars/09-06/sugar-jhbuild/source/gtk+/modules/input'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory
`/root/sugars/09-06/sugar-jhbuild/source/gtk+/modules/input'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory
`/root/sugars/09-06/sugar-jhbuild/source/gtk+/modules'
make: *** [install-recursive] Error 1
*** error during stage install of gtk+: Error running make   install ***
[8/22]


../../../../dist/bin/elf-dynstr-gc
../../../../dist/bin/components/libpipboot.so
../../../../dist/bin/elf-dynstr-gc: error while loading shared libraries:
/root/sugars/09-06/sugar-jhbuild/build/lib/libcairo.so.2: cannot restore
segment prot after reloc: Permission denied
gmake[4]: *** [libs] Error 127
gmake[4]: Leaving directory
`/root/sugars/09-06/sugar-jhbuild/source/mozilla/security/manager/boot/src'
gmake[3]: *** [libs] Error 2
gmake[3]: Leaving directory
`/root/sugars/09-06/sugar-jhbuild/source/mozilla/security/manager/boot'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory
`/root/sugars/09-06/sugar-jhbuild/source/mozilla/security/manager'
gmake[1]: *** [tier_50] Error 2
gmake[1]: Leaving directory
`/root/sugars/09-06/sugar-jhbuild/source/mozilla'
make: *** [default] Error 2
*** error during stage build of mozilla: Error running make   *** [11/22]


gmake[3]: *** No rule to make target
`../../../../dist/lib/libimgicongtk_s.a', needed by `libimgicon.so'.  Stop.
gmake[3]: Leaving directory
`/root/sugars/09-06/sugar-jhbuild/source/mozilla/modules/libpr0n/decoders/icon'
gmake[2]: *** [install] Error 2
gmake[2]: Leaving directory
`/root/sugars/09-06/sugar-jhbuild/source/mozilla/modules/libpr0n/decoders'
gmake[1]: *** [install] Error 2
gmake[1]: Leaving directory
`/root/sugars/09-06/sugar-jhbuild/source/mozilla/modules/libpr0n'
make: *** [install] Error 2
*** error during stage install of mozilla: Error running make    install ***
[11/22]


In file included from gecko-browser.cpp:26:
../gecko-embed/gecko-browser.h:24:25: error: gtkmozembed.h: No such file or
directory
In file included from gecko-browser.cpp:30:
Browser.h:32:27: error: nsIWebBrowser.h: No such file or directory
Browser.h:33:28: error: nsIDOMDocument.h: No such file or directory
Browser.h:34:26: error: nsIDOMWindow.h: No such file or directory
Browser.h:35:32: error: nsIWebBrowserFocus.h: No such file or directory
../gecko-embed/gecko-browser.h:51: error: 'GtkMozEmbed' does not name a type
../gecko-embed/gecko-browser.h:59: error: 'GtkMozEmbedClass' does not name a
type
Browser.h:50: error: 'GtkMozEmbed' has not been declared
Browser.h:61: error: 'nsIWebBrowser' was not declared in this scope
Browser.h:61: error: template argument 1 is invalid
Browser.h:64: error: 'nsIDOMWindow' was not declared in this scope
Browser.h:64: error: template argument 1 is invalid
Browser.h:69: error: 'nsIDOMDocument' was not declared in this scope
Browser.h:69: error: template argument 1 is invalid
Browser.h:70: error: 'nsIWebBrowserFocus' was not declared in this scope
Browser.h:70: error: template argument 1 is invalid
Browser.h:73: error: 'nsIDOMHTMLCollection' has not been declared
gecko-browser.cpp: In function 'void gecko_browser_realize(GtkWidget*)':
gecko-browser.cpp:65: error: 'GTK_MOZ_EMBED' was not declared in this scope
gecko-browser.cpp: In function 'GType gecko_browser_get_type()':
gecko-browser.cpp:192: error: 'GTK_TYPE_MOZ_EMBED' was not declared in this
scope
gecko-browser.cpp: In function 'void
gecko_browser_load_address(GeckoBrowser*, const char*)':
gecko-browser.cpp:204: error: 'GTK_MOZ_EMBED' was not declared in this scope
gecko-browser.cpp:204: error: 'gtk_moz_embed_load_url' was not declared in
this scope
gecko-browser.cpp: In function 'gboolean
gecko_browser_can_go_back(GeckoBrowser*)':
gecko-browser.cpp:210: error: 'GTK_MOZ_EMBED' was not declared in this scope
gecko-browser.cpp:210: error: 'gtk_moz_embed_can_go_back' was not declared
in this scope
gecko-browser.cpp: In function 'gboolean
gecko_browser_can_go_forward(GeckoBrowser*)':
gecko-browser.cpp:216: error: 'GTK_MOZ_EMBED' was not declared in this scope
gecko-browser.cpp:216: error: 'gtk_moz_embed_can_go_forward' was not
declared in this scope
gecko-browser.cpp: In function 'void gecko_browser_go_back(GeckoBrowser*)':
gecko-browser.cpp:222: error: 'GTK_MOZ_EMBED' was not declared in this scope
gecko-browser.cpp:222: error: 'gtk_moz_embed_go_back' was not declared in
this scope
gecko-browser.cpp: In function 'void
gecko_browser_go_forward(GeckoBrowser*)':
gecko-browser.cpp:228: error: 'GTK_MOZ_EMBED' was not declared in this scope
gecko-browser.cpp:228: error: 'gtk_moz_embed_go_forward' was not declared in
this scope
gecko-browser.cpp: In function 'void gecko_browser_reload(GeckoBrowser*)':
gecko-browser.cpp:234: error: 'GTK_MOZ_EMBED' was not declared in this scope
gecko-browser.cpp:234: error: 'gtk_moz_embed_reload' was not declared in
this scope
gecko-browser.cpp: In function 'char*
gecko_browser_get_title(GeckoBrowser*)':
gecko-browser.cpp:240: error: 'GTK_MOZ_EMBED' was not declared in this scope
gecko-browser.cpp:240: error: 'gtk_moz_embed_get_title' was not declared in
this scope
make[3]: *** [libgeckoembed_1_la-gecko-browser.lo] Error 1
make[3]: Leaving directory
`/root/sugars/09-06/sugar-jhbuild/source/gecko-embed/gecko-embed'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/root/sugars/09-06/sugar-jhbuild/source/gecko-embed/gecko-embed'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/root/sugars/09-06/sugar-jhbuild/source/gecko-embed'
make: *** [all] Error 2
*** error during stage build of gecko-embed: Error running make   ***
[12/22]


In file included from gecko-browser.cpp:30:
Browser.h:32:27: error: nsIWebBrowser.h: No such file or directory
Browser.h:33:28: error: nsIDOMDocument.h: No such file or directory
Browser.h:34:26: error: nsIDOMWindow.h: No such file or directory
Browser.h:35:32: error: nsIWebBrowserFocus.h: No such file or directory
../gecko-embed/gecko-browser.h:51: error: 'GtkMozEmbed' does not name a type
../gecko-embed/gecko-browser.h:59: error: 'GtkMozEmbedClass' does not name a
type
Browser.h:50: error: 'GtkMozEmbed' has not been declared
Browser.h:61: error: 'nsIWebBrowser' was not declared in this scope
Browser.h:61: error: template argument 1 is invalid
Browser.h:64: error: 'nsIDOMWindow' was not declared in this scope
Browser.h:64: error: template argument 1 is invalid
Browser.h:69: error: 'nsIDOMDocument' was not declared in this scope
Browser.h:69: error: template argument 1 is invalid
Browser.h:70: error: 'nsIWebBrowserFocus' was not declared in this scope
Browser.h:70: error: template argument 1 is invalid
Browser.h:73: error: 'nsIDOMHTMLCollection' has not been declared
gecko-browser.cpp: In function 'void gecko_browser_realize(GtkWidget*)':
gecko-browser.cpp:65: error: 'GTK_MOZ_EMBED' was not declared in this scope
gecko-browser.cpp: In function 'GType gecko_browser_get_type()':
gecko-browser.cpp:192: error: 'GTK_TYPE_MOZ_EMBED' was not declared in this
scope
gecko-browser.cpp: In function 'void
gecko_browser_load_address(GeckoBrowser*, const char*)':
gecko-browser.cpp:204: error: 'GTK_MOZ_EMBED' was not declared in this scope
gecko-browser.cpp:204: error: 'gtk_moz_embed_load_url' was not declared in
this scope
gecko-browser.cpp: In function 'gboolean
gecko_browser_can_go_back(GeckoBrowser*)':
gecko-browser.cpp:210: error: 'GTK_MOZ_EMBED' was not declared in this scope
gecko-browser.cpp:210: error: 'gtk_moz_embed_can_go_back' was not declared
in this scope
gecko-browser.cpp: In function 'gboolean
gecko_browser_can_go_forward(GeckoBrowser*)':
gecko-browser.cpp:216: error: 'GTK_MOZ_EMBED' was not declared in this scope
gecko-browser.cpp:216: error: 'gtk_moz_embed_can_go_forward' was not
declared in this scope
gecko-browser.cpp: In function 'void gecko_browser_go_back(GeckoBrowser*)':
gecko-browser.cpp:222: error: 'GTK_MOZ_EMBED' was not declared in this scope
gecko-browser.cpp:222: error: 'gtk_moz_embed_go_back' was not declared in
this scope
gecko-browser.cpp: In function 'void
gecko_browser_go_forward(GeckoBrowser*)':
gecko-browser.cpp:228: error: 'GTK_MOZ_EMBED' was not declared in this scope
gecko-browser.cpp:228: error: 'gtk_moz_embed_go_forward' was not declared in
this scope
gecko-browser.cpp: In function 'void gecko_browser_reload(GeckoBrowser*)':
gecko-browser.cpp:234: error: 'GTK_MOZ_EMBED' was not declared in this scope
gecko-browser.cpp:234: error: 'gtk_moz_embed_reload' was not declared in
this scope
gecko-browser.cpp: In function 'char*
gecko_browser_get_title(GeckoBrowser*)':
gecko-browser.cpp:240: error: 'GTK_MOZ_EMBED' was not declared in this scope
gecko-browser.cpp:240: error: 'gtk_moz_embed_get_title' was not declared in
this scope
make[2]: *** [libgeckoembed_1_la-gecko-browser.lo] Error 1
make[2]: Leaving directory
`/root/sugars/09-06/sugar-jhbuild/source/gecko-embed/gecko-embed'
make[1]: *** [install] Error 2
make[1]: Leaving directory
`/root/sugars/09-06/sugar-jhbuild/source/gecko-embed/gecko-embed'
make: *** [install-recursive] Error 1
*** error during stage install of gecko-embed: Error running make   install
*** [12/22]


checking for gnome-python defs... /usr/share/pygtk/2.0/defs
checking for gnome-python argtypes dir... /usr/share/pygtk/2.0/argtypes
sh: line 190: -e: command not found
sh: line 194: -e: command not found
sh: line 206: -e: command not found
sh: line 286: -e: command not found
checking for pkg-config... /usr/bin/pkg-config
checking for GLIB - version >= 2.6.0... yes (version 2.12.4)
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for GTK+ - version >= 2.4.0... no
*** Could not run GTK+ test program, checking why...
*** The test program compiled, but did not run. This usually means
*** that the run-time linker is not finding GTK+ or finding the wrong
*** version of GTK+. If it is not finding GTK+, you'll need to set your
*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point
*** to the installed location  Also, make sure you have run ldconfig if that
*** is required on your system
***
*** If you have an old version installed, it is best to remove it, although
*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
configure: error: maybe you want the gtk-gnome-1-2 branch?
*** error during stage configure of gnome-python-desktop: Error running
./autogen.sh --prefix /root/sugars/09-06/sugar-jhbuild/build
--disable-static --disable-gtk-doc *** [19/22]


make
make: *** No targets specified and no makefile found.  Stop.
*** error during stage build of gnome-python-desktop: Error running make
*** [19/22]


make   install
make: *** No rule to make target `install'.  Stop.
*** error during stage install of gnome-python-desktop: Error running make
install *** [19/22]


# ./sugar-jhbuild run
Running the installed sugar...
Traceback (most recent call last):
  File "/root/sugars/09-06/sugar-jhbuild/build/bin/sugar", line 29, in ?
    from session.Session import Session
  File
"/root/sugars/09-06/sugar-jhbuild/build/share/sugar/shell/session/Session.py",
line 2, in ?
    import gtk
  File
"/root/sugars/09-06/sugar-jhbuild/build/lib/python2.4/site-packages/gtk-2.0/gtk/__init__.py",
line 48, in ?
    from gtk import _gtk
ImportError: /root/sugars/09-06/sugar-jhbuild/build/lib/libcairo.so.2:
cannot restore segment prot after reloc: Permission denied
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.laptop.org/pipermail/sugar/attachments/20060906/179872e5/attachment-0001.html


More information about the Sugar mailing list