Talk:Sugar with sugar-jhbuild: Difference between revisions

From OLPC
Jump to navigation Jump to search
(Dependencies)
(sugar-jhbuild without sugar-jhbuild)
Line 91: Line 91:


When I do the build command, I get a long list of unfulfilled dependencies. Is there some single package that I can apt-get install to get all these dependencies? [[User:Homunq|Homunq]] 18:42, 27 December 2007 (EST)
When I do the build command, I get a long list of unfulfilled dependencies. Is there some single package that I can apt-get install to get all these dependencies? [[User:Homunq|Homunq]] 18:42, 27 December 2007 (EST)

== sugar-jhbuild without sugar-jhbuild ==

maybe someone could elaborate more on the jhbuildrc file and maybe even point out that you can build and install the basic sugar dependancies using the normal unmodified jhbuild using a custom jhbuildrc file that references sugar-jhbuild/build-scripts/sugar-platform.modules

Revision as of 09:18, 24 January 2008

Sound?

I've installed sugar-jhbuild on my Ubuntu machine, and it looks like an application that should play sound (memosono) doesn't, at least out-of-the-box. Audio also doesn't seem to work when running OLPC images in an emulator. Is extra software required? Or does audio development require developing on the actual hardware? —Leejc 23:27, 15 February 2007 (EST)

Problem - source site is down

Sometimes a site from which sugar-jhbuild downloads software is down. If you are running sugar-jhbuild for the first time, this is a problem. You can try again later, or look at the workaround below.

  • cairographics.org pings, but port 80 isn't connecting. sugar-jhbuild gets stuck in a connection timeout/retry loop. Any workarounds? MitchellNCharity 10:02, 6 May 2007 (EDT)
    cairographics.org and freedesktop.org still down. sugar-jhbuild now friendlier about it, but one still can't use it to build sugar.download sugar for the first time. MitchellNCharity 06:29, 10 May 2007 (EDT)
    Workaround: download software another way, eg, from cvs (yes, you may get unstable software which will cause later problems), tar it up, and swap if for sugar-jhbuild's broken tar file in source/ when sugar-jhbuild asks you what to do. Eg, for poppler which has been failing this week,
ls source/|grep poppler
# Which currently yields  poppler-0.5.4.tar.gz  .
cvs -d :pserver:anoncvs@cvs.freedesktop.org:/cvs/poppler login
cvs -d :pserver:anoncvs@cvs.freedesktop.org:/cvs/poppler co poppler
tar cf poppler fake-poppler-0.5.4.tar
gzip fake-poppler-0.5.4.tar
# Now run ./sugar-jhbuild update , and when poppler fails and sugar-jhbuild asks what to do:
cp fake-poppler-0.5.4.tar.gz source/poppler-0.5.4.tar.gz
# and select, err, the ignore-error-and-unpack-anyway option.

Problem - dbus and libjingle build fail with libexpat.so in wrong format

If the dbus or libjingle build fails with libexpat.so in wrong format, on an x86_64 machine, here is a workaround. Scroll back, find the ./configure line, and copy it. Select the sugar-jhbuild exit to shell option, run LDFLAGS=-L/usr/lib64 ./configure ...whatever... , then make (which should now work), exit the shell, and select the ignore error option.

Problem - sugar build fails with "relocation R_X86_64_PC32..."

If your sugar build fails with

/usr/bin/ld: /a/home/jobsearch/sugar/sugar-jhbuild/build/lib/xulrunner-1.9a5pre-dev/sdk/lib/libxpcomglue.a(nsArrayEnumerator.o):
relocation R_X86_64_PC32 against `nsISupports::COMTypeInfo<int>::kIID' can not be used when making a shared object;
recompile with -fPIC

... then it is unclear to me how to proceed. Playing with ac_cv_visibility_pragma=no didn't seem to help.

No such file or directory

I am getting No such file or directory errors in the following steps:

*** Checking out matchbox-window-manager *** [9/45]

svn checkout http://svn.o-hand.com/repos/matchbox/trunk/matchbox-window-manager matchbox-window-manager Error: [Errno 2] No such file or directory

      • error during stage checkout of matchbox-window-manager: [Errno 2] No such file or directory *** [9/45]


*** Checking out hippo-canvas *** [10/45]

svn checkout http://svn.mugshot.org/hippo-canvas/trunk hippo-canvas Error: [Errno 2] No such file or directory

      • error during stage checkout of hippo-canvas: [Errno 2] No such file or directory *** [10/45]


*** Checking out libabiword *** [21/45]

svn checkout http://svn.abisource.com/abiword/branches/ABI-2-6-0-STABLE libabiword Error: [Errno 2] No such file or directory

      • error during stage checkout of libabiword: [Errno 2] No such file or directory *** [21/45]


*** Checking out pyabiword *** [22/45]

svn checkout http://svn.abisource.com/pyabiword/branches/ABI-2-6-0-STABLE pyabiword Error: [Errno 2] No such file or directory

      • error during stage checkout of pyabiword: [Errno 2] No such file or directory *** [22/45]


*** Checking out libabiword-plugins *** [23/45]

svn checkout http://svn.abisource.com/abiword-plugins/branches/ABI-2-6-0-STABLE libabiword-plugins Error: [Errno 2] No such file or directory

      • error during stage checkout of libabiword-plugins: [Errno 2] No such file or directory *** [23/45]


*** Checking out squeak *** [24/45]

svn checkout http://squeakvm.org/svn/squeak/branches/olpc squeak Error: [Errno 2] No such file or directory

      • error during stage checkout of squeak: [Errno 2] No such file or directory *** [24/45]


*** Checking out penguintv *** [41/45]

svn checkout https://penguintv.svn.sourceforge.net/svnroot/penguintv/trunk penguintv Error: [Errno 2] No such file or directory

      • error during stage checkout of penguintv: [Errno 2] No such file or directory *** [41/45]


  • It could be that you haven't installed subversion yet, in which case you should first do
 sudo apt-get install subversion

Dependencies

When I do the build command, I get a long list of unfulfilled dependencies. Is there some single package that I can apt-get install to get all these dependencies? Homunq 18:42, 27 December 2007 (EST)

sugar-jhbuild without sugar-jhbuild

maybe someone could elaborate more on the jhbuildrc file and maybe even point out that you can build and install the basic sugar dependancies using the normal unmodified jhbuild using a custom jhbuildrc file that references sugar-jhbuild/build-scripts/sugar-platform.modules