Been working on it off and on for a week or so.<br><br>Built Sugar from source on an Edubuntu Edgy box. And it works!! :-)<br><br>Tried building on a Edubuntu Dapper box, no such luck!! :-(<br><br>Went back to the Edgy box. Somehow git on the Edgy box got hosed:
<br><br>~/olpc/sugar-jhbuild$ git pull<br>Unpacking 3 objects<br> 100% (3/3) done<br>* refs/heads/origin: fast forward to branch 'master' of git://dev.laptop.org/sugar-jhbuild<br> from f41a799eb0932eba4a07da5dfbc425e6153201b5 to f50fbc877de3355a33b02d81856fcc752d08a429
<br>Updating from 6a45e96894402d7fe39d7a9d6dc3111345c89a07 to f50fbc877de3355a33b02d81856fcc752d08a429<br>sanitycheck.py: needs update<br>fatal: Entry 'sanitycheck.py' not uptodate. Cannot merge.<br><br>I made a new olpc1 directory and start all over from scratch.
<br>Once again I can build Edgy from source. Tried copying <br>sanitycheck.py* from olpc1/sugar-jhbuild to the broken<br>olpc/sugar-jhuild directory. It's still broken. I don't understand.<br>Moving on.<br><br>
When sugar-jhbuild finds missing stuff it reports a high level package
<br>name for example at one point it was telling me the alsa (or one of it's<br>libraries) was missing. By the time I figured out which libraries were missing,<br>libasound2-dev and sqlite3 had been added to the wiki. Pretty sure I also had
<br>to add libsqlite3-dev on one of the boxes. I just added it to the wiki,<br>Think sugar-jhbuild needs to give more info on what it's missing, so folks<br>can have an easier time giving it what it needs.<br><br>Ran into the automake version mismatch problem with slightly different
<br>symptoms when running ./sugar-jhbuild build-base. added some <br>comments to the wiki.<br><br><a href="http://www.redhatmagazine.com/2007/02/23/building-the-xo-introducing-sugar/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://www.redhatmagazine.com/2007/02/23/building-the-xo-introducing-sugar/
</a><br><br>recommends some slightly different procedures than the wiki<br><br> ./sugar-jhbuild update meta-sugar-base <br> ./sugar-jhbuild update<br><br> ./sugar-jhbuild build meta-sugar-base<br> ./sugar-jhbuild build
<br><br>does this build the same thing as<br><br> ./sugar-jhbuild build-base<br> ./sugar-jhbuild<br><br>or something slightly different? I know it separates the downloads<br>from the build which can be a good thing if you live at the end of a
<br>pitiful 128K ISDN line like I do.<br><br>There are currently some problems with the upstream gtk+ and dbus packages,<br>that affect both the Ubuntu Edgy and Dapper builds. Have some almost<br>trivial patches for them need to figure how and where to submit them.
<br><br>Haven't tried them on them on Edgy yet. The Dapper build is chugging along.<br>No it just died with:<code></code><br><br>c++ -o xulrunner-bin -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -pedantic -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -O
nsXULRunnerApp.o nsRegisterGREUnix.o -lpthread -L../../dist/bin -L../../dist/lib -L../../dist/bin -lmozjs ../../dist/lib/libxpcomglue_s.a -L../../dist/bin -Wl,-rpath-link,../../dist/bin -lxpcom -lxul -L/usr/lib -lplds4 -lplc4 -lnspr4 -lpthread -ldl -L/home/drew/olpc/sugar-jhbuild/build/lib -
lgtk-x11-2.0 -latk-1.0 -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgmodule-2.0 -ldl -lgobject-2.0 -lglib-2.0 -L../../gfx/cairo/cairo/src -lmozcairo -L../../gfx/cairo/libpixman/src -lmozlibpixman -L/usr/X11R6/lib -lXrender -lfreetype -lfontconfig -L/usr/X11R6/lib -lX11 -ldl -lm
<br>/home/drew/olpc/sugar-jhbuild/build/lib/libpangoxft-1.0.so.0: undefined reference to `g_type_register_static_simple'<br>/home/drew/olpc/sugar-jhbuild/build/lib/libpangoft2-1.0.so.0: undefined reference to `pango_quantize_line_geometry'
<br>/home/drew/olpc/sugar-jhbuild/build/lib/libpangoft2-1.0.so.0: undefined reference to `pango_font_describe_with_absolute_size'<br>collect2: ld returned 1 exit status<br>make[4]: *** [xulrunner-bin] Error 1<br>make[4]: Leaving directory `/home/drew/olpc/sugar-jhbuild/source/mozilla/xulrunner/app'
<br>make[3]: *** [libs] Error 2<br>make[3]: Leaving directory `/home/drew/olpc/sugar-jhbuild/source/mozilla/xulrunner'<br>make[2]: *** [libs_tier_app] Error 2<br>make[2]: Leaving directory `/home/drew/olpc/sugar-jhbuild/source/mozilla'
<br>make[1]: *** [tier_app] Error 2<br>make[1]: Leaving directory `/home/drew/olpc/sugar-jhbuild/source/mozilla'<br>make: *** [default] Error 2<br>*** error during stage build of mozilla: ########## Error running make *** [25/27]
<br><br>Gotta go figure that one out. And gotta go test my patched on the Edgy box.<br>And my wife is calling me.<br><br>Later,<br><br>-- <br>Drew Einhorn<br>