LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 12-16-2009, 12:48 PM   #1
spudgunner
Member
 
Registered: Dec 2009
Distribution: Slackware
Posts: 228

Rep: Reputation: 18
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?
 
Old 12-16-2009, 04:34 PM   #2
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-14.1
Posts: 1,223

Rep: Reputation: 177Reputation: 177
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

Last edited by Daedra; 12-16-2009 at 11:55 PM.
 
Old 12-16-2009, 04:57 PM   #3
ozanbaba
Member
 
Registered: May 2003
Location: Tengiz
Distribution: Slackware64 14.1
Posts: 671

Rep: Reputation: 94
Quote:
Originally Posted by spudgunner View Post
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.
 
Old 12-16-2009, 08:02 PM   #4
specialized
Member
 
Registered: Sep 2005
Location: Mar del Plata, Arg
Distribution: Always Slackware
Posts: 217

Rep: Reputation: 34
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..............
 
Old 12-16-2009, 08:11 PM   #5
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 1,913

Rep: Reputation: Disabled
0.8.4 won't build on 13.0 - I don't recall why at the moment though.
 
Old 12-16-2009, 11:54 PM   #6
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-14.1
Posts: 1,223

Rep: Reputation: 177Reputation: 177
Quote:
Originally Posted by rworkman View Post
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.
 
Old 12-17-2009, 12:29 AM   #7
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 1,913

Rep: Reputation: Disabled
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. :-)
 
Old 12-17-2009, 12:54 AM   #8
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-14.1
Posts: 1,223

Rep: Reputation: 177Reputation: 177
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.
 
Old 12-17-2009, 06:48 AM   #9
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 396Reputation: 396Reputation: 396Reputation: 396
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
 
Old 12-17-2009, 07:44 AM   #10
spudgunner
Member
 
Registered: Dec 2009
Distribution: Slackware
Posts: 228

Original Poster
Rep: Reputation: 18
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?
 
Old 12-17-2009, 08:12 AM   #11
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 1,913

Rep: Reputation: Disabled
Quote:
Originally Posted by adamk75 View Post
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 :-)
 
Old 12-17-2009, 12:56 PM   #12
specialized
Member
 
Registered: Sep 2005
Location: Mar del Plata, Arg
Distribution: Always Slackware
Posts: 217

Rep: Reputation: 34
or not use kde4
 
Old 12-17-2009, 01:02 PM   #13
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 396Reputation: 396Reputation: 396Reputation: 396
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
 
Old 12-17-2009, 04:06 PM   #14
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-14.1
Posts: 1,223

Rep: Reputation: 177Reputation: 177
Quote:
Originally Posted by spudgunner View Post
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
 
Old 12-22-2009, 09:22 AM   #15
spudgunner
Member
 
Registered: Dec 2009
Distribution: Slackware
Posts: 228

Original Poster
Rep: Reputation: 18
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.
 
  


Reply

Tags
compiz, slackware


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
why isn't this source building? don't understand error hedpe Linux - Software 2 10-14-2006 08:40 PM
Building nvidia-kernel-source error log jonasan Linux - Software 1 05-28-2006 09:52 PM
Source-code error in Tripwire when building Ephracis Linux - Software 2 02-24-2005 12:02 PM
Error when building source codes... darkarcon2015 Linux - Software 4 12-21-2004 11:39 PM
Building slackware from source for P4, rolling bootable isos rununix Slackware 1 08-21-2004 10:35 AM


All times are GMT -5. The time now is 11:23 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration