GAH
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
E de repente (c) make pode encontrar os pacotes ...
Estou tentando instalar awesome
(v3.5.5) em CentOS7
. Como não consegui encontrar um repositório que o carregue, estou compilando da fonte. No entanto, estou recebendo este erro ao executar o make:
-- checking for modules 'glib-2.0;gdk-pixbuf-2.0;cairo;x11;xcb-cursor;xcb-randr;xcb-xtest;xcb-xinerama;xcb-shape;xcb-util>=0.3.8;xcb-keysyms>=0.3.4;xcb-icccm>=0.3.8;cairo-xcb;libstartup-notification-1.0>=0.10;xproto>=7.0.15;libxdg-basedir>=1.0.0'
-- package 'xcb-cursor' not found
-- package 'libxdg-basedir>=1.0.0' not found
CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:279 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPkgConfig.cmake:333 (_pkg_check_modules_internal)
awesomeConfig.cmake:134 (pkg_check_modules)
CMakeLists.txt:15 (include)
CMake Error at awesomeConfig.cmake:153 (message):
Call Stack (most recent call first):
CMakeLists.txt:15 (include)
-- Configuring incomplete, errors occurred!
make: *** [cmake] Error 1
No entanto, instalei (novamente a partir do código-fonte) essas duas bibliotecas:
[awesome-3.5.5]$ ls /usr/local/lib/*cursor*
/usr/local/lib/libxcb-cursor.a /usr/local/lib/libxcb-cursor.so.0
/usr/local/lib/libxcb-cursor.la /usr/local/lib/libxcb-cursor.so.0.0.0
/usr/local/lib/libxcb-cursor.so
[awesome-3.5.5]$ ls /usr/lcoal/lib/*libxdg-basedir*
/usr/local/lib/libxdg-basedir.a /usr/local/lib/libxdg-basedir.so.1
/usr/local/lib/libxdg-basedir.la /usr/local/lib/libxdg-basedir.so.1.2.0
/usr/local/lib/libxdg-basedir.so
e eu configurei o ldconfig para incluir / usr / local / lib, atualizei o cache ...
ldconfig -p | grep xcb-cursor
libxcb-cursor.so.0 (libc6,x86-64) => /usr/local/lib/libxcb-cursor.so.0
libxcb-cursor.so (libc6,x86-64) => /usr/local/lib/libxcb-cursor.so
ldconfig -p | grep xdg-basedir
libxdg-basedir.so.1 (libc6,x86-64) => /usr/local/lib/libxdg-basedir.so.1
libxdg-basedir.so (libc6,x86-64) => /usr/local/lib/libxdg-basedir.so
Eu tenho medo de ficar perplexo ...
Poderia ser o SELinux?