Home Forums Wiki Doc Install Extras Screenshots Source Code Projects Blog Users Groups Register
Glx-Dock / Cairo-Dock List of forums Git Version | Version Git Problem to compile the latest rev on Ubuntu and OpenSUSE
The latest stable release is the *3.4.0* : How to install it here.
Note: We just switched from BZR to Git on Github! (only to host the code and your future pull requests)
Git Version | Version Git

Subjects Author Language Messages Last message
[Locked] Problem to compile the latest rev on Ubuntu and OpenSUSE [Bug #215]
Page : 1 2
BobH English 24 FrankKubuntu [Read]
28 July 2011 à 03:13

BobH, Thursday 07 July 2011 à 16:56


Subscription date : 14 January 2011
Messages : 122
SUSE 11.4 - BZR - Gnome 3 - Nvidia GT220 - Open GL - 2.4.0~0beta1 - I haven't tried it yet with 10.10 Ubuntu which I dual boot with.

By totally deleting the core and plugin directories and reloading the source files (unable to use BZR up) I was able to compile this mornings update. However there are almost too many problems to list but here goes.
When you hover over the dock the top of everything is cut off. The icons enlarge but you only see the bottom half.The sub docks above do the same thing.-- No separators-- If you try and add one they seem to be there but are invisible.-- I am unable to add custom launchers (nothing happens).-- The desktop switcher (on the bottom left) shows the desktop number (1) but has no background.These are just a few. If you need them all I can list them.

ppmt, Thursday 07 July 2011 à 17:10


Subscription date : 29 November 2007
Messages : 3520
yes it has been noticed that the last BZr version is not quite right

I am sure that Fabounet is working on it.

fabounet, Friday 08 July 2011 à 15:39


Subscription date : 30 November 2007
Messages : 17118
that's the fun of running an unstable version

BobH, Friday 08 July 2011 à 16:57


Subscription date : 14 January 2011
Messages : 122
fabounet :
that's the fun of running an unstable version


Yes I know and expect that.But we have to keep the developers on there toes LOL. The problem right now is that the Stable Version 2.3.0 ~3 with the Distro (SUSE 11.4 - Gnome 3) doesn't work correctly.
BTW - Update on compile. The core would not compile this morning. Error 2 libgldi.so

ppmt, Friday 08 July 2011 à 17:06


Subscription date : 29 November 2007
Messages : 3520
it should be fixed now

BobH, Friday 08 July 2011 à 18:49


Subscription date : 14 January 2011
Messages : 122
ppmt :
it should be fixed now


Nope - Not yet

fabounet, Monday 11 July 2011 à 16:12


Subscription date : 30 November 2007
Messages : 17118
what's wrong with the 2.3.0 ~3 ?

BobH, Monday 11 July 2011 à 17:54


Subscription date : 14 January 2011
Messages : 122
fabounet :
what's wrong with the 2.3.0 ~3 ?

As reported earlier you can't add separators to the dock.

CD 2.3.0.3 - SUSE 11.4 - Gnome 3

No separators. Upon initial install and if you try and add a dock separator you get a blank launcher (question mark icon) with the caption Project-Id-Version :@PACKAGE@

fabounet, Tuesday 12 July 2011 à 16:52


Subscription date : 30 November 2007
Messages : 17118
oh ok, I wonder if it could be a problem with the Suse package.
so you have a way to test the 2.4 ?

about the switcher background, I guess Gnome3 doesn't work as Gnome2 (they probably don't use the X methods to set the wallpaper and therefore the applet can't get it). I'll think of it later

BobH, Tuesday 12 July 2011 à 18:24


Subscription date : 14 January 2011
Messages : 122
fabounet :
oh ok, I wonder if it could be a problem with the Suse package.
so you have a way to test the 2.4 ?

about the switcher background, I guess Gnome3 doesn't work as Gnome2 (they probably don't use the X methods to set the wallpaper and therefore the applet can't get it). I'll think of it later


Other than the separators and obvious differences (widgets etc.) Gnome 3 seems to work fine with the stable version 2.3.(including the switcher background). I was able to compile 2.4 BZR once before the latest updates but now I have no success at all. The core compiles to 100% and then I get an Error 2 associated with libgldi.so. It won't compile under 10.10 Ubuntu either for different reasons which at the moment I forget. I am able to compile the stable version 2.3 under SUSE 11.4 so all the dependencies are correct (unless you added something different in there on the update).

fabounet, Wednesday 13 July 2011 à 12:24


Subscription date : 30 November 2007
Messages : 17118
there is a new dependency on libupower, but you should be able to compile without it.

maybe there is a conflict between the 2 installations (some files can be in /usr/local/include or /usr/local/lib)
what's the message error exactly ?

BobH, Wednesday 13 July 2011 à 16:08


Subscription date : 14 January 2011
Messages : 122
fabounet :
there is a new dependency on libupower, but you should be able to compile without it.

maybe there is a conflict between the 2 installations (some files can be in /usr/local/include or /usr/local/lib)
what's the message error exactly ?


There are no files in either of those directories.
Heres the error at the end of the compile.

[100%] Building C object src/gldit/CMakeFiles/gldi.dir/cairo-dock-config.c.o
In file included from /usr/include/gtk-2.0/gtk/gtk.h:233:0,
from /opt/cairo-dock_bzr/cairo-dock-core/src/gldit/cairo-dock-config.c:23:
/usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: warning: function declaration isn’t a prototype
Linking C shared library libgldi.so
[100%] Built target gldi
make: *** [all] Error 2

matttbe, Wednesday 13 July 2011 à 20:36


Subscription date : 24 January 2009
Messages : 12573
Should be fixed with the revision 801. Can you confirm?

BobH, Wednesday 13 July 2011 à 20:56


Subscription date : 14 January 2011
Messages : 122
matttbe :
Should be fixed with the revision 801. Can you confirm?


OK - The core compiled fine with Rev 801 - However the plugins don't.

In file included from /opt/cairo-dock_bzr/cairo-dock-plug-ins/alsaMixer/src/applet-notifications.c:25:0:
/opt/cairo-dock_bzr/cairo-dock-plug-ins/alsaMixer/src/applet-struct.h:24:24: fatal error: cairo-dock.h: No such file or directory
compilation terminated.
make[2]: * [alsaMixer/src/CMakeFiles/cd-AlsaMixer.dir/applet-notifications.c.o] Error 1
In file included from /opt/cairo-dock_bzr/cairo-dock-plug-ins/alsaMixer/src/applet-mixer.c:26:0:
/opt/cairo-dock_bzr/cairo-dock-plug-ins/alsaMixer/src/applet-struct.h:24:24: fatal error: cairo-dock.h: No such file or directory
compilation terminated.
make[2]:
* [alsaMixer/src/CMakeFiles/cd-AlsaMixer.dir/applet-mixer.c.o] Error 1
make[1]: * [alsaMixer/src/CMakeFiles/cd-AlsaMixer.dir/all] Error 2
make:
* [all] Error 2

matttbe, Wednesday 13 July 2011 à 22:30


Subscription date : 24 January 2009
Messages : 12573
Mmmh, strange... no problem for me.
Do you use our cairo-dock_bzr.sh script? If not and before compiling all plug-ins, you have to install binaries and data from cairo-dock-core (# make install) and you've to use the latest revision of the plugins. It's also better to use a clean environment to compile all plug-ins (and cairo-dock-core):
cd build
# make uninstall
rm -rf *
bzr pull
cmake .. (...)
make
# make install

And it's maybe interesting to delete the content of these directories:
/usr/include/cairo-dock/* /usr/lib/libgldi.so* /usr/share/cairo-dock/* /usr/lib/cairo-dock/*


EDIT: can you also check if you have something of Cairo-Dock in /usr/local (e.g.: /usr/local/include/cairo-dock/, /usr/local/lib/libgldi.so*, /usr/local/share/cairo-dock/*, /usr/local/lib/cairo-dock/*)

Joesus, Thursday 14 July 2011 à 00:12


Subscription date : 03 June 2011
Messages : 7
I've been having the same issue of the plugins BZR version not installing for the same reason, even though cairo-dock.h is located at /usr/include/cairo-dock/cairo-dock.h. Unfortunately, I don't know enough about C or C++ to be able to figure out why it isn't being automatically found. Tried removing all of those directories and then reinstalling cairo-dock-bzr, but plugins failed with the same compilation error.

BobH, Thursday 14 July 2011 à 01:05


Subscription date : 14 January 2011
Messages : 122
matttbe :
Mmmh, strange... no problem for me.
Do you use our cairo-dock_bzr.sh script? If not and before compiling all plug-ins, you have to install binaries and data from cairo-dock-core (# make install) and you've to use the latest revision of the plugins. It's also better to use a clean environment to compile all plug-ins (and cairo-dock-core):
cd build
# make uninstall
rm -rf *
bzr pull
cmake .. (...)
make
# make install

And it's maybe interesting to delete the content of these directories:
/usr/include/cairo-dock/* /usr/lib/libgldi.so* /usr/share/cairo-dock/* /usr/lib/cairo-dock/*


EDIT: can you also check if you have something of Cairo-Dock in /usr/local (e.g.: /usr/local/include/cairo-dock/, /usr/local/lib/libgldi.so*, /usr/local/share/cairo-dock/*, /usr/local/lib/cairo-dock/*)

I don't use the script in SUSE.I have already done all of the above.I've been doing this quite a while in both Ubuntu and SUSE. I started with a totally clean environment and had deleted the /usr/lib64/libgldi.so* (SUSE specific) files along with the other associated directories mentioned above.There are no dock associated files at all in the usr/local directories .

Joesus, Thursday 14 July 2011 à 02:37


Subscription date : 03 June 2011
Messages : 7
I dunno that this will necessarily help, but, matttbe, what's in your $PATH?

matttbe, Thursday 14 July 2011 à 09:15


Subscription date : 24 January 2009
Messages : 12573
If you're on OpenSUSE x86_64 (64bits architecture) you have to use this CMake option for cairo-dock-core and its plug-ins: -DFORCE_LIB64=yes => From BZR
and you've to remove all Cairo-Dock files in /usr/lib (/usr/lib/cairo-dock/, /usr/lib/pkgconfig/cairo-dock.pc, /usr/lib/pkgconfig/gldi.pc, /usr/lib/libgldi.so*)

And what's the output messages of this command:
find /usr -name cairo-dock.pc

BobH, Thursday 14 July 2011 à 16:45


Subscription date : 14 January 2011
Messages : 122
matttbe :
If you're on OpenSUSE x86_64 (64bits architecture) you have to use this CMake option for cairo-dock-core and its plug-ins: -DFORCE_LIB64=yes => From BZR
and you've to remove all Cairo-Dock files in /usr/lib (/usr/lib/cairo-dock/, /usr/lib/pkgconfig/cairo-dock.pc, /usr/lib/pkgconfig/gldi.pc, /usr/lib/libgldi.so*)

And what's the output messages of this command:
find /usr -name cairo-dock.pc

Ok - I've been using the DFORCE_LIB64=yes (from the BZR site ) and as stated earlier have compiled the stable 2.3.0-3 source with no problem. All of the files mentioned above - Have been Removed - (again this morning just to be sure).
The results of (/usr -name cairo-dock.pc) were /usr/lib64/pkgconfig/cairo-dock.pc which I removed along with everything else before attempting a recompile this morning.I get the same results. It compiles the core just fine and goes thru
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DFORCE_LIB64=yes) but fails when you try to compile with make -j $(grep -c ^processor /proc/cpuinfo)

Git Version | Version Git

Subjects Author Language Messages Last message
[Locked] Problem to compile the latest rev on Ubuntu and OpenSUSE [Bug #215]
Page : 1 2
BobH English 24 FrankKubuntu [Read]
28 July 2011 à 03:13


Glx-Dock / Cairo-Dock List of forums Git Version | Version Git Problem to compile the latest rev on Ubuntu and OpenSUSE Top

Online users :

Powered by ElementSpeak © 2007 Adrien Pilleboue, 2009-2013 Matthieu Baerts.
Dock based on CSS Dock Menu (Ndesign) with jQuery. Icons by zgegball
Cairo-Dock is a free software under GNU-GPL3 licence. First stable version created by Fabounet.
Many thanks to TuxFamily for the web Hosting and Mav for the domain name.