질문&답변
클라우드/리눅스에 관한 질문과 답변을 주고 받는 곳입니다.
리눅스 분류

gtk 설치 문제,,ㅡㅡ;;

작성자 정보

  • 신동명 작성
  • 작성일

컨텐츠 정보

본문

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이네요?? 지우고 다시 깔아도 똑같아요~
원인좀 알려주세요..너무 답답하네요

관련자료

댓글 1

황정호님의 댓글

  • 황정호
  • 작성일
www.skillfind.net 황정호 입니다.

path 부분을 보셔야 할것같습니다.

echo $PATH 하시고 glib2.0의 패스가 포함 되어있는지 그리고 ./configure 에서 glib 패스를 지정해주시면 될것같습니다.

공지사항


뉴스광장


  • 현재 회원수 :  60,063 명
  • 현재 강좌수 :  35,952 개
  • 현재 접속자 :  239 명