<div dir="ltr">Have you tried the Debian repository I built (just for that)?<br>If your architecture isn't there you can build it from source too.<br><br><a href="http://www.sugarlabs.org/go/DevelopmentTeam/Jhbuild/Debian#Debian_repository_for_sugar-jhbuild">http://www.sugarlabs.org/go/DevelopmentTeam/Jhbuild/Debian#Debian_repository_for_sugar-jhbuild</a><br>
<br>Its not the official debian, but its compiled weekly and it works both as sugar-jhbuild-emulator, and as a window manager at login.<br><br><div class="gmail_quote">On Sun, Nov 23, 2008 at 2:27 PM, Sascha Silbe <span dir="ltr"><<a href="mailto:sascha-ml-ui-sugar-sugar@silbe.org">sascha-ml-ui-sugar-sugar@silbe.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi!<br>
<br>
Not sure if this is the correct list but I couldn't find a better match.<br>
<br>
I'm currently trying to install sugar (Sucrose) on Debian lenny (fresh install on a laptop) using sugar-jhbuild (the official packages are rather old) as root. There are several problems; inconsistent instructions don't make it any easier.<br>
In general, I'm following the "Sugar on Debian" wiki page [1]. That page in itself is already a bit inconsistent (e.g. last sentence of first paragraph vs. section 1.3.3). If there's no objection I'm going to fix that and some of the things mentioned below.<br>
<br>
Most of the problems seem to be search path related (so probably have the main root cause); for the last one, I haven't found any solution or workaround yet so I'm stuck.<br>
<br>
Problems encountered so far:<br>
1. "build-base" has been renamed to "bootstrap" in sugar-jhbuild, but<br>
even the output of --help-commands gives the old name (how about<br>
autogeneration of the commands list?).<br>
<br>
2. "bootstrap" fails in some random package because libbz2-dev wasn't<br>
installed (not mentioned on the wiki page) => Python didn't build<br>
bz2 module<br>
<br>
3. Even though [1] tells me that running "./sugar-jhbuild bootstrap"<br>
is sufficient to get all dependencies (apart from some required for<br>
bootstrap itself), "build" is telling me to install a whole load a<br>
packages (which I did).<br>
<br>
4. GConf-dbus not finding gtk packages during install: Worked around<br>
by exporting PKG_CONFIG_PATH=/usr/lib/pkgconfig prior to invoking<br>
sugar-jhbuild.<br>
<br>
4. When trying to build sugar-base, some auto* tool<br>
(aclocal?) doesn't find the definition of AM_GLIB_GNU_GETTEXT<br>
(contained in /usr/share/aclocal/glib-gettext.m4).<br>
Worked around be manually checking out a clean copy of<br>
sugar-base and invoking the autogen.sh command that failed<br>
from within sugar-jhbuild. Exporting<br>
ACLOCAL_FLAGS="-I /usr/share/aclocal" did NOT help.<br>
<br>
5. When trying to build hippo-canvas, configure doesn't accept<br>
librsvg. config.log complains about not finding pthread-stubs.pc.<br>
Worked around by adding /usr/share/pkgconfig to<br>
PKG_CONFIG_PATH.<br>
<br>
6. When trying to build hippo-canvas, the auto* tools have trouble<br>
with the GTK documentation:<br>
<br>
./autogen.sh --prefix /usr/local/src/sugar-jhbuild/install --libdir '${exec_prefix}/lib'<br>
Putting files in AC_CONFIG_AUX_DIR, `config'.<br>
<a href="http://configure.ac:9" target="_blank">configure.ac:9</a>: installing `config/install-sh'<br>
<a href="http://configure.ac:9" target="_blank">configure.ac:9</a>: installing `config/missing'<br>
docs/../gtk-doc.make:7: GTK_DOC_USE_LIBTOOL does not appear in AM_CONDITIONAL<br>
docs/Makefile.am:39: `docs/../gtk-doc.make' included from here<br>
docs/../gtk-doc.make:48: ENABLE_GTK_DOC does not appear in AM_CONDITIONAL<br>
docs/Makefile.am:39: `docs/../gtk-doc.make' included from here<br>
docs/../gtk-doc.make:153: ENABLE_GTK_DOC does not appear in AM_CONDITIONAL<br>
docs/Makefile.am:39: `docs/../gtk-doc.make' included from here<br>
Makefile-introspection.am:16: `%'-style pattern rules are a GNU make extension<br>
Makefile.am:64: `Makefile-introspection.am' included from here<br>
Makefile.am: installing `./INSTALL'<br>
Makefile.am: installing `config/depcomp'<br>
autoreconf: automake failed with exit status: 1<br>
configure: WARNING: Unrecognized options: --enable-gtk-doc<br>
[...]<br>
checking pkg-config is at least version <a href="http://0.9.0." target="_blank">0.9.0.</a>.. yes<br>
checking for LIBHIPPOCANVAS... yes<br>
./configure: line 20822: syntax error near unexpected token `1.6'<br>
./configure: line 20822: `GTK_DOC_CHECK(1.6)'<br>
*** error during stage configure of hippo-canvas: ########## Error running ./autogen.sh --prefix /usr/local/src/sugar-jhbuild/install --libdir '${exec_prefix}/lib' *** [9/41]<br>
<br>
Worked around be manually checking out a clean copy of hippo-canvas<br>
and invoking the autogen.sh command that failed from within<br>
sugar-jhbuild.<br>
<br>
7. sugar-toolkit: Same as sugar-base.<br>
<br>
8. artwork: icon-slicer missing. Fetched source package<br>
icon-slicer_0.3-1ubuntu2 from Ubuntu and built it for lenny.<br>
<br>
9. sugar: Similar to sugar-base, but with more errors. Same workaround<br>
(still some error messages, but appears to build fine).<br>
<br>
10. evince: Some auto* stuff again:<br>
<br>
Checking for required M4 macros...<br>
gnome-common.m4 not found<br>
gnome-compiler-flags.m4 not found<br>
glib-gettext.m4 not found<br>
intltool.m4 not found<br>
gtk-doc.m4 not found<br>
***Error***: some autoconf macros required to build evince<br>
were not found in your aclocal path, or some forbidden<br>
macros were found. Perhaps you need to adjust your<br>
ACLOCAL_FLAGS?<br>
<br>
Worked around by exporting ACLOCAL_FLAGS="-I /usr/share/aclocal".<br>
<br>
11. xulrunner: zip missing. Installed.<br>
<br>
12. read-activity: setup.py cannot import sugar.activity:<br>
<br>
*** Building read-activity *** [1/1]<br>
python setup.py build<br>
Traceback (most recent call last):<br>
File "setup.py", line 19, in ?<br>
from sugar.activity import bundlebuilder<br>
ImportError: No module named sugar.activity<br>
*** error during stage build of read-activity: ########## Error running python setup.py build *** [1/1]<br>
<br>
This is where I'm currently stuck at. Juggling with PYTHONPATH,<br>
PYTHON_LIB and PYTHONHOME gives me several different error<br>
messages, but I don't think it can help - both Python and<br>
sugar* were built by sugar-jhbuild, so adding paths to<br>
system-provided modules and libraries is only going to make<br>
it worse, not better.<br>
<br>
<br>
[1] <a href="http://wiki.laptop.org/go/Sugar_on_Debian" target="_blank">http://wiki.laptop.org/go/Sugar_on_Debian</a><br>
<br>
CU Sascha<br><font color="#888888">
<br>
-- <br>
<a href="http://sascha.silbe.org/" target="_blank">http://sascha.silbe.org/</a><br>
<a href="http://www.infra-silbe.de/" target="_blank">http://www.infra-silbe.de/</a><br>
</font><br>-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.6 (GNU/Linux)<br>
<br>
iQEVAwUBSSlMNrpz82VMF3DaAQJFjAgAkTI2UhM50ihIw8ig/6delvwI3nTe+jmC<br>
ZHsN450WkL0+JeTMNhiOjK7wwU5pS4WSCUXzbgVNx1BiSnk/Tov6Mk+hBrh2vmsU<br>
ramdSRiBw316d360krqU8zb2AfMJQqWpusucB6BEtvUZQ9Nw/DktlsNlbum8DUNp<br>
6bCm0uS8+fREbhr1fBACl/CQcKsFaKOH0Z6dCOd6hXixdUWZxWlmthV8i8STjO90<br>
nTALC32rYowLSU9k4i/R++4GNy/XYDUom/PGaZzdO7p2pbCzai/BxBtST+40RCDV<br>
owKLiPNa1E5Q2l0Z2XZTZgcBePwdXqictTdwqXn2YZZpmtj4XtAEKw==<br>
=aGEz<br>
-----END PGP SIGNATURE-----<br>
<br>_______________________________________________<br>
Sugar mailing list<br>
<a href="mailto:Sugar@lists.laptop.org">Sugar@lists.laptop.org</a><br>
<a href="http://lists.laptop.org/listinfo/sugar" target="_blank">http://lists.laptop.org/listinfo/sugar</a><br>
<br></blockquote></div><br></div>