[sugar] Re: Installing Sugar on Ubuntu 6.06 Linux.

Osmo Maatta osmoma
Fri Aug 25 13:26:19 EDT 2006


Second attempt.

I made a complete reinstallation of Sugar in Ubuntu Dapper and the verdict
is this:

gcc  -g -O2   -o matchbox-window-manager  main.o wm.o base_client.o
main_client.o toolbar_client.o toolbar_client_alt.o dockbar_client.o
dialog_client.o select_client.o desktop_client.o ewmh.o misc.oclient_common.o
keys.o list.o stack.o composite-engine.o session.o mbtheme.o
xml.o-L/home/moma/sugar-jhbuild/build/lib -lmb -lX11 -lXext -lpng12
wm.o: In function
undefined reference to `XFixesHideCursor'
undefined reference to `XFixesShowCursor'
collect2: ld returned 1 exit status
make[2]: *** [matchbox-window-manager] Error 1
make[2]: Leaving directory
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
make: *** [all] Error 2
*** error during stage build of matchbox-window-manager: Error running
make   *** [9/15]

  [1] rerun stage build
  [2] ignore error and continue to install
  [3] give up on module
  [4] start shell
  [5] go to stage force_checkout
  [6] go to stage configure

Functions XFixesShowCursor()" and XFixesHideCursor() do not exist in Ubuntu
6.06's  libXfixes library (linked by gcc as -l Xfixes).
So I edited the
/home/moma/sugar-jhbuild/source/matchbox-window-manager/src/wm.c and
commented out the problematic lines (2 lines).

Then it compiled OK.

Install browser.activity ...
Install chat.activity ...
Install groupchat.activity ...
Install terminal.activity ...
test -z "/home/moma/sugar-jhbuild/build/share/sugar" || mkdir -p --
 /usr/bin/install -c -m 644 'dbus-installed.conf'
make[2]: Leaving directory `/home/moma/sugar-jhbuild/source/sugar'
make[1]: Leaving directory `/home/moma/sugar-jhbuild/source/sugar'
*** success *** [15/15]

Notice: The version of libXfixes3 in Ubuntu is  v1:

Show the version:
$ apt-cache  show  libXfixes3

Package: libxfixes3
Maintainer: Ubuntu X Maintainers <ubuntu-devel at lists.ubuntu.com>
Architecture: i386
Source: libxfixes
Version: 1:
Depends: libc6 (>= 2.3.4-1), libx11-6, x11-common (>= 7.0.0-0ubuntu3)
Filename: pool/main/libx/libxfixes/libxfixes3_3.0.1.2-0ubuntu3_i386.deb

Next Ubuntu-version (Edgy Eft with planned release in october) will include
upgraded versions of libXfixes3 and libXfixes-dev,  which will include
XFixesShowCursor() and XFixesHideCursor().
---------  ----------

$ ./sugar-jhbuild run

Yes, it runs OK.

--- the end
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.laptop.org/pipermail/sugar/attachments/20060825/f1f5b2b9/attachment.html

More information about the Sugar-devel mailing list