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 Cairo Dock Plugins won't fully 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] Cairo Dock Plugins won't fully compile
Redoubts English 2 fabounet [Read]
23 August 2013 à 17:27

Redoubts, Sunday 11 August 2013 à 19:25


Subscription date : 11 August 2013
Messages : 1
I can't seem to get the Cairo Plugins to compile from BZR.
Currently running Fedora 19 XFCE, with GCC 4.8.1

Following the directions given at http://glx-dock.org/ww_page.php?p=By%20compiling&lang=en

This is the cmake result (which looks fine):
cmake .. -DCMAKE_INSTALL_PREFIX=/usr

-- =====================
-- 
Check dependencies...
-- =====================

-- > Static 
Libraries:
-- > 
GVFS-Integration:
-- > 
Indicator-Applet:
-- 
checking for module 'libido3-0.1'
--   package 'libido3-0.1' not found
--   Indicatorswith Indicator3 support
-- > Indicator Names:
-- > 
Distribution:
--   
DISTRO_IDFedoraDISTRO_RELEASEFedora release 19 (Schrödinger’s Cat)Kernel \r on an \(\l)
-- > 
Shared Libraries:
-- > 
AlsaMixer:
--    
With Indicator-Applet3
-- > Animated Icons:
-- > 
Cairo Penguin:
-- > 
Clipper:
-- > 
Clock:
-- > 
Composite Manager:
-- > 
DBus:
--  * 
Python:
--    
Python Version2
--    Python executable program(s): /usr/bin/python PYTHON3_EXECUTABLE-NOTFOUND
--  * Ruby:
--    
Ruby library dir: /usr/share/ruby/
--    
will be installed in: /usr/
--  * 
Mono:
-- 
Could not find Mono compiler gmcswon t build Mono interface.
--  * 
Vala:
--    
Path to valac: /usr/bin/valac
--    Vala version0.20.1
--    Vala compiler OK (>= 0.10).
--  * 
With DBusMenu support
running cd 
"/home/redoubts/Downloads/cairo-dock-plug-ins/build/Dbus/interfaces/python" && /usr/bin/python setup.py -q build  2>&1
running cd 
"/home/redoubts/Downloads/cairo-dock-plug-ins/build/Dbus/interfaces/bash" && /usr/bin/python setup.py -q build  2>&1
-- > Desklet Rendering:
-- > 
Dialog Rendering:
-- > 
DND2Share:
-- > 
Dock Rendering:
-- > 
Drop Indicator:
-- > 
Dustbin:
-- > 
Folders:
-- > 
GMenu:
-- > 
Gnome-Integration:
-- > 
Icon Effects:
-- > 
Impulse:
-- 
checking for module 'fftw3'
--   package 'fftw3' not found
-- > Indicator-Generic:
-- > 
Illusion:
-- > 
KDE-Integration:
--   
KDE_INTEGRATION_FOUND1
-- > Keyboard-Indicator:
-- > 
Logout:
-- > 
Mail:
--   
libetpan foundUsing the following options:
--    Include 
directories
--    
Link directories
--    
Link libraries: -letpan -lcurl -lexpat -lgnutls -lgcrypt -lgpg-error -lz -ldb-5.3 -llockfile -lsasl2
-- > MeMenuthis applet has been automatically merged with Messaging-Menu
-- > Messaging-Menu:
--    
With Indicator-Applet3
-- > Motion Blur:
-- > 
MusicPlayer:
-- > 
NetSpeed:
-- > 
PowerManager:
-- > 
Quick Browser:
-- > 
Recent-Events:
-- > 
Remote Control:
-- > 
RSSreader:
-- > 
Screenshot:
-- > 
Shortcuts:
-- > 
ShowDesktop:
-- > 
Show Mouse:
-- > 
Slider:
-- > 
Sound-Effects:
-- > 
Stack:
-- > 
Status Notifier:
--   
Used old DBus name 0
--   ApplicationAdded signal has 'Hint' 1
--   ApplicationAdded signal has 'Title' 1
-- > Switcher:
-- > 
System Monitor:
-- > 
Systray:
-- > 
Terminal:
-- > 
Tomboy:
-- > 
Toons:
-- > 
Weather:
-- > 
Weblets:
-- > 
WiFi:
-- > 
XFCE-Integration:
--   
GVFS foundsource file applet-thunar-vfs.c NOT included for compilation.
-- > 
XGamma:

