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

glib 설치때문에 토하겠습니다 ㅜㅜ

작성자 정보

  • 최우혁 작성
  • 작성일

컨텐츠 정보

본문

안녕하세요... xmms 를 설치하기위해서 glib-1.2.2 또는 그 이상의 버전이 필요하다기에.. 1.2.2 를 받았습니다 glib-1.2.2.tar.gz /usr/loca/src 로가 가져와서 압축풀고 tar xvzf 해당폴더로 가서 ./configure make make install 차례대로 했져;

자알 됫죠..





그러고나서 xmms 압축파일 풀었습니다...

./configure 했죠...



..

.

(생략..)
hecking whether -lc should be explicitly linked in... no

creating libtool

checking pthread.h usability... yes

checking pthread.h presence... yes

checking for pthread.h... yes

checking for glib-config... /usr/local/bin/glib-config <-이 파일은 있습니다..glib 설치하니까 생겨더군요.

checking for GLIB - version >= 1.2.2... no <- 아 황당하네요...


쉘에서 /usr/local/bin/glib-config --version 해보면 1.2.2 라고 뜨는데요.. 데체 어찌 된건지;;;


*** Could not run GLIB test program, checking why...

*** The test program compiled, but did not run. This usually means

*** that the run-time linker is not finding GLIB or finding the wrong

*** version of GLIB. If it is not finding GLIB, you'll need to set your

*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point

*** to the installed location Also, make sure you have run ldconfig if that

*** is required on your system

***

*** If you have an old version installed, it is best to remove it, although

*** you may also be able to get things to work by modifying LD_LIBRARY_PATH

***

*** If you have a RedHat 5.0 system, you should remove the GTK package that

*** came with the system with the command

***

*** rpm --erase --nodeps gtk gtk-devel

configure: error: *** GLIB >= 1.2.2 not installed - please install first ***



이러고선 종료됩니다...... GLIB 1.2.2 설치가 안됫다네요..;..

혹시나해서 glib 2.0 버전도 깔아ㅤㅂㅘㅅ든데.. 안되죠머;;

그래서 혹시나해서!



xmms 소스 방에가서 ./configure --with-glib-prefix=/usr/local 해봐도 마찬가지구요...







근데! 더욱 이상하다 싶은것은...

./configure --disable-glibtest 로 그냥 아에 skip 해버릴려고.. 해ㅤㅂㅘㅅ는데

그때는!

checking if gcc static flag -static works... yes

checking if gcc supports -c -o file.o... yes

..(생략).. checking for pthread.h... yes

checking for glib-config... /usr/local/bin/glib-config

checking for GLIB - version >= 1.2.2... yes <- 이부분!!!!!!!!!!!! 아깐 없다더니!


checking for gtk-config... no

checking for GTK - version >= 1.2.2... no

*** The gtk-config script installed by GTK could not be found

*** If GTK was installed in PREFIX, make sure PREFIX/bin is in

*** your path, or set the GTK_CONFIG environment variable to the

*** full path to gtk-config.

configure: error: *** GTK+ >= 1.2.2 not installed - please install first ***

[root@localhost xmms-1.2.10]# 이러고 종료되더 군요...

어짜피 GTK+ 설치할려면 glib 있어야 하던데... 중요한건 GLIB 버젼 1.2.2 에서 yes 가 뜬다는거죠..

아까는 1.2.2 없으니 설치하라 해놓고...;;;



어떻게 하면좋으나요 ㅠ

리눅스..점점싫어집니다....;;

관련자료

댓글 2

nazu님의 댓글

  • nazu
  • 작성일
glibc는 정상적으로 설치되었습니다.
리포팅을 잘 보시면 GLIBC가 아니라 GTK+입니다.

LD_LIBRARY_PATH 만 export해주시면 됩니다.

보통의 리눅스 프로그램은 기본적으로 공유라이브러리인
ld-lunux.so군, libc.so군 을 기본적으로 링크해서 쓰는데,
GLIBC 부분은 ld-lunux.so 부분이 연결되지 않아서 그런것이라고 보시면됩니다.
GTK+는 설치하셔야 하고요.

최우혁님의 댓글

  • 최우혁
  • 작성일
아...삽질도중에 이성을 잃었나보군요 ㅠ
해결됫습니다... GTK+ 설치했구요..ㅎ
말씀데로
LD_LIBRARY_PATH 만 export 해주니까 되는군요

헌데 또 문제가...;;
GTK+ 1.2.2  설치하는데..
checking for extra flags for POSIX compliance... none needed
checking for glib-config... /usr/local/bin/glib-config
checking for GLIB - version >= 1.2.2... yes
checking for X... no
configure: error:
*** X libraries or include files not found. Check 'config.log' for
*** more details.


라네요...  X libraries 없단거같은데... 어떻게하면될까요;;;

공지사항


뉴스광장


  • 현재 회원수 :  60,034 명
  • 현재 강좌수 :  35,791 개
  • 현재 접속자 :  86 명