View Full Version : Feisty: Compiz dependancies for compiling from source
RYX
April 11th, 2007, 05:27 PM
This is a short summary of all required deps to compile compiz on a "fresh" Ubuntu Feisty machine. If you want to compile compiz yourself and want to avoid fetching the whole bunch of deps (via apt-get build-dep compiz) you can install only the required list of packages. I have no info about kde-deps right now, if someone knows them he should feel free to add them ... thanks in advance.
(Note: This is not the _full_ list of deps, but all additional packages will be installed automatically when installing the given packages (e.g. libcairo-dev))
# core dependancies (for stable/development)
sudo apt-get install build-essential libxcomposite-dev libpng-dev libsm-dev libxrandr-dev libxdamage-dev libxinerama-dev libstartup-notification0-dev libgconf2-dev libgl1-mesa-dev libglu1-mesa-dev
# for gtk (also installs cairo-dev)
sudo apt-get install libgtk2.0-dev libwnck-dev
# for metacity
sudo apt-get install libmetacity-dev
# for svg (--enable-librsvg)
sudo apt-get install librsvg2-dev
# for dbus
sudo apt-get install libdbus-1-dev libdbus-glib-1-dev
# for fuse
sudo apt-get install libfuse-dev
# for gnome-integration
sudo apt-get install libgnome-desktop-dev libgnome-window-settings-dev
# additional things needed for downloading/compiling from git
sudo apt-get install gitweb curl autoconf automake automake1.9 libtool intltool libxslt1-dev xsltproc
:)
bijoux
April 14th, 2007, 06:28 PM
thanks for this. I just tried feisty out of curiosity and this was really helpful. thanks
fluid
April 26th, 2007, 09:39 PM
and libwnck-dev will not install...
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libwnck-dev: Depends: libwnck18 (= 2.16.1-0ubuntu1.1) but 2.18.0-0ubuntu1 is to be installed
E: Broken packages
what is your recommendation?
karmapolice
April 26th, 2007, 10:55 PM
You probably have libwnck from another repository? or mmm what distro are you using?
fluid
April 27th, 2007, 01:31 AM
You probably have libwnck from another repository? or mmm what distro are you using?
ubuntu 7.04 - feisty fawn - ati radeon xpress 200m - using the restricted driver from feisty fawn (seems faster than the most recent ati proprietary to me) - that was the case from the time i installed 7.04. this dev lib did not match with the installed version of libwnck.
i looked at the properties of that in synaptic and an appropriate version was there, so i forced synaptic to use that version.
after getting that library, everything that i wanted was enabled from the compiz configure script
the following optional plugins will be compiled:
gconf: yes
place: yes
dbus: yes
annotate: yes
svg: yes
inotify: yes
fuse: no
and the following optional features will be compiled:
svg: yes
gtk: yes
metacity: yes
gnome: yes
kde: no
so i ran make, no problems were found. everything was made cleanly. so i ran checkinstall. it goes through a ton of stuff, monitors what it is doing. no errors until after it has created the package and tries to install it.
ranlib /usr/lib/compiz/libinotify.a
ranlib: could not create temporary file whilst writing archive: No more archived files
make[2]: *** [install-moduleLTLIBRARIES] Error 1
make[2]: Leaving directory `/home/fluid/Desktop/compiz-0.5.0/plugins'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/fluid/Desktop/compiz-0.5.0/plugins'
make: *** [install-recursive] Error 1
**** Installation failed. Aborting package creation.
Cleaning up...OK
Bye.
the package it created also wanted to overwrite /usr/bin/strip...not something i am willing to force. so i gave up on that.
i am going to make install anyway now, and i will come back and post the error i get after that. im even going to attempt (if it does not work with the way it is installed by make) to use the compiz start script that ubuntu comes with, which means ill be renaming the compiz binary to compiz.real
ill post the results in a bit.
fluid
April 27th, 2007, 03:22 AM
i remade it, reinstalled it...
no errors for either step
if i try and run the compiz binary, i get the following:
fluid@fluid-laptop:~$ compiz.real --replace
compiz.real: GLX_EXT_texture_from_pixmap is missing
compiz.real: Failed to manage screen: 0
compiz.real: No manageable screens found on display :1.0
[1]+ Terminated compiz --replace gconf
i decided to try the compiz start script that comes with ubuntu, which means compiz (binary) is now renamed to compiz.real, and the script is called compiz. here are the results.
fluid@fluid-laptop:~$ compiz --replace gconf
compiz.real: Unknown option '--no-fbo'
compiz.real: Failed to load slide: freedesktop
the cube is working, no shadows, no window decorations...ill try and add those next.
fluid@fluid-laptop:~$ gtk-window-decorator --replace &
[2] 15149
fluid@fluid-laptop:~$ gtk-window-decorator: Could not acquire decoration manager selection on screen 0 display ":1.0"
at this point, the cube still works, still no shadows, still no decoration...
what next?
fluid
April 27th, 2007, 12:27 PM
fixed, up and running. solution? remove beryl 0.2.0... why was that a problem? no idea, but thats all i did, was remove every .deb that was installed for beryl.
mikibg
May 2nd, 2007, 02:42 AM
I must reinstall fiesty to get 0.5 and install first compiz no beryl ....if you have beryl you must remove beryl first than istall compiz ,,,,,ok now works fine
Brazilian Joe
July 18th, 2007, 04:34 PM
Using Kubuntu Gutsy Gibbon.
Tried the procedure above. One more dependency I had to explicitly apt-get was xsltproc:
sudo apt-get install xsltproc
If you can edit the guide and add it, it would be better.
Also, I could not manage to enable kde support. The TODO lists that support for kde is not done yet, but I don't know if the message is up-to-date... can anyone confirm? The dev-packages for qt/kde seem to be installed on my system.
My machine has an ATI x1600, and I have installed the fglrx drivers with the Xgl server. I have tested them and they work correctly.
But the same error which shows up on the gutsy packages also show up on the git version:
Checking for Xgl: present.
Checking for nVidia: not present.
Checking for Xgl: present.
Enabling Xgl with fglrx ATi drivers...
/usr/local/bin/compiz.git (core) - Error: Screen 0 on display ":1.0" already has a window manager; try using the --replace option to replace the current window manager.
/usr/local/bin/compiz.git (core) - Fatal: No manageable screens found on display :1.0
exec: 252: /usr/bin/metacity: not found
tfreire@rainforest:~$ compiz --replace
Checking for Xgl: present.
Checking for nVidia: not present.
Checking for Xgl: present.
Enabling Xgl with fglrx ATi drivers...
***MEMORY-WARNING***: [27916]: GSlice: g_thread_init() must be called before all other GLib functions; memory corruption due to late invocation of g_thread_init() has been detected; this program is likely to crash, leak or unexpectedly abort soon...
The window manager crashes as soon as I issue the 'compiz --replace' command, and outputs the above message on the command line.
delfick
July 18th, 2007, 05:21 PM
and you might want to add python-dev to the list too http://forum.compiz.org/viewtopic.php?t=1457 :D
RYX
July 18th, 2007, 07:22 PM
@BrazilianJoe: I added xsltproc to the list, thanks for noting that. The g_thread_init-error is related to some glib changes in the new glib version, I am sure people will fix their apps once Gutsy is getting more finished and glib 2.0 becomes default in all distros. I can't say anything about the KDE support, though.
@delfick: That dependancy is not really for compiz, it is for the compiz-config-system. I asked maniac to create a new post for it somewhere in this forum to inform people about it, but he didn't do it (yet?).
:)
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.