Error building Compiz 0.8.4 from source Slackware 13
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.
Error building Compiz 0.8.4 from source Slackware 13
I've been trying to install Compiz 0.8.4 from the source code provided by the Compiz people. However, when I run make on the first set of code (compiz-0.8.4 tar package), it halts with the following error:
Code:
/usr/bin/sed: can't read Fusion/compiz-0.8.4/libdecoration/libdecoration.la: No such file or directory
libtool: link: `Fusion/compiz-0.8.4/libdecoration/libdecoration.la' is not a valid libtool archive
When running ./configure on this (before make), I am running it with the suggested setting from the Compiz site (--prefix=/usr/local), as well as --disable-gconf and --disable-gnome since gnome isn't install on Slackware (I've also tried it without those, but it picks up on it anyway and throws them out). The folder I'm running this from is /root/Desktop/Compiz\ Fusion/compiz-0.8.4.
First thing don't install programs to /usr/local this is incorrect. The proper path would be /usr. Second, you should always (if possible) make slackware packages of your programs since if you just install them manually it makes it very difficult to uninstall them and it can lead to problems uninstalling and sometimes you can miss files. Third slackware ships with compiz already, however it is an older version (0.7.8.). If you need 0.8.4 you can try using this slackbuild http://webpages.charter.net/daedra1/...-fusion.tar.gz
Unzip the file and change directory to "compiz" then run "./compiz.SlackBuild" or "ARCH=x86_64 ./compiz.SlackBuild" if you using Slackware64. If the packages compiles successfully you will have your finished package waiting for you in tmp which you can then install like so
I've been trying to install Compiz 0.8.4 from the source code provided by the Compiz people. However, when I run make on the first set of code (compiz-0.8.4 tar package), it halts with the following error:
Code:
/usr/bin/sed: can't read Fusion/compiz-0.8.4/libdecoration/libdecoration.la: No such file or directory
libtool: link: `Fusion/compiz-0.8.4/libdecoration/libdecoration.la' is not a valid libtool archive
When running ./configure on this (before make), I am running it with the suggested setting from the Compiz site (--prefix=/usr/local), as well as --disable-gconf and --disable-gnome since gnome isn't install on Slackware (I've also tried it without those, but it picks up on it anyway and throws them out). The folder I'm running this from is /root/Desktop/Compiz\ Fusion/compiz-0.8.4.
Any suggestions?
maybe shell can't handle the \ . thou that's an one low possibility.
I went back and checked my notes, and according to them, compiz-0.8.4 failed on 13.0 with some sort of kde-related error.
After building kde-4.3.x on that system, compiz-0.8.4 built fine.
Perhaps the kde stuff was disabled in your build?
Alternatively, I'll just chalk it up to "gremlins" and move on. :-)
come to think of it, I distinctly remember running 0.8.2 on 13.0 stock but I can't be sure I ever ran 0.8.4 on it, so you might be right I can't be sure and i'm feeling to lazy to check . But yeah 0.8.4 is running fine on current, only thing that sucks is that the KDE developers disabled the ability to set KDE wallpaper to translucent so that I couldn't use the compiz wallpaper plugin for seperate wallpapers on each side of the cube. I had to patch and recompile kde-workspace to get it working again. It's useless bling but I like it.
Hmmm... lots of stuff to try, and I'm short on time to try it for the next few days (not having internet at home makes it hard too). Quick question though, does src2pkg come with Slackware?
I guess the difference lies in the reasons for upgrading it. Perhaps many of you have no need for the kde4 stuff in compiz, so you disable it, OR you are building with a newer kde version installed. However, I'm building with the sole purpose of seeing about updating the package in Slackware, so disabling expected functionality isn't an option :-)
Yeah, the issue is that the decoration API for KDE4 has changed with nearly each release, and the compiz developers update their code to work properly with KDE4 after it's been released. So 0.8.4 probably works fine with KDE 4.3, but not KDE 4.2 (with which compiz 0.8.2 worked fine, presumably).
Hmmm... lots of stuff to try, and I'm short on time to try it for the next few days (not having internet at home makes it hard too). Quick question though, does src2pkg come with Slackware?
Daedra, I was able to build the compiz package using your Slackbuild, thanks for that (haven't installed it yet though - trying to solve other unrelated problems). Other than the end of the slackbuild that organizes the files and puts them in the slackbuild, I'm curious to know what the './configure' options that you use do and the difference in the 'make' that would cause it to crash on such a weird error on my machine using the options suggested by compiz and yet build properly using your options.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.