Osmo Maatta wrote:
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.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
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 <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>>
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
------------------------------------------------------------------------
_______________________________________________
Sugar mailing list
[email protected]
http://mailman.laptop.org/mailman/listinfo/sugar
Same problem here on Debian with libxfixes3 Version: 1:3.0.1.2-4
. Used the same 'fix' you did to make it compile.
Simon
_______________________________________________
Sugar mailing list
[email protected]
http://mailman.laptop.org/mailman/listinfo/sugar