gtk 설치 문제,,ㅡㅡ;;
작성자 정보
- 신동명 작성
- 작성일
컨텐츠 정보
- 2,353 조회
- 1 댓글
- 0 추천
- 목록
본문
nessus를 설치를 할려고 하는데
먼저 GTK를 설치를 해야하는데 잘 안되 이렇게 올립니다.,
운영체제는 CENTOS 사용하는데
먼저 glib설치를 완료하고
pango 설치를 완료하고
cairo 설치를 완료했고
문제는 atk,gtk설치 입니다..
먼저 atk에서 ./configure에서 error가 나옵니다,
checking for GLIB - version >= 2.5.7...
*** 'pkg-config --modversion glib-2.0' returned 2.12.1, but GLIB (2.14.0)
*** was found! If pkg-config was correct, then it is best
*** to remove the old version of GLib. You may also be able to fix the error
*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing
*** /etc/ld.so.conf. Make sure you have run ldconfig if that is
*** required on your system.
*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH
*** to point to the correct configuration files
no
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for GLIB - version >= 2.0.0...
*** 'pkg-config --modversion glib-2.0' returned 2.12.1, but GLIB (2.14.0)
*** was found! If pkg-config was correct, then it is best
*** to remove the old version of GLib. You may also be able to fix the error
*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing
*** /etc/ld.so.conf. Make sure you have run ldconfig if that is
*** required on your system.
*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH
*** to point to the correct configuration files
no
configure: error:
*** GLIB 2.0.0 or better is required. The latest version of
*** GLIB is always available from ftp://ftp.gtk.org/. If GLIB is installed
*** but not in the same location as pkg-config add the location of the file
*** glib-2.0.pc to the environment variable PKG_CONFIG_PATH
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig 바꿔주고
pkg-config --list-all 확인해보면
devmapper-event devmapper-event - device-mapper event library
glib-2.0 GLib - C Utility Library
libgsf-gnome-1 libgsf-gnome-1 - GNOME specific extensions to libgsf
qt-mt Qt - Libqt-mt.so.3.3.3 Library
pangoft2 Pango FT2 - Freetype 2.0 font support for Pango
gmodule-2.0 GModule - Dynamic module loader for GLib
openssl OpenSSL - Secure Sockets Layer and cryptography libraries and tools
OpenIPMIposix OpenIPMIposix - POSIX unthreaded OS handler for OpenIPMI
libgcj libgcj - libgcj
gmodule-export-2.0 GModule - Dynamic module loader for GLib
libidn Libidn - IETF stringprep, nameprep, punycode, IDNA text processing.
Package atk was not found in the pkg-config search path.
Perhaps you should add the directory containing `atk.pc'
to the PKG_CONFIG_PATH environment variable
Package 'atk', required by 'GTK+', not found
이렇게 나옵니다,, 분명 glib는 제가 2.12.1를 설치하였는데 glib가 2.0이네요?? 지우고 다시 깔아도 똑같아요~
원인좀 알려주세요..너무 답답하네요
관련자료
-
이전
-
다음
황정호님의 댓글
- 황정호
- 작성일
path 부분을 보셔야 할것같습니다.
echo $PATH 하시고 glib2.0의 패스가 포함 되어있는지 그리고 ./configure 에서 glib 패스를 지정해주시면 될것같습니다.