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

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


Re-hello,

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
-lXfixes
wm.o: In function
`wm_set_cursor_visibility':/home/moma/sugar-jhbuild/source/matchbox-window-manager/src/wm.c:2863:
undefined reference to `XFixesHideCursor'
:/home/moma/sugar-jhbuild/source/matchbox-window-manager/src/wm.c:2857:
undefined reference to `XFixesShowCursor'
collect2: ld returned 1 exit status
make[2]: *** [matchbox-window-manager] Error 1
make[2]: Leaving directory
`/home/moma/sugar-jhbuild/source/matchbox-window-manager/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/moma/sugar-jhbuild/source/matchbox-window-manager'
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
choice:
-------------------------------------------

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 --
"/home/moma/sugar-jhbuild/build/share/sugar"
 /usr/bin/install -c -m 644 'dbus-installed.conf'
'/home/moma/sugar-jhbuild/build/share/sugar/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:3.0.1.2-0ubuntu3.

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:3.0.1.2-0ubuntu3
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