Home Forums Wiki Doc Install Extras Screenshots Source Code Projects Blog Users Groups Register
Glx-Dock / Cairo-Dock List of forums Installation problems | Problèmes à l'installation released 2.1.2-4 plug-ins fails to compile
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)
Installation problems | Problèmes à l'installation

Subjects Author Language Messages Last message
[Locked] released 2.1.2-4 plug-ins fails to compile
mtasaka English 4 mtasaka [Read]
17 February 2010 à 17:06

mtasaka, Thursday 17 December 2009 à 19:06


Subscription date : 16 May 2008
Messages : 106
Well, I am not familiar with launchpad hosting system and bazaar, so
I was strugging with where to gain the release tarball and how to chase
and download the development code (like svn or git)...

Now I tried to compile 2.1.2-4 and it doesn't compile:
applet-wifi.c:28:27: error: applet-struct.h: No such file or directory
In file included from applet-wifi.c:30:
applet-draw.h:29: error: expected ')' before 'iQuality'
applet-wifi.c: In function 'cd_wifi_get_data':
applet-wifi.c:60: error: dereferencing pointer to incomplete type
applet-wifi.c:60: error: dereferencing pointer to incomplete type
applet-wifi.c:61: error: dereferencing pointer to incomplete type
....
....
make[3]: *** [libcd_Network_Monitor_la-applet-wifi.lo] Error 1
make[3]: Target `all' not remade because of errors.
make[3]: Leaving directory `/home/tasaka1/rpmbuild/BUILD/cairo-dock-2.1.2.4/cairo-dock-plugins-2.1.2-4/Network-Monitor/src'


So Network-Monitor/src/applet-struct.h is missing (in the tarball)

I tried to get the latest 2.1.x branch of plug-in codes and
from rev 1449 of 2.1.x branch plug-ins tree, Network-Monitor/src/Makefile.am says:
7 libcd_Network_Monitor_la_SOURCES = \
8 applet-init.c\
9 applet-init.h\
10 applet-config.c\
11 applet-config.h\
12 applet-draw.c\
13 applet-draw.h\
14 applet-notifications.c\
15 applet-notifications.h\
16 applet-connections.c\
17 applet-connections.h\
18 applet-wifi.c\
19 applet-wifi.h\
20 #applet-netspeed.c\
21 #applet-netspeed.h\
22 applet-struct.h


I guess the commented-out lines of 20-21 are causing this issue.

mtasaka, Thursday 17 December 2009 à 21:36


Subscription date : 16 May 2008
Messages : 106
Also the following path is needed to enable showDesklets (patch against
2.1.x branch rev 1449 plug-ins)
=== modified file 'configure.ac'
--- configure.ac 2009-12-05 13:29:23 +0000
+++ configure.ac 2009-12-17 18:54:04 +0000
@@ -124,7 +124,7 @@
[ --enable-rssreader : Enable rssreader applet (default=no) ],
[ with_rssreader=${enableval} ],
[ with_rssreader=no ])
-AC_ARG_ENABLE(,
+AC_ARG_ENABLE(show-desklets,
[ --enable-show-desklets : Enable showDesklets applet (default=no) ],
[ with_showDesklets=${enableval} ],
[ with_showDesklets=no ])

matttbe, Thursday 17 December 2009 à 22:25


Subscription date : 24 January 2009
Messages : 12573
Hi mtasaka,

Network-Monitor is still in alpha
ShowDesklets is no longer used because it's replaced by ShowDesktop

To compile stable packages, I think that the best thing to do is not to add any flags (except for xfce-integration for packages !)

PS: bzr is not so hard . I've added a wiki page if you want

EDIT: thanks for the patch

fabounet, Friday 18 December 2009 à 10:37


Subscription date : 30 November 2007
Messages : 17118
yep, to compile a stable package, juste "configure --prefix=/usr", and nothing more
stable applets are listed in "Applets.stable"

mtasaka, Wednesday 17 February 2010 à 17:06


Subscription date : 16 May 2008
Messages : 106
Thank you for information. Well, as Fedora has "enable all by default if possible"
policy, I usually want to enable all plugins unless impossible. Anyway trying
to compile things and to check if compiled ones work is a good thing

Installation problems | Problèmes à l'installation

Subjects Author Language Messages Last message
[Locked] released 2.1.2-4 plug-ins fails to compile
mtasaka English 4 mtasaka [Read]
17 February 2010 à 17:06


Glx-Dock / Cairo-Dock List of forums Installation problems | Problèmes à l'installation released 2.1.2-4 plug-ins fails to compile 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.