In this guide I will describe you how to compile and install the latest compiz-fusion from git on Fedora 7. compiz-fusion is the cool cube desktop you see all over the Internet from Linux users. Fedora 7 has packages only for beryl which is considered obsolete. compiz-fusion is the merge of beryl and compiz!

** You should have in mind that software found in the git repositories is considered as alpha and therefore is not guarranted to be stable. So it's your own risk if anything goes wrong with your system (although usually rare).

** In the following commands I use sudo instead of becoming root with su -c. You can either configure sudo as described here or every time you see sudo command replace it with su -c 'command' .

Let's move on to the installation procedure. If you have any beryl and emerald packages installed remove them first.

sudo yum remove beryl* emerald*

compiz-fusion 0.6 needs libx11 with xcb support. Therefore you have to install the following packages from the developement Fedora 8 repository.

sudo yum --enablerepo=development install libxcb xcb-proto libxcb-devel
sudo yum --enablerepo=development update libX11

Now you must have some packages installed. Open a terminal and type:

sudo yum install git-core libtool python Pyrex

Next create a directory in your home and change to it like this:

mkdir ~/compiz
cd ~/compiz

Now it's time to clone compiz from the git repository:

git clone git://git.freedesktop.org/git/xorg/app/compiz
git clone git://anongit.compiz-fusion.org/fusion/libraries/bcop
git clone git://anongit.compiz-fusion.org/fusion/compizconfig/ccsm
git clone git://anongit.compiz-fusion.org/fusion/compizconfig/libcompizconfig
git clone git://anongit.compiz-fusion.org/fusion/compizconfig/compizconfig-python
git clone git://anongit.compiz-fusion.org/fusion/plugins-main
git clone git://anongit.compiz-fusion.org/fusion/plugins-extra
git clone git://anongit.compiz-fusion.org/fusion/plugins-unsupported
git clone git://anongit.compiz-fusion.org/fusion/decorators/emerald
git clone git://anongit.compiz-fusion.org/fusion/decorators/emerald-themes
git clone git://anongit.compiz-fusion.org/users/crdlb/fusion-icon

Next we must compile all the packages. Be carefull if you are using only gnome in the following commands you should use --disable-kde and if you are using only kde --disable-gnome --disable-metacity. If you want both kde and gnome support just don't disable anything. I will type the commands with gnome and metacity disabled, but you choose.

cd ~/compiz/compiz
./autogen.sh --prefix=/usr/local --disable-gnome --disable-metacity && make && sudo make install

When the compile of compiz finishes type:

export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig

After that you must compile bcop, libcompizconfig, compizconfig-python, and plugins-main, in that order.

cd ~/compiz/bcop
./autogen.sh --prefix=/usr/local --disable-gnome --disable-metacity && make && sudo make install
cd ~/compiz/libcompizconfig
./autogen.sh --prefix=/usr/local --disable-gnome --disable-metacity && make && sudo make install
cd ~/compiz/compizconfig-python
./autogen.sh --prefix=/usr/local --disable-gnome --disable-metacity && make && sudo make install
cd ~/compiz/plugins-main
./autogen.sh --prefix=/usr/local --disable-gnome --disable-metacity && make && sudo make install

Next we move on to the other packages:

cd ~/compiz/plugins-extra
./autogen.sh --prefix=/usr/local --disable-gnome --disable-metacity && make && sudo make install
cd ~/compiz/plugins-unsupported
./autogen.sh --prefix=/usr/local --disable-gnome --disable-metacity && make && sudo make install
cd ~/compiz/emerald
./autogen.sh --prefix=/usr/local --disable-gnome --disable-metacity && make && sudo make install
cd ~/compiz/emerald-themes
./autogen.sh --prefix=/usr/local --disable-gnome --disable-metacity && make && sudo make install

ccsm and fusion-icon need a little different procedure:

cd ~/compiz/ccsm
make && sudo make install
cd ~/compiz/fusion-icon
make && sudo make install

You also have to make some links in order fusion-icon and ccsm to work properly.

sudo ln -s /usr/local/lib/python2.5/site-packages/compizconfig* /usr/lib/python2.5/site-packages/
sudo ln -s /usr/local/lib/python2.5/site-packages/ccm/ /usr/lib/python2.5/site-packages/