-- ===============
-- 
Language build:
-- ===============

--   
Building pl.gmo...
--   
Building de.gmo...
--   
Building eu.gmo...
--   
Building sr@latin.gmo...
--   
Building hr.gmo...
--   
Building lt.gmo...
--   
Building tr.gmo...
--   
Building pt.gmo...
--   
Building ja.gmo...
--   
Building it.gmo...
--   
Building en.gmo...
--   
Building pt_BR.gmo...
--   
Building sk.gmo...
--   
Building ar.gmo...
--   
Building he.gmo...
--   
Building sv.gmo...
--   
Building fr.gmo...
--   
Building id.gmo...
--   
Building et.gmo...
--   
Building zh_TW.gmo...
--   
Building cs.gmo...
--   
Building ru.gmo...
--   
Building nl.gmo...
--   
Building zh_CN.gmo...
--   
Building el.gmo...
--   
Building hu.gmo...
--   
Building sr.gmo...
--   
Building es.gmo...
--   
Building uk.gmo...

-- ===============
-- 
Plug-ins build:
-- ===============

-- 
Stable:
--  
Integration plug-ins:
--  - 
with Gnome support:             yes
--  - with KDE support:               yes
--  - with XFCE support:              yes
--  Plug-ins:
--  - 
with Alsa-Mixer applet:         yes
--  - with GMenu applet:              yes (new version)
--  - 
with Impulse applet:            yes
--  - with Indicator-Generic applet:  yes
--  - with Keyboard-indicator appletyes
--  - with Mail applet:               yes
--  - with Messaging-Menu applet:     yes
--  - with Recent-Events applet:      yes (zeitgeist 2.0)
--  - 
with Sound Effects applet:      yes
--  - with Status-Notifier applet:    yes
--  - with Terminal applet:           yes
--  - with Weblets applet:            yes
--  - with Xgamma applet:             yes
-- Add On:
--  - 
with Sound-Menu support:        yes
--  - with Screen Resolution supportyes
--  - with Sensors support:           yes
--  - with UPower support:            yes
--  - with iCal support:              yes
--  - with Exif support:              yes
-- Third Party Interfaces:
--  - 
with Python2 interface:         yes
--  - with Python3 interface:         no
--  - with Ruby interface:            yes
--  - with Mono interface:            no
--  - with Vala interface:            yes
--  - with Vala Translator (valac):   yes
-- Unstable:
--  - 
with Global-Menu applet:        no
--  - with Disks applet:              no
--  - with Doncky applet:             no
--  - with KDE experimental support:  no
--  - with Network-Monitor applet:    no
--  - with Scooby-Do applet:          no
-- Deprecated:
--  - 
with old Gnome support:         no

-- Configuring done
-- Generating done
-- Build files have been written to: /home/redoubts/Downloads/cairo-dock-plug-ins/build



And this is the make result
$ make
[ 0%] Built target gvfs-integration
[ 1%] Built target indicator-applet3
[ 1%] Built target indicator-applet
[ 3%] Built target cd-AlsaMixer
[ 7%] Built target cd-Animated-icons
[ 9%] Built target cd-Cairo-Penguin
[ 10%] Built target cd-Clipper
[ 13%] Built target cd-clock
[ 14%] Built target cd-Composite-Manager
[ 16%] Built target cd-Dbus
[ 16%] Built target python_pyc
[ 16%] Built target bash_pyc
Scanning dependencies of target CDApplet
[ 16%] Building C object Dbus/interfaces/vala/src/CMakeFiles/CDApplet.dir/CDApplet.c.o
Linking C shared library libCDApplet.so
[ 16%] Built target CDApplet
[ 19%] Built target cd-desklet-rendering
[ 21%] Built target cd-dialog-rendering
[ 26%] Built target cd-dnd2share
[ 29%] Built target cd-rendering
[ 30%] Built target cd-drop_indicator
[ 31%] Built target cd-dustbin
[ 33%] Built target cd-Folders
[ 35%] Built target cd-GMenu
[ 35%] Built target cd_gnome-integration
[ 38%] Built target cd-icon-effect
[ 40%] Built target cd-Impulse
[ 41%] Built target cd-Indicator-Generic
[ 44%] Built target cd-illusion
[ 45%] Built target cd_kde-integration
[ 46%] Built target cd-keyboard-indicator
[ 47%] Built target cd-logout
[ 49%] Built target cd-mail
[ 51%] Built target cd-Messaging-Menu
[ 52%] Built target cd-motion_blur
[ 59%] Built target cd-musicPlayer
[ 61%] Built target cd-netspeed
[ 63%] Built target cd-powermanager
[ 64%] Built target cd-quick-browser
[ 65%] Building C object Recent-Events/src/CMakeFiles/cd-Recent-Events.dir/applet-search.c.o
/home/redoubts/Downloads/cairo-dock-plug-ins/Recent-Events/src/applet-search.c: In function ‘on_deleting_event_received’:
/home/redoubts/Downloads/cairo-dock-plug-ins/Recent-Events/src/applet-search.c:420:2: warning: passing argument 3 of ‘zeitgeist_log_find_event_ids_finish’ from incompatible pointer type [enabled by default]
guint32 *iIds = zeitgeist_log_find_event_ids_finish (log, res, &iResultLength, &error);
^
In file included from /usr/include/zeitgeist-1.0/zeitgeist.h:33:0,
from /home/redoubts/Downloads/cairo-dock-plug-ins/Recent-Events/src/applet-search.c:24:
/usr/include/zeitgeist-1.0/zeitgeist-log.h:117:14: note: expected ‘struct GError **’ but argument is of type ‘int *’
GArray* zeitgeist_log_find_event_ids_finish (ZeitgeistLog *self,
^
/home/redoubts/Downloads/cairo-dock-plug-ins/Recent-Events/src/applet-search.c:420:2: error: too many arguments to function ‘zeitgeist_log_find_event_ids_finish’
guint32 *iIds = zeitgeist_log_find_event_ids_finish (log, res, &iResultLength, &error);
^
In file included from /usr/include/zeitgeist-1.0/zeitgeist.h:33:0,
from /home/redoubts/Downloads/cairo-dock-plug-ins/Recent-Events/src/applet-search.c:24:
/usr/include/zeitgeist-1.0/zeitgeist-log.h:117:14: note: declared here
GArray* zeitgeist_log_find_event_ids_finish (ZeitgeistLog *self,
^
/home/redoubts/Downloads/cairo-dock-plug-ins/Recent-Events/src/applet-search.c:420:18: warning: initialization from incompatible pointer type [enabled by default]
guint32 *iIds = zeitgeist_log_find_event_ids_finish (log, res, &iResultLength, &error);
^
make[2]: *** [Recent-Events/src/CMakeFiles/cd-Recent-Events.dir/applet-search.c.o] Error 1
make[1]: *** [Recent-Events/src/CMakeFiles/cd-Recent-Events.dir/all] Error 2
make: *** [all] Error 2


Please Advise.

-edit-
It seems the bzr source is a development version. Cairo 3.2.1 worked fine for me in the end. Consider this a bug report then? :-$

matttbe, Sunday 11 August 2013 à 21:01


Subscription date : 24 January 2009
Messages : 12573
Hello and thank you for this bug report!

Consider this a bug report then?
Yes, it's interesting to fix this bug (and all bugs in these development version )

According to the output produced by the CMake command, zeitgeist-2.0 is available but the dock is using header files from zeitgeist-1.0 dir. Did you install zeitgeist-2.0 after?

Is it possible to relaunch the cmake command from a clean directory in order to have more details?
rm -rf /home/redoubts/Downloads/cairo-dock-plug-ins/build/*
cd /home/redoubts/Downloads/cairo-dock-plug-ins/build/
cmake .. -DCMAKE_INSTALL_PREFIX=/usr
cd Recent-Events/src
make

fabounet, Friday 23 August 2013 à 17:27


Subscription date : 30 November 2007
Messages : 17118
yes cmake sometimes requires to delete CMakeCache.txt ...

Installation problems | Problèmes à l'installation

Subjects Author Language Messages Last message
[Locked] Cairo Dock Plugins won't fully compile
Redoubts English 2 fabounet [Read]
23 August 2013 à 17:27


Glx-Dock / Cairo-Dock List of forums Installation problems | Problèmes à l'installation Cairo Dock Plugins won't fully 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.