awesome
에 (v3.5.5)를 설치 하려고 합니다 CentOS7
. 해당 내용이 포함된 저장소를 찾을 수 없으므로 소스에서 컴파일했습니다. 그러나 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
그러나 나는 다음 두 라이브러리를 소스에서 다시 설치했습니다.
[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
/usr/local/lib를 포함하도록 ldconfig를 구성하고 캐시를 업데이트했습니다.
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
당황스러울까봐...
SELinux가 될까요?
답변1
가
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
갑자기 (c)make가 패키지를 찾을 수 있게 되었습니다...