Re-hello,<br><br>Second attempt.<br>
<br>I made a complete reinstallation of Sugar in Ubuntu Dapper and the verdict is this:<br>
<br>
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.o
client_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<br>
wm.o: In function
`wm_set_cursor_visibility':/home/moma/sugar-jhbuild/source/matchbox-window-manager/src/wm.c:2863:
undefined reference to `XFixesHideCursor'<br>
:/home/moma/sugar-jhbuild/source/matchbox-window-manager/src/wm.c:2857: undefined reference to `XFixesShowCursor'<br>
collect2: ld returned 1 exit status<br>
make[2]: *** [matchbox-window-manager] Error 1<br>
make[2]: Leaving directory `/home/moma/sugar-jhbuild/source/matchbox-window-manager/src'<br>
make[1]: *** [all-recursive] Error 1<br>
make[1]: Leaving directory `/home/moma/sugar-jhbuild/source/matchbox-window-manager'<br>
make: *** [all] Error 2<br>
*** error during stage build of matchbox-window-manager: Error running make *** [9/15]<br>
<br>
[1] rerun stage build<br>
[2] ignore error and continue to install<br>
[3] give up on module<br>
[4] start shell<br>
[5] go to stage force_checkout<br>
[6] go to stage configure<br>
choice: <br>
-------------------------------------------<br>
<br>
Functions XFixesShowCursor()" and XFixesHideCursor() do not exist in
Ubuntu 6.06's libXfixes library (linked by gcc as -l Xfixes).<br>
So I edited the <br>
/home/moma/sugar-jhbuild/source/matchbox-window-manager/src/wm.c and commented out the problematic lines (2 lines).<br>
<br>
Then it compiled OK.<br>
<br>
...<br>
Install browser.activity ...<br>
Install chat.activity ...<br>
Install groupchat.activity ...<br>
Install terminal.activity ...<br>
test -z "/home/moma/sugar-jhbuild/build/share/sugar" || mkdir -p -- "/home/moma/sugar-jhbuild/build/share/sugar"<br>
/usr/bin/install -c -m 644 'dbus-installed.conf' '/home/moma/sugar-jhbuild/build/share/sugar/dbus-installed.conf'<br>
make[2]: Leaving directory `/home/moma/sugar-jhbuild/source/sugar'<br>
make[1]: Leaving directory `/home/moma/sugar-jhbuild/source/sugar'<br>
*** success *** [15/15]<br>
------------------------------------------<br>
<br>
Notice: The version of libXfixes3 in Ubuntu is v1:3.0.1.2-0ubuntu3.<br>
<br>
Show the version:<br>
$ apt-cache show libXfixes3<br>
<br>
Package: libxfixes3<br>
Maintainer: Ubuntu X Maintainers <<a href="mailto:ubuntu-devel@lists.ubuntu.com">ubuntu-devel@lists.ubuntu.com</a>><br>
Architecture: i386<br>
Source: libxfixes<br>
Version: 1:3.0.1.2-0ubuntu3<br>
Depends: libc6 (>= 2.3.4-1), libx11-6, x11-common (>= 7.0.0-0ubuntu3)<br>
Filename: pool/main/libx/libxfixes/libxfixes3_3.0.1.2-0ubuntu3_i386.deb<br>
----<br>
<br>
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().<br>
--------- ----------<br><br>$ ./sugar-jhbuild run<br><br>Yes, it runs OK.<br><br>--- the end <br>
<br>