SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Any directions on building libX11 with xcb support? I 'trashed' my system for two times getting rid of fglrx. It's one xpress1100 [RS482 [Radeon Xpress 200M]].
Right now is kernel 2.6.29.1, xserver 1.5.2, mesa 7.4 and all the latest or gits protos/libs/drivers/..., but with libxcb, xcb and libX11 from slackware 12.2. 2D is very good and got dri, but have some image corruption and errors.
What exactly are you having problems with? libX11 will build against XCB if XCB is installed on your system. No additional configure switches should be necessary. Otherwise installing libX11 is as simple as executing the configure script, make, and make install.
Installing XCB is similar (configure, make, make install). Install xcb-proto, then libxcb, then (recommended) xcb-utils. You'll need Python to build xcb-proto. You'll need libXSLT, libXau, and libpthread-stubs to build libxcb. You'll need gperf to build xcb-utils. In the end, you'll have libX11-xcb in addition to libX11.
Tried again and failed. libxcb-xlib.so is not created and some programs/libs, specially xauth and kdeinit, seems to be linked against (?). As my acpi only works with kernel 2.6.28 and up, I was forced to keep an eye on every update. Before that was all pain with dsdt corretions.
Yesterday I was able to build mesa, xcb and xserver, with libX11, all from git. Copied libxcb-xlib to /usr/lib, made the symlinks and got warnings about some missing _lock_ calls. Also had errors on some kde applications, like the battery meter not showing. DRI was ok and, even if my fps was very slow, got compiz to work. I'm impressed it even worked.
Tried again and failed. libxcb-xlib.so is not created and some programs/libs, specially xauth and kdeinit, seems to be linked against (?)
Newer xcb (iirc from version 1.1.92) does not include libxcb-xlib anymore. That is a problem since many other apps are linked against this library. There are scripts that search the libtool files (*.la files) of the libraries in /etc/ld.so.conf and remove the libxcb-xlib dependency, but I think it's a risk to break your system if you use them.
This is the reason that I couldn't either upgrade to lastest X.
You could try to build latest X keeping the just the xcb provided by Slackware. This way you will have the libxcb-xlib library needed by kde and gtk apps. Compile libX11 with the "--with-xcb" option to use xcb.
Sorry for bothering, as my initial desire was really build with xcb and improving kernel compatibility with my broken BIOS. The R300, R400 and R500 will be dropped from the next fglrx, and the 9.3 won't compile on the 2.6.29 and future kernels. The RS480 is supposed to work well with the radeon driver.
No luck again, but learned to fix a lot of things Downgraded to last .28 series and made the proprietary module again. Will try at least upgrading some protos. On the desktop I have one old 8500. No luck also. The desktop was messed very hard this time. As the result the rig is now almost a fresh 12.2. Not bad at all 8]
Just FYI.
I've managed to build xorg-server-1.6, along with xcb-1.2 and Mesa-7.4 for testing it.
Since I also use gtk compiled from source, I had to rebuild gtk and its dependencies and had no problem with gtk apps
Thank god I use fluxbox and not kde, because kde is heavily dependent on libxcb-xlib, as it seems from:
I've also compiled X11 from source to experiment with latest xorg-server and intel drivers, and while I successfully built the entire X from source without the libxcb-xlib, it turned out that I had one or more goofs in my system to fix the libtool references to this library. As a result, while X11 runs like a charm, all other X applications also needed recompile...
Any chance you can share with us how you fixed the libtool files without having to recompile every single X-dependent application?
For those interested, here's the order in which I built X11 from scratch on a clean system (ie a system with absolutely no X or XAP packages installed (all latest version from contrib catalog on xorg except where noted, and mesa 7.4)
As a result, while X11 runs like a charm, all other X applications also needed recompile...
What you mean by "all other X apps"?
The apps in /usr/X11/bin are OK (I've tried more than 20 of them). Also fluxbox, firefox, thunderbird, gimp, openoffice etc work also without a hitch.
The only thing that has problems is kde, its libs and related apps. As I've already mentioned above I dont's use kde, so I didn't have to recompile anything, apart from gtk and its dependencies.
If you are interested you can try the solution posted in comments #15 and #20 in this bug report.
Just FYI.
I've managed to build xorg-server-1.6, along with xcb-1.2 and Mesa-7.4 for testing it.
Since I also use gtk compiled from source, I had to rebuild gtk and its dependencies and had no problem with gtk apps
Thank god I use fluxbox and not kde, because kde is heavily dependent on libxcb-xlib, as it seems from:
Code:
grep libxcb-xlib /usr/lib/*.la
I see it now. Next time I'll try to make one separated server and run another desktop manager. My 'fresh' 12.2 is so rosed I can't even compile the radeon 6.0.9 again
Good to see I'm not alone, just a couple of years late.
I meant everything I compiled by hand under the x11 tree works, but everything else relying on x, such as firefox, xchat etc means "all other X apps"..
I tried the solution from the gentoo bug report, but ended up borking my system. Have unfortunately not had sufficient time to dive deeper into this, as recompiling X from scratch already took more time than allowed :-)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.