For nVidia cards you should add the following line in your xorg.conf in the Screen Section.

Option		"AddARGBGLXVisuals"	"true"

So open xorg.conf and paste the labove line.

sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.old
sudo nano /etc/X11/xorg.conf

Save (ctrl+o) and exit (ctrl+x).

At last you are ready to run compiz-fusion! You can either type:

fusion-icon &

or you can launch it from the start menu as 'Compiz Fusion Icon'.

At any time you can update any package to the latest version. You check for newer versions here. For example if you want to update emerald type:

cd ~/compiz/emerald
git pull
./autogen.sh --prefix=/usr/local --disable-gnome --disable-metacity && make && sudo make install


**Note: Super key

If you use KDE and Super key (the button with the windows flag on it) isn't recongnized you must edit your xorg.conf to make it work.

sudo nano /etc/X11/xorg.conf

and add this line in the InputDevice Section

Option "XkbOptions" "altwin:super_win"

Restart X by hiting ctrl+alt+backspace and try again the super key.

Comments (18)

Subscribe to this comment's feed
no workie fer me :(
0
:?

2.6.22.9-91.fc7
fglrx 8.40

When I run:
./autogen.sh --prefix=/usr/local --disable-gnome --disable-metacity

I get this output::
"
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal
configure.ac:197: warning: macro `AM_GCONF_SOURCE_2' not found in library
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy
libtoolize: `config.guess' exists: use `--force' to overwrite
libtoolize: `config.sub' exists: use `--force' to overwrite
libtoolize: `ltmain.sh' exists: use `--force' to overwrite
configure.ac:197: warning: macro `AM_GCONF_SOURCE_2' not found in library
autoreconf: running: /usr/bin/autoconf
autoreconf: running: /usr/bin/autoheader
autoreconf: running: automake --add-missing --copy --no-force
kde/window-decorator/Makefile.am:32: `%'-style pattern rules are a GNU make extension
kde/window-decorator/Makefile.am:35: `%'-style pattern rules are a GNU make extension
kde/window-decorator/Makefile.am:38: `%'-style pattern rules are a GNU make extension
metadata/Makefile.am:77: GCONF_SCHEMAS_INSTALL does not appear in AM_CONDITIONAL
metadata/Makefile.am:40: patsubst %.xml.in,compiz-%.schemas,$(xml_in_files: non-POSIX variable name
metadata/Makefile.am:40: (probably a GNU make extension)
metadata/Makefile.am:43: `%'-style pattern rules are a GNU make extension
metadata/Makefile.am:53: patsubst %.xml.in,compiz-%.kcfg,$(xml_in_files: non-POSIX variable name
metadata/Makefile.am:53: (probably a GNU make extension)
metadata/Makefile.am:57: `%'-style pattern rules are a GNU make extension
metadata/Makefile.am:58: subst compiz-,,$*: non-POSIX variable name
metadata/Makefile.am:58: (probably a GNU make extension)
autoreconf: automake failed with exit status: 1
"

Seen this before?

Thanks,

Kasp
kasperpa , October 25, 2007
...
0
ok, little more info.. I installed GConf2-devel, and now get the error:
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy
libtoolize: `config.guess' exists: use `--force' to overwrite
libtoolize: `config.sub' exists: use `--force' to overwrite
libtoolize: `ltmain.sh' exists: use `--force' to overwrite
autoreconf: running: /usr/bin/autoconf
configure.ac:23: error: possibly undefined macro: AC_PROG_INTLTOOL
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1
kasperpa , October 25, 2007
...
0
ok.... got past that... installed intltool....

new errors...: (sorry for all the posts, delete them if u want i guess, just trying to figure this out smilies/sad.gif

checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for COMPIZ... configure: error: Package requirements (x11-xcb xcomposite xfixes xdamage xrandr xinerama ice sm libxml-2.0 libxslt libstartup-notification-1.0 >= 0.7) were not met:

No package 'libstartup-notification-1.0' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables COMPIZ_CFLAGS
and COMPIZ_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
kasperpa , October 25, 2007
...
0
The following line describes what packages you are missing.

checking for COMPIZ... configure: error: Package requirements (x11-xcb xcomposite xfixes xdamage xrandr xinerama ice sm libxml-2.0 libxslt libstartup-notification-1.0 >= 0.7) were not met:

Try installing them with the following commands as root.

yum --enablerepo=development install libxcb xcb-proto libxcb-devel
yum --enablerepo=development update libX11
yum install libXcomposite libXcomposite-devel libXfixes libXfixes-devel libXdamage libXdamage-devel libXrandr libXrandr-devel libXinerama libXinerama-devel libICE libICE-devel libSM libSM-devel libxml libxml2 libxslt libxslt-devel startup-notification startup-notification-devel

I see that you use fglrx 8.40. The latest version of fglrx 8.42 with 3d support is in the freshrpms development repository. You might wait a while for it to become stable and try it. But if you want, you can try it from the testing repo.
axel , October 26, 2007
...
0
everything was installed (according to yum) except, libSM libSM-devel libxml libxml2 libxslt libxslt-devel.
So i installed those packages.

I have the startup-notification-0.9-3.fc8 installed... it's askling for 1.0?
but I am still getting the same error as above... :?

yea I am waiting for the livna to be updated for 8.42, I tried building the packages using the .run from ati, but it doesn't agree with me either smilies/wink.gif

8.40 is stable for me
kasperpa , October 26, 2007
...
0
It's not asking for startup-notifiation 1.0
libstartup-notification-1.0 is part of startup-notification-devel-0.9-1.fc7

[axel@aeris ~]$ rpm -qf /usr/lib/libstartup-notification-1.so
startup-notification-devel-0.9-1.fc7

Paste again the error you get.
axel , October 26, 2007
...
0
checking pkg-config is at least version 0.9.0... yes
checking for COMPIZ... configure: error: Package requirements (x11-xcb xcomposite xfixes xdamage xrandr xinerama ice sm libxml-2.0 libxslt libstartup-notification-1.0 >= 0.7) were not met:

No package 'libstartup-notification-1.0' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables COMPIZ_CFLAGS
and COMPIZ_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
kasperpa , October 26, 2007
...
0
when i do the rpm -qf, i get:

rpm -qf /usr/lib/libstartup-notification-1.so
error: file /usr/lib/libstartup-notification-1.so: No such file or directory
kasperpa , October 26, 2007
...
0
found it here (man, sorry for flooding the comments here)

[root@turion /]# find |grep libstartup-notification-1
./usr/lib/libstartup-notification-1.so.0
./usr/lib/libstartup-notification-1.so.0.0.0
./usr/lib64/libstartup-notification-1.so.0
./usr/lib64/libstartup-notification-1.so.0.0.0
kasperpa , October 26, 2007
...
0
Are you sure you installed all the packages I told you befora? I see that you miss many packages. As root run

yum install startup-notification startup-notification-devel

yum --enablerepo=development install libxcb xcb-proto libxcb-devel

yum --enablerepo=development update libX11

yum install libXcomposite libXcomposite-devel

yum install libXfixes libXfixes-devel

yum install libXdamage libXdamage-devel

yum install libXrandr libXrandr-devel

yum install libXinerama libXinerama-devel

yum install libICE libICE-devel

yum install libSM libSM-devel

yum install libxml libxml2

yum install libxslt libxslt-devel
axel , October 26, 2007
...
0
Btw since you are not using 8.42 driver you can't run compiz-fusion without xgl. Take a look at this thread. It might help you. I don't own an ATi card to test it myself.
axel , October 26, 2007
...
0
ok, startup-notification-devel wasn't installed, installed it and everything goes up until the make install: at the end of make install:

/usr/bin/ld: cannot find -ldbus-qt-1
collect2: ld returned 1 exit status
make[2]: *** [libkconfig.la] Error 1
make[2]: Leaving directory `/usr/local/compiz/compiz/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/compiz/compiz'
make: *** [all] Error 2

yea got the .5.2 compiz-fusion running fine, up until i installed afew fc8' parts (the sudo yum --enablerepo=development install libxcb xcb-proto libxcb-devel
sudo yum --enablerepo=development update libX11)
for whatever reason, that slows down my compiz-fusion big time, lol .. wanted to tryt eh new version... any ideas on why the make install failed, i may just wait for the fc8 release, and upgrade fully smilies/wink.gif
kasperpa , October 26, 2007
...
0
[axel@aeris ~]$ rpm -qf /usr/lib/libdbus-qt-1.so
dbus-qt-devel-0.70-1.fc7

Install this package as well.

F8 is a few days far. smilies/smiley.gif
axel , October 26, 2007
...
0
alright! everything went smoothly up until the emerald package.. btw, thank you for helping me on this!!!

ok, error is:

checking for EMERALD... configure: error: Package requirements ( xrender >= 0.8.4 gtk+-2.0 >= 2.8.0 libwnck-1.0 libdecoration pangocairo) were not met:

No package 'gtk+-2.0' found
No package 'libwnck-1.0' found
No package 'pangocairo' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables EMERALD_CFLAGS
and EMERALD_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.


and i rpm -qa'd: (i have)
gtk+-1.2.10-57.fc7
libwnck-2.18.3-1.fc7

don't have pangocairo, yum couldnt find it either..
but i do have:
cairo-1.4.10-1.fc7
kasperpa , October 26, 2007
...
0
You must have devel packages as well.

You can try yumex ( yum install yumex ). It's a graphical interface for yum that will make it easier for you to resolve the dependencies.
axel , October 26, 2007
...
0
you've got to hat me by now.... sorry smilies/smiley.gif
yea I use yumex and yum, i stillfind myself going back to plain ol yum tho for some reason smilies/wink.gif

make install of emerald fails at:

/usr/bin/ld: skipping incompatible /usr/lib/libwnck-1.so when searching for -lwnck-1
/usr/bin/ld: skipping incompatible /usr/lib/libgtk-x11-2.0.so when searching for -lgtk-x11-2.0
/usr/bin/ld: skipping incompatible /usr/lib/libgtk-x11-2.0.so when searching for -lgtk-x11-2.0
/usr/bin/ld: cannot find -lgtk-x11-2.0
collect2: ld returned 1 exit status
make[2]: *** [libemeraldengine.la] Error 1
make[2]: Leaving directory `/usr/local/compiz/emerald/libengine'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/compiz/emerald'
make: *** [all] Error 2
kasperpa , October 26, 2007
fusion-icon doesnt working
0
Hi, I compiled all of things without errors I only get error for ln -s /usr/local/lib/python2.5/site-packages/ccm/ /usr/lib/python2.5/site-packages/
ln: creating symbolic link `/usr/lib/python2.5/site-packages/ccm': File exists

and when I run fusion-icon via terminal I get
File "/usr/bin/fusion-icon", line 57, in
from FusionIcon.interface import choose_interface
File "usr/lib/python2.5/site-packages/FusionIcon/interface.py", line 22, in
File "usr/lib/python2.5/site-packages/FusionIcon/util.py", line 23, in
ImportError: No module named compizconfig

Also from start menu same compizconfig settings manager dont work too.. Where is the prblem ?
zeus , November 22, 2007
fusion-icon doesnt working
0
Hi, I compiled all of things without errors I only get error for ln -s /usr/local/lib/python2.5/site-packages/ccm/ /usr/lib/python2.5/site-packages/
ln: creating symbolic link `/usr/lib/python2.5/site-packages/ccm': File exists

and when I run fusion-icon via terminal I get
File "/usr/bin/fusion-icon", line 57, in
from FusionIcon.interface import choose_interface
File "usr/lib/python2.5/site-packages/FusionIcon/interface.py", line 22, in
File "usr/lib/python2.5/site-packages/FusionIcon/util.py", line 23, in
ImportError: No module named compizconfig

Also from start menu same compizconfig settings manager dont work too.. Where is the prblem ?
zeus , November 22, 2007

Write comment

smaller | bigger
security image
Write the displayed characters

busy

Linux

Login Form

Follow me on...

  • Facebook
  • Twitter
  • Google+: u/0/b/113039112812192417058/
  • Digg
  • Reddit: myguides
  • RSS Feed
  • e-mail

Member Login