Installation problems | Problèmes à l'installation
Guest, Friday 12 October 2012 à 14:40
|
|
|
I build cairo-dock-core 3.1.0 wihout problem, now i'm trying to build cairo-dock-plugins 3.1.0 on a cent os 6 64 bits.
I have the errors below :
[xxxx@yyyyyy cairo-dock-plugins-3.1.0]$ cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DFORCE_LIB64=yes
CMake Error: The source directory "/home/DOM_WEB_GL/alexandre_godet/Téléchargements" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
[alexandre_godet@ouameni cairo-dock-plugins-3.1.0]$ cd build/
[alexandre_godet@ouameni build]$ cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DFORCE_LIB64=yes
CMake Error at CMakeLists.txt:54 (STRING):
string sub-command REGEX, mode REPLACE needs at least 6 arguments total to
command.
CMake Error at CMakeLists.txt:59 (STRING):
string sub-command REGEX, mode REPLACE needs at least 6 arguments total to
command.
CMake Error at CMakeLists.txt:64 (STRING):
string sub-command REGEX, mode REPLACE needs at least 6 arguments total to
command.
CMake Error at CMakeLists.txt:69 (STRING):
string sub-command REGEX, mode REPLACE needs at least 6 arguments total to
command.
Package gtk+-3.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-3.0.pc'
to the PKG_CONFIG_PATH environment variable
Package 'gtk+-3.0', required by 'gldi', not found
CMake Error at CMakeLists.txt:74 (STRING):
string sub-command REGEX, mode REPLACE needs at least 6 arguments total to
command.
CMake Error at CMakeLists.txt:77 (MESSAGE):
Error : version mismatch with the core : 3.1.0<>
-- Configuring incomplete, errors occurred! |
matttbe, Friday 12 October 2012 à 15:36
|
|
Subscription date : 24 January 2009
Messages : 12573
|
Hello,
You need to compile and install cairo-dock (core) before compiling all plug-ins (which need header files from the core)
Feel free to have a look to this wiki page: By compiling |
Guest, Friday 12 October 2012 à 15:57
|
|
|
cairo-dock is already installed and works fine. |
matttbe, Friday 12 October 2012 à 16:45
|
|
Subscription date : 24 January 2009
Messages : 12573
|
Is it installed in the same path (/usr)
What's the output of this command?
And: |
Guest, Monday 15 October 2012 à 10:22
|
|
|
$ whereis cairo-dock
cairo-dock: /usr/bin/cairo-dock /usr/include/cairo-dock /usr/share/cairo-dock /usr/share/man/man1/cairo-dock.1.gz
$ echo $PATH
/opt/apache-maven-3.0.4/bin:/usr/lib64/qt-3.3/bin:/usr/NX/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin |
matttbe, Monday 15 October 2012 à 14:13
|
|
Subscription date : 24 January 2009
Messages : 12573
|
Strange!
And what about: pkg-config gldi --variable=pluginsdir
ls -l /usr/lib/pkgconfig/gldi.pc
find /usr -name "gldi.pc" |
Guest, Monday 15 October 2012 à 15:00
|
|
|
$ pkg-config gldi --variable=pluginsdir
$ ls -l /usr/lib/pkgconfig/gldi.pc
lrwxrwxrwx 1 root root 28 15 oct. 14:58 /usr/lib/pkgconfig/gldi.pc -> /usr/lib64/pkgconfig/gldi.pc
$ find /usr -name "gldi.pc"
/usr/lib/pkgconfig/gldi.pc
/usr/lib64/pkgconfig/gldi.pc
/usr/gldi.pc |
matttbe, Wednesday 17 October 2012 à 00:05
|
|
Subscription date : 24 January 2009
Messages : 12573
|
This file should not be there: /usr/gldi.pc.
But the other problem is this command which returns nothing and this is why there is a failure... => pkg-config gldi --variable=pluginsdir
What's your LD path? Is it better with: LD_LIBRARY_PATH=/usr/lib:
pkg-config gldi --variable=pluginsdir |
Guest, Wednesday 17 October 2012 à 15:24
|
|
|
$ LD_LIBRARY_PATH=/usr/lib:
$ pkg-config gldi --variable=pluginsdir
$ echo $LD_LIBRARY_PATH
/usr/lib: |
matttbe, Wednesday 17 October 2012 à 16:21
|
|
Subscription date : 24 January 2009
Messages : 12573
|
Strange... Maybe a problem with pkg-config? Can you maybe report this bug to Cent Os devs? Or maybe can you re-compile and install Cairo-Dock Core?
And just to be sure, what's the output of:pkg-config gldi --exists && echo $?
pkg-config --list-all | grep gldi
And also can you check where are located other .pc files? find /usr -name "*.pc"
find /usr -name "`pkg-config --list-all | head -n 1|cut -d\ -f1`.pc" |
Guest, Thursday 18 October 2012 à 09:57
|
|
|
$ pkg-config gldi --exists && echo $?
$ pkg-config --list-all | grep gldi
gldi gldi - openGL Desktop Interface. A library to build advanced interfaces for the desktop (dock, panel, desklet, dialog, ...); it supports both cairo and openGL.
$ find /usr -name "*.pc"
/usr/lib/pkgconfig/gldi.pc
/usr/share/pkgconfig/damageproto.pc
/usr/share/pkgconfig/dri2proto.pc
/usr/share/pkgconfig/evieproto.pc
/usr/share/pkgconfig/xf86dgaproto.pc
/usr/share/pkgconfig/xml2po.pc
/usr/share/pkgconfig/gnome-doc-utils.pc
/usr/share/pkgconfig/inputproto.pc
/usr/share/pkgconfig/compositeproto.pc
/usr/share/pkgconfig/glproto.pc
/usr/share/pkgconfig/randrproto.pc
/usr/share/pkgconfig/gnome-icon-theme.pc
/usr/share/pkgconfig/xcmiscproto.pc
/usr/share/pkgconfig/xf86miscproto.pc
/usr/share/pkgconfig/gnome-default-applications.pc
/usr/share/pkgconfig/recordproto.pc
/usr/share/pkgconfig/fixesproto.pc
/usr/share/pkgconfig/renderproto.pc
/usr/share/pkgconfig/xineramaproto.pc
/usr/share/pkgconfig/resourceproto.pc
/usr/share/pkgconfig/bigreqsproto.pc
/usr/share/pkgconfig/xf86driproto.pc
/usr/share/pkgconfig/shared-mime-info.pc
/usr/share/pkgconfig/videoproto.pc
/usr/share/pkgconfig/gtk-doc.pc
/usr/share/pkgconfig/usbutils.pc
/usr/share/pkgconfig/xf86vidmodeproto.pc
/usr/share/pkgconfig/dmxproto.pc
/usr/share/pkgconfig/kbproto.pc
/usr/share/pkgconfig/xf86bigfontproto.pc
/usr/share/pkgconfig/scrnsaverproto.pc
/usr/share/pkgconfig/xkeyboard-config.pc
/usr/share/pkgconfig/xproxymngproto.pc
/usr/share/pkgconfig/fontsproto.pc
/usr/share/pkgconfig/xextproto.pc
/usr/share/pkgconfig/xproto.pc
/usr/share/pkgconfig/gnome-keybindings.pc
/usr/lib64/pkgconfig/formw.pc
/usr/lib64/pkgconfig/glu.pc
/usr/lib64/pkgconfig/libdrm_intel.pc
/usr/lib64/pkgconfig/xcb-xtest.pc
/usr/lib64/pkgconfig/dbus-glib-1.pc
/usr/lib64/pkgconfig/xcb-xvmc.pc
/usr/lib64/pkgconfig/pangocairo.pc
/usr/lib64/pkgconfig/libidn.pc
/usr/lib64/pkgconfig/xcursor.pc
/usr/lib64/pkgconfig/mad.pc
/usr/lib64/pkgconfig/cairo.pc
/usr/lib64/pkgconfig/libgcj-4.4.pc
/usr/lib64/pkgconfig/sndfile.pc
/usr/lib64/pkgconfig/xft.pc
/usr/lib64/pkgconfig/xpm.pc
/usr/lib64/pkgconfig/sigc-2.0.pc
/usr/lib64/pkgconfig/xcb-composite.pc
/usr/lib64/pkgconfig/mono-options.pc
/usr/lib64/pkgconfig/gthread-2.0.pc
/usr/lib64/pkgconfig/gmodule-2.0.pc
/usr/lib64/pkgconfig/mono-lineeditor.pc
/usr/lib64/pkgconfig/cairo-pdf.pc
/usr/lib64/pkgconfig/pthread-stubs.pc
/usr/lib64/pkgconfig/menu.pc
/usr/lib64/pkgconfig/xdmcp.pc
/usr/lib64/pkgconfig/fontutil.pc
/usr/lib64/pkgconfig/gtk+-x11-2.0.pc
/usr/lib64/pkgconfig/xcb-shm.pc
/usr/lib64/pkgconfig/menuw.pc
/usr/lib64/pkgconfig/glib-2.0.pc
/usr/lib64/pkgconfig/xrandr.pc
/usr/lib64/pkgconfig/xcb-xv.pc
/usr/lib64/pkgconfig/xxf86vm.pc
/usr/lib64/pkgconfig/gnome-python-desktop-2.0.pc
/usr/lib64/pkgconfig/libcroco-0.6.pc
/usr/lib64/pkgconfig/cairo-xlib.pc
/usr/lib64/pkgconfig/giomm-2.4.pc
/usr/lib64/pkgconfig/xcb-dpms.pc
/usr/lib64/pkgconfig/xcomposite.pc
/usr/lib64/pkgconfig/librsvg-2.0.pc
/usr/lib64/pkgconfig/xcb-dri2.pc
/usr/lib64/pkgconfig/libpostproc.pc
/usr/lib64/pkgconfig/libdrm_nouveau.pc
/usr/lib64/pkgconfig/cairo-ft.pc
/usr/lib64/pkgconfig/xcb-xinerama.pc
/usr/lib64/pkgconfig/xau.pc
/usr/lib64/pkgconfig/gdk-pixbuf-xlib-2.0.pc
/usr/lib64/pkgconfig/xcb-xfixes.pc
/usr/lib64/pkgconfig/xfixes.pc
/usr/lib64/pkgconfig/dotnet.pc
/usr/lib64/pkgconfig/gdk-x11-2.0.pc
/usr/lib64/pkgconfig/atk.pc
/usr/lib64/pkgconfig/speexdsp.pc
/usr/lib64/pkgconfig/zlib.pc
/usr/lib64/pkgconfig/libdrm.pc
/usr/lib64/pkgconfig/libavformat-spice.pc
/usr/lib64/pkgconfig/dbus-1.pc
/usr/lib64/pkgconfig/gnome-python-extras-2.0.pc
/usr/lib64/pkgconfig/xtst.pc
/usr/lib64/pkgconfig/libavutil-spice.pc
/usr/lib64/pkgconfig/xdamage.pc
/usr/lib64/pkgconfig/glibmm-2.4.pc
/usr/lib64/pkgconfig/speex.pc
/usr/lib64/pkgconfig/dotnet35.pc
/usr/lib64/pkgconfig/freetype2.pc
/usr/lib64/pkgconfig/form.pc
/usr/lib64/pkgconfig/dbus-cxx-1.0.pc
/usr/lib64/pkgconfig/xcb.pc
/usr/lib64/pkgconfig/xcb-shape.pc
/usr/lib64/pkgconfig/cairo-dock.pc
/usr/lib64/pkgconfig/gobject-2.0.pc
/usr/lib64/pkgconfig/vorbisenc.pc
/usr/lib64/pkgconfig/xinerama.pc
/usr/lib64/pkgconfig/panel.pc
/usr/lib64/pkgconfig/netapi.pc
/usr/lib64/pkgconfig/gl.pc
/usr/lib64/pkgconfig/tic.pc
/usr/lib64/pkgconfig/gio-unix-2.0.pc
/usr/lib64/pkgconfig/vorbisfile.pc
/usr/lib64/pkgconfig/gmodule-no-export-2.0.pc
/usr/lib64/pkgconfig/vorbis.pc
/usr/lib64/pkgconfig/xcb-record.pc
/usr/lib64/pkgconfig/libcurl.pc
/usr/lib64/pkgconfig/pangoft2.pc
/usr/lib64/pkgconfig/mono.pc
/usr/lib64/pkgconfig/xcb-glx.pc
/usr/lib64/pkgconfig/gio-2.0.pc
/usr/lib64/pkgconfig/xcb-xevie.pc
/usr/lib64/pkgconfig/cairo-xlib-xrender.pc
/usr/lib64/pkgconfig/dbus-cxx-glibmm-1.0.pc
/usr/lib64/pkgconfig/panelw.pc
/usr/lib64/pkgconfig/gdk-2.0.pc
/usr/lib64/pkgconfig/libpng12.pc
/usr/lib64/pkgconfig/ogg.pc
/usr/lib64/pkgconfig/ncursesw.pc
/usr/lib64/pkgconfig/x11-xcb.pc
/usr/lib64/pkgconfig/flac.pc
/usr/lib64/pkgconfig/libpcrecpp.pc
/usr/lib64/pkgconfig/notify-python.pc
/usr/lib64/pkgconfig/libmodplug.pc
/usr/lib64/pkgconfig/xcb-xf86dri.pc
/usr/lib64/pkgconfig/xcb-xselinux.pc
/usr/lib64/pkgconfig/xcb-render.pc
/usr/lib64/pkgconfig/mono-cairo.pc
/usr/lib64/pkgconfig/ncurses.pc
/usr/lib64/pkgconfig/libavcodec-spice.pc
/usr/lib64/pkgconfig/libxml-2.0.pc
/usr/lib64/pkgconfig/cecil.pc
/usr/lib64/pkgconfig/fontconfig.pc
/usr/lib64/pkgconfig/gail.pc
/usr/lib64/pkgconfig/gtk+-unix-print-2.0.pc
/usr/lib64/pkgconfig/gldi.pc
/usr/lib64/pkgconfig/xcb-xprint.pc
/usr/lib64/pkgconfig/dri.pc
/usr/lib64/pkgconfig/cairo-png.pc
/usr/lib64/pkgconfig/cairo-ps.pc
/usr/lib64/pkgconfig/libdrm_radeon.pc
/usr/lib64/pkgconfig/alsa.pc
/usr/lib64/pkgconfig/gdk-pixbuf-2.0.pc
/usr/lib64/pkgconfig/xcb-damage.pc
/usr/lib64/pkgconfig/pixman-1.pc
/usr/lib64/pkgconfig/libgsf-1.pc
/usr/lib64/pkgconfig/pangoxft.pc
/usr/lib64/pkgconfig/pangox.pc
/usr/lib64/pkgconfig/xpyb.pc
/usr/lib64/pkgconfig/pango.pc
/usr/lib64/pkgconfig/flac.pc
/usr/lib64/pkgconfig/xrender.pc
/usr/lib64/pkgconfig/xcb-sync.pc
/usr/lib64/pkgconfig/xcb-res.pc
/usr/lib64/pkgconfig/gtk+-2.0.pc
/usr/lib64/pkgconfig/gmodule-export-2.0.pc
/usr/lib64/pkgconfig/libpng.pc
/usr/lib64/pkgconfig/xi.pc
/usr/lib64/pkgconfig/x11.pc
/usr/lib64/pkgconfig/cairo-svg.pc
/usr/lib64/pkgconfig/xext.pc
/usr/lib64/pkgconfig/xcb-screensaver.pc
/usr/lib64/pkgconfig/wcf.pc
/usr/lib64/pkgconfig/tinfo.pc
/usr/lib64/pkgconfig/xcb-randr.pc
/usr/lib64/pkgconfig/ao.pc
/usr/lib64/pkgconfig/id3tag.pc
/usr/lib64/pkgconfig/libpcre.pc
find: "/usr/lib64/audit": Permission non accordée
find: "/usr/NX/home/nx": Permission non accordée
find: "/usr/NX/var/db/closed": Permission non accordée
find: "/usr/NX/var/db/failed": Permission non accordée
find: "/usr/NX/var/db/stat": Permission non accordée
find: "/usr/NX/var/db/running": Permission non accordée
$ find /usr -name "'pkg-config --list-all | head -n 1|cut -d\ -f1'.pc"
find: "/usr/lib64/audit": Permission non accordée
find: "/usr/NX/home/nx": Permission non accordée
find: "/usr/NX/var/db/closed": Permission non accordée
find: "/usr/NX/var/db/failed": Permission non accordée
find: "/usr/NX/var/db/stat": Permission non accordée
find: "/usr/NX/var/db/running": Permission non accordée
I will try to recompile cairo dock in 32 bit mode. |
matttbe, Thursday 18 October 2012 à 11:00
|
|
Subscription date : 24 January 2009
Messages : 12573
|
pkg-config gldi --exists && echo $? It means that pkg-config didn't find 'gldi'. But...
pkg-config --list-all | grep gldi
gldi gldi - openGL Desktop Interface. A library to build advanced interfaces for the desktop (dock, panel, desklet, dialog, ...); it supports both cairo and openGL. In fact, it founds it there
But I think I see what's wrong: did you firstly install cairo-dock without this flag: -DFORCE_LIB64=yes
Can you remove the previous installation of Cairo-Dock: $ cd (...)/cairo-dock-3.1.0/build ## e.g.: cd /home/DOM_WEB_GL/alexandre_godet/Téléchargements/cairo-dock-3.1.0/build
# make uninstall
# rm -rf /usr/bin/cairo-dock* /usr/lib*/cairo-dock /usr/include/cairo-dock /usr/share/cairo-dock /usr/share/man/man1/cairo-dock.1.gz /usr/lib*/pkgconfig/gldi.pc /usr/lib*/libgldi.so* /usr/share/locale/*/LC_MESSAGES/cairo-dock*
And then recompile it with: $ cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DFORCE_LIB64=yes && make
# make install
cd ../cairo-dock-plugins-3.1.0/build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DFORCE_LIB64=yes && make
# make install |
Guest, Friday 08 February 2013 à 12:38
|
|
|
Hi matttbe,
I just tested the build options from your last post and can confirm that they work on Fedora18-x64 and CentOS6-x64.
Thanks for the great tip, cairo-dock FTW
Cheers,
beji |
Guest, Wednesday 29 January 2014 à 17:39
|
|
|
hello,
i'm trying to install cairo dock on CentOS6.5-x64
After compiling and installing dock core files (no error)
with FORCE_LIB64=yes option, during the plugins compile
(with lib64 option too)
Linking C shared library libcd_gnome-integration.so
[ 39%] Built target cd_gnome-integration
[ 40%] Building C object GMenu-old/src/CMakeFiles/cd-GMenu.dir/applet-util.c.o
[ 40%] Building C object icon-effect/src/CMakeFiles/cd-icon-effect.dir/applet-init.c.o
Scanning dependencies of target cd-illusion
Scanning dependencies of target cd_kde-integration
/usr/src/cairo-dock-plug-ins/GMenu-old/src/applet-util.c:24:33: error: gio/gdesktopappinfo.h: No such file or directory
/usr/src/cairo-dock-plug-ins/GMenu-old/src/applet-util.c: In function ‘_launch_from_file’:
/usr/src/cairo-dock-plug-ins/GMenu-old/src/applet-util.c:95: error: ‘GDesktopAppInfo’ undeclared (first use in this function)
/usr/src/cairo-dock-plug-ins/GMenu-old/src/applet-util.c:95: error: (Each undeclared identifier is reported only once
/usr/src/cairo-dock-plug-ins/GMenu-old/src/applet-util.c:95: error: for each function it appears in.)
/usr/src/cairo-dock-plug-ins/GMenu-old/src/applet-util.c:95: error: ‘ai’ undeclared (first use in this function)
/usr/src/cairo-dock-plug-ins/GMenu-old/src/applet-util.c:95: error: implicit declaration of function ‘g_desktop_app_info_new_from_filename’
make[2]: *** [GMenu-old/src/CMakeFiles/cd-GMenu.dir/applet-util.c.o] Error 1
make[1]: *** [GMenu-old/src/CMakeFiles/cd-GMenu.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 41%] Building C object icon-effect/src/CMakeFiles/cd-icon-effect.dir/applet-config.c.o
[ 41%] Building C object icon-effect/src/CMakeFiles/cd-icon-effect.dir/applet-notifications.c.o
[ 42%] Building C object kde-integration/src/CMakeFiles/cd_kde-integration.dir/applet-init.c.o
[ 43%] Building C object illusion/src/CMakeFiles/cd-illusion.dir/applet-init.c.o
[ 43%] Building C object illusion/src/CMakeFiles/cd-illusion.dir/applet-config.c.o
[ 43%] Building C object kde-integration/src/CMakeFiles/cd_kde-integration.dir/applet-vfs.c.o
[ 43%] Building C object icon-effect/src/CMakeFiles/cd-icon-effect.dir/applet-fire.c.o
[ 44%] Building C object icon-effect/src/CMakeFiles/cd-icon-effect.dir/applet-rain.c.o
[ 44%] Building C object illusion/src/CMakeFiles/cd-illusion.dir/applet-notifications.c.o
[ 45%] Building C object illusion/src/CMakeFiles/cd-illusion.dir/applet-evaporate.c.o
[ 45%] [ 45%] Building C object icon-effect/src/CMakeFiles/cd-icon-effect.dir/applet-snow.c.o
Building C object kde-integration/src/CMakeFiles/cd_kde-integration.dir/applet-utils.c.o
[ 46%] Building C object icon-effect/src/CMakeFiles/cd-icon-effect.dir/applet-star.c.o
Linking C shared library libcd_kde-integration.so
[ 46%] Building C object illusion/src/CMakeFiles/cd-illusion.dir/applet-fade-out.c.o
[ 46%] Building C object illusion/src/CMakeFiles/cd-illusion.dir/applet-explode.c.o
[ 46%] Built target cd_kde-integration
[ 46%] Building C object icon-effect/src/CMakeFiles/cd-icon-effect.dir/applet-storm.c.o
[ 46%] Building C object icon-effect/src/CMakeFiles/cd-icon-effect.dir/applet-firework.c.o
[ 47%] Building C object illusion/src/CMakeFiles/cd-illusion.dir/applet-break.c.o
[ 47%] Building C object illusion/src/CMakeFiles/cd-illusion.dir/applet-black-hole.c.o
[ 47%] Building C object illusion/src/CMakeFiles/cd-illusion.dir/applet-lightning.c.o
Linking C shared library libcd-icon-effect.so
[ 47%] Built target cd-icon-effect
Linking C shared library libcd-illusion.so
[ 47%] Built target cd-illusion
make: *** [all] Error 2
any help would be appreciated
thanks in advice |
matttbe, Wednesday 29 January 2014 à 17:56
|
|
Subscription date : 24 January 2009
Messages : 12573
|
Hello,
What's your version of gio (gio-unix-2.0)?
It seems that it's too old and then, it's not possible to compile this version of GMenu (old). But as workaround I guess you can simply remove these three lines from this file: GMenu-old/src/CMakeLists.txt if (${LIBGIO_FOUND})
add_definitions (-DHAVE_GIO=1)
endif()
|
Subscription date : 23 January 2013
Messages : 14
|
Guest : Hi matttbe,
I just tested the build options from your last post and can confirm that they work on Fedora18-x64 and CentOS6-x64.
Thanks for the great tip, cairo-dock FTW
Cheers,
beji
This also solved my problem using Arch/64 with KDE. |
Installation problems | Problèmes à l'installation
|