Hello,<br>
<br>
And many thanks for your (all) help. I managed to compile xcb with success, but have still a few minor problems. <br>
<br>
I can compile all the demos and tests in .../xcb-demo. It shows no
compilation errors. But when running the programs, they just print a
lot of garbage on the terminal window and exit with a segmentation
fault.<br>
<br>
Sample:<br>
<br>
$ pwd<br>
/code/X11/xcb-demo<br>
<br>
$ ./xcb-test<br><br> u0409A1\uffff]Ð\uffff\uffff\uffff\uffff\uffff\uffffU\uffff\uffffW\uffff}\uffffVS.....<br>
ogg=01;35:*.mp3=01;35:*.wav=01;35:GNOME_KEYRING_SOCKET=/tmp/keyring-8N7MZv<br>
PATH=/usr/local/bin:/usr/local/sbin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/bin/X11:/usr<br>
/Segmentation fault<br>
---------------------------------- -----------------------------------------<br>
<br>
ldd shows:<br>
<br>
$ ldd ./xcb-test<br>
linux-gate.so.1 => (0xffffe000)<br>
libXCB.so.0 => /usr/lib/libXCB.so.0 (0xb7f55000)<br>
libXCBAux.so.0 => /usr/local/lib/libXCBAux.so.0 (0xb7f53000)<br>
libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7f40000)<br>
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7e12000)<br>
libXau.so.6 => /usr/lib/libXau.so.6 (0xb7e0f000)<br>
/lib/ld-linux.so.2 (0xb7f8b000)<br>
<br>
-------------<br>
<br>
And <br>
$ ls -l /usr/lib/libXCB*<br>
<br>
-rw-r--r-- 1 root root 201688 2005-05-08 08:10 /usr/lib/libXCB.a<br>
-rw-r--r-- 1 root root 833 2005-05-08 08:10 /usr/lib/libXCB.la<br>
lrwxrwxrwx 1 root root 15 2006-02-05 17:43 /usr/lib/libXCB.so -> libXCB.so.0.0.0<br>
lrwxrwxrwx 1 root root 15 2006-02-05 17:43 /usr/lib/libXCB.so.0 -> libXCB.so.0.0.0<br>
-rw-r--r-- 1 root root 156492 2005-05-08 08:10 /usr/lib/libXCB.so.0.0.0<br>
<br>
$ ls -l /usr/local/lib/libXCBAux*<br>
<br>
-rw-r--r-- 1 root root 8420 2006-02-05 18:08 /usr/local/lib/libXCBAux.a<br>
-rwxr-xr-x 1 root root 818 2006-02-05 18:08 /usr/local/lib/libXCBAux.la<br>
lrwxrwxrwx 1 root root 18 2006-02-05 18:08 /usr/local/lib/libXCBAux.so -> libXCBAux.so.0.0.0<br>
lrwxrwxrwx 1 root root 18 2006-02-05 18:08 /usr/local/lib/libXCBAux.so.0 -> libXCBAux.so.0.0.0<br>
-rwxr-xr-x 1 root root 12125 2006-02-05 18:08 /usr/local/lib/libXCBAux.so.0.0.0<br>
<br>
---------------------------------- -----------------------------------------<br>
<br>
I have also tried the "Hello World" example from <br>
<a href="http://cvs.freedesktop.org/*checkout*/xcb/xcb/doc/tutorial/index.html?rev=1.6#intro">http://cvs.freedesktop.org/*checkout*/xcb/xcb/doc/tutorial/index.html?rev=1.6#intro</a><br>
<br>
$ ./hello1<br>
The same result. It displays some odd characters and blocks. <br>
<br>
$ ldd hello1<br>
<br>
linux-gate.so.1 => (0xffffe000)<br>
libXCB.so.0 => /usr/lib/libXCB.so.0 (0xb7ee3000)<br>
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7db5000)<br>
libXau.so.6 => /usr/lib/libXau.so.6 (0xb7db1000)<br>
/lib/ld-linux.so.2 (0xb7f19000)<br>
--------------------------------------------------------------<br>
<br>
This was my first trial, so do not worry, am very happy with the partial success so far. <br>
;-)<br>
<br>OS: New installment of Ubuntu Linux 5.10<br>Graphics card: ATI Radeon 9800 with OpenGL support defined in xorg.conf<br><br><br>
<br>
Jamey Sharp wrote:
<blockquote cite="mid20060203233721.GA6534@id.minilop.net" type="cite">
<pre>On Fri, Feb 03, 2006 at 11:16:07PM +0100, Alexander Botero wrote:<br></pre>
<blockquote type="cite"><pre>1) Is this (xcb) project vivid and active?<br></pre></blockquote>
<pre>XCB development is bursty, mostly because I do most of the work on the<br>core code and sometimes I go off and work on other projects for a while<br>instead. However we are making forward progress, and I have some hope
<br>that XCB and Xlib/XCB can be included in the <a href="http://X.org">X.org</a> 7.1 release, whenever<br>that happens.<br></pre>
<blockquote type="cite"><pre>2) I would like to test your xcb (xlib replacement), but how to start?<br></pre></blockquote>
<pre>First, I hope you understand that XCB itself is not API-compatible with<br>Xlib, but the Xlib/XCB work exists to provide a drop-in replacement for<br>Xlib that provides a migration path. So testing XCB itself means either
<br>running our demo applications, or writing some of your own -- which we'd<br>be happy to help you with.<br></pre>
<blockquote type="cite"><pre>Unfortunately, I do not fully understand howto install the various parts.<br><br>I have read the<br><a href="http://xcb.freedesktop.org/wiki/">http://xcb.freedesktop.org/wiki/</a><br><br>and have installed all
<br>pkgconfig 0.15.0, automake 1.7, autoconf 2.50, libtool 1.5.6, xsltproc,<br>gperf 3.0.1<br><br>aclocal: <a href="http://configure.ac">configure.ac</a>: 14: macro `AM_PATH_CHECK' not found in library<br><br>My distro is Ubuntu
5.10 (X86 32 bit)<br></pre></blockquote>
<pre>You should be almost set: you only missed the dependency on 'check'. On<br>stock Debian testing I can just `apt-get install check`, and I imagine<br>Ubuntu has a similar package as well.<br>--Jamey</pre>
</blockquote>