Linux From ScratchThis Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.
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.
I am thinking of trying Compiz out in my BLFS system. Yeah, I want the wobbly windows when they move, I want the spinning cube thing.
Has anyone compiled compiz in their BLFS system? The docs on the compiz site make it appear straightforward but I know how that can often end up. Any tips? Things unmentioned to look out for?
Thank you.
Last edited by jr_bob_dobbs; 03-27-2018 at 09:05 AM.
Yes, for a couple BLFS cycles - and it works well. I'm using the 0.9.11 series (when I built BLFS 7.9 the latest was 0.9.11.3).
I do not use the more recent gtk3 versions. Remember that as a window manager, compiz is responsible for drawing the title bar with the minimize, maximize, and close buttons, and if you would like any gtk2 theme then you will need compiz built against gtk2. Compiz decorates any and all windows exactly same way, regardless of their gui libraries. It works fine with KDE (4 and 5), so yes, you can rotate the cube there too.
Then build compiz. There is a DSO problem somewhere with compiz, though, and I don't have my notes handy. I remember it being an easy fix once I figured out how to edit the proper cmake file.
Another issue, you might need to replace your window manager using
Yes, for a couple BLFS cycles - and it works well. I'm using the 0.9.11 series (when I built BLFS 7.9 the latest was 0.9.11.3).
Nice!
Quote:
There is a DSO problem somewhere with compiz, though, and I don't have my notes handy. I remember it being an easy fix once I figured out how to edit the proper cmake file.
I googled DSO and got unclear results. What do you mean?
Quote:
Another issue, you might need to replace your window manager using
(noting the cpp in there).
Replace? I just put a line in my .xinitrc to call whatever window manager I am using on that day. Then I type startx.
p.s. Naturally things get interesting in unexpected ways. All downloads from the actual compiz web site go to 404. D'oh! Well, one works, the 0.9 main tarball ... but not the plugins nor any of the other files. Guess I'm ten years too late.
No you're certainly not too late. In recent years most of the work on Compiz has moved over to Canonical. The source tarballs are best downloaded from Ubuntu. Debian has not officially supported compiz in Wheezy and Jessie but it appears it finally made it in the official repository for Stretch.
Nowadays the plugins as well as ccsm are all built from the main source tarball, so you only need this one.
DSO problems are caused by Makefiles not explicitly listing all of the libraries that the linker should be aware of. Suppose a program depends on liba and libb, and liba depends on libb. Previously, the linker could find libb through liba if the program's Makefile didn't list libb. Newer versions of gcc clamp down on this and require all dependencies to be explicitly listed. This is old but it sort of explains what is going on. Typically you need to just add the library in the LIBS line of the Makefile. The B/LFS books generally handle this in a 'sed' command if and when it needs to be done.
The "replace" switch for compiz is generally how to launch compiz if another window manager is already running. So it shouldn't be needed if there is no window manager running. Or does it? I've never tried it on a "naked" X session.
zenity 2.32 is fine. Just FYI, I don't have GTK3 anywhere on this system. Don't mind the "requirements" listed on the Ubuntu pages; sometimes those just mean "required to get the program/library to build the way we want". It really should be a straightforward build though.
Last edited by ordealbyfire83; 04-24-2018 at 06:51 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.