LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Error building Compiz 0.8.4 from source Slackware 13 (http://www.linuxquestions.org/questions/slackware-14/error-building-compiz-0-8-4-from-source-slackware-13-a-776158/)

spudgunner 12-16-2009 12:48 PM

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.

Any suggestions?

Daedra 12-16-2009 04:34 PM

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

upgradepkg compiz-0.8.4-<arch>-1.tgz

ozanbaba 12-16-2009 04:57 PM

Quote:

Originally Posted by spudgunner (Post 3794053)
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.

specialized 12-16-2009 08:02 PM

Read carefully daedra device
i have compiz working in my slack13 with xfce......but toke me a weekend to make it work

./configure --prefix=/usr in all packages

o slackpackages made it with src2pkg..............

rworkman 12-16-2009 08:11 PM

0.8.4 won't build on 13.0 - I don't recall why at the moment though.

Daedra 12-16-2009 11:54 PM

Quote:

Originally Posted by rworkman (Post 3794590)
0.8.4 won't build on 13.0 - I don't recall why at the moment though.

that's odd. I just built it today on a fresh slackware64 install... well slack64 current.

rworkman 12-17-2009 12:29 AM

Yeah, that *is* odd.

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. :-)

Daedra 12-17-2009 12:54 AM

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.

adamk75 12-17-2009 06:48 AM

compiz 0.8.4 definitely works on Slackware 13:

Code:

[adamk@memory ~]$ cat /etc/slackware-version
Slackware 13.0.0.0.0
[adamk@memory ~]$ compiz --version
compiz 0.8.4

Though I did pass --disable-kde4 to configure.

Adam

spudgunner 12-17-2009 07:44 AM

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?

rworkman 12-17-2009 08:12 AM

Quote:

Originally Posted by adamk75 (Post 3795266)
compiz 0.8.4 definitely works on Slackware 13:

Code:

[adamk@memory ~]$ cat /etc/slackware-version
Slackware 13.0.0.0.0
[adamk@memory ~]$ compiz --version
compiz 0.8.4

Though I did pass --disable-kde4 to configure.

Okay, that makes sense with respect to my notes.

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 :-)

specialized 12-17-2009 12:56 PM

or not use kde4

adamk75 12-17-2009 01:02 PM

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).

Adam

Daedra 12-17-2009 04:06 PM

Quote:

Originally Posted by spudgunner (Post 3795341)
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?

No, its a seperate download you can get it from here http://distro.ibiblio.org/pub/linux/...9-noarch-3.tgz

I also have slackbuilds for 0.8.4 you can use if you want, either way works. http://webpages.charter.net/daedra1/...-fusion.tar.gz

spudgunner 12-22-2009 09:22 AM

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.


All times are GMT -5. The time now is 04:45 AM.