[sugar] Getting my feet on the ground
drew einhorn
drew.einhorn at gmail.com
Sat Mar 10 15:18:24 EST 2007
Been working on it off and on for a week or so.
Built Sugar from source on an Edubuntu Edgy box. And it works!! :-)
Tried building on a Edubuntu Dapper box, no such luck!! :-(
Went back to the Edgy box. Somehow git on the Edgy box got hosed:
~/olpc/sugar-jhbuild$ git pull
Unpacking 3 objects
100% (3/3) done
* refs/heads/origin: fast forward to branch 'master' of
git://dev.laptop.org/sugar-jhbuild
from f41a799eb0932eba4a07da5dfbc425e6153201b5 to
f50fbc877de3355a33b02d81856fcc752d08a429
Updating from 6a45e96894402d7fe39d7a9d6dc3111345c89a07 to
f50fbc877de3355a33b02d81856fcc752d08a429
sanitycheck.py: needs update
fatal: Entry 'sanitycheck.py' not uptodate. Cannot merge.
I made a new olpc1 directory and start all over from scratch.
Once again I can build Edgy from source. Tried copying
sanitycheck.py* from olpc1/sugar-jhbuild to the broken
olpc/sugar-jhuild directory. It's still broken. I don't understand.
Moving on.
When sugar-jhbuild finds missing stuff it reports a high level package
name for example at one point it was telling me the alsa (or one of it's
libraries) was missing. By the time I figured out which libraries were
missing,
libasound2-dev and sqlite3 had been added to the wiki. Pretty sure I also
had
to add libsqlite3-dev on one of the boxes. I just added it to the wiki,
Think sugar-jhbuild needs to give more info on what it's missing, so folks
can have an easier time giving it what it needs.
Ran into the automake version mismatch problem with slightly different
symptoms when running ./sugar-jhbuild build-base. added some
comments to the wiki.
http://www.redhatmagazine.com/2007/02/23/building-the-xo-introducing-sugar/
recommends some slightly different procedures than the wiki
./sugar-jhbuild update meta-sugar-base
./sugar-jhbuild update
./sugar-jhbuild build meta-sugar-base
./sugar-jhbuild build
does this build the same thing as
./sugar-jhbuild build-base
./sugar-jhbuild
or something slightly different? I know it separates the downloads
from the build which can be a good thing if you live at the end of a
pitiful 128K ISDN line like I do.
There are currently some problems with the upstream gtk+ and dbus packages,
that affect both the Ubuntu Edgy and Dapper builds. Have some almost
trivial patches for them need to figure how and where to submit them.
Haven't tried them on them on Edgy yet. The Dapper build is chugging along.
No it just died with:
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
/home/drew/olpc/sugar-jhbuild/build/lib/libpangoxft-1.0.so.0: undefined
reference to `g_type_register_static_simple'
/home/drew/olpc/sugar-jhbuild/build/lib/libpangoft2-1.0.so.0: undefined
reference to `pango_quantize_line_geometry'
/home/drew/olpc/sugar-jhbuild/build/lib/libpangoft2-1.0.so.0: undefined
reference to `pango_font_describe_with_absolute_size'
collect2: ld returned 1 exit status
make[4]: *** [xulrunner-bin] Error 1
make[4]: Leaving directory
`/home/drew/olpc/sugar-jhbuild/source/mozilla/xulrunner/app'
make[3]: *** [libs] Error 2
make[3]: Leaving directory
`/home/drew/olpc/sugar-jhbuild/source/mozilla/xulrunner'
make[2]: *** [libs_tier_app] Error 2
make[2]: Leaving directory `/home/drew/olpc/sugar-jhbuild/source/mozilla'
make[1]: *** [tier_app] Error 2
make[1]: Leaving directory `/home/drew/olpc/sugar-jhbuild/source/mozilla'
make: *** [default] Error 2
*** error during stage build of mozilla: ########## Error running make ***
[25/27]
Gotta go figure that one out. And gotta go test my patched on the Edgy box.
And my wife is calling me.
Later,
--
Drew Einhorn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.laptop.org/pipermail/sugar/attachments/20070310/871bc5de/attachment.html
More information about the Sugar
mailing list