atk 새 버전을 까는데 자꾸만.. :(

nekoko의 이미지

gtk+ 2.6.1을 깔기 위해 필요하다고 하는

atk-1.9.0
glib-2.6.1
pango-1.8.0

를 깔려고 합니다.
pkg-config도 최근 버전으로 보이는 pkgconfig-0.15.0를 깔았구요.
그런데 atk-1.9.0에서 ./configure 를 하면 맨 마지막에 다음과 같이 나옵니다.

Quote:
checking for GLIB - version >= 2.5.7...
*** 'pkg-config --modversion glib-2.0' returned 2.6.1, but GLIB (2.2.1)
*** 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.5.7 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.

glib는 2.2.1을 깔았다가 위와 같은 메세지가 나와서 make uninstall했거든요.
그런데도 GLIB(2.2.1) was found라니..;
/etc/ld.so.conf에 /usr/local/lib도 추가해 줬구요 (ldconfig도 했어요!) PKG_CONFIG_PATH 를 수정하라는데 이건 어디서 어떻게 해줘야 하는지..

hys545의 이미지

local에 까ㅓㄹㅈ;ㅣ 말고ㅓ
/usr/lib 에 깔아보세야ㅕ

즐린

nekoko의 이미지

우왓 빠른 답변 감사합니다.
glib를 다시 ./configure --prefix=/usr/lib해서 깔고
혹시나 해서 /etc/ld.so.conf마지막을 /usr/lib으로 고치고
다시 atk를 깔아보았는데요
이번엔

Quote:
checking for GLIB - version >= 2.5.7... no
configure: error:
*** GLIB 2.5.7 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.

아예 glib가 인식이 안되네요.....

"I'm convinced that the only thing that kept me going was that I loved what I did." - Steve Jobs 1955-2011

hys545의 이미지

그냥 간단하게 fedora에 있는 srpm받아서 rebuild해서 까세여

즐린

cinsk의 이미지

이런 에러메시가 발생하는 원인은, 대개, pkg-config에서는 버전 X가 설치되어 있다고 보고되었지만, 실제로 library가 Y가 보고되었을 경우 발생합니다.

따라서 먼저 "ldconfig -v | less"를 실행해서, 어떤 버전의 (shared) library가 (먼저) 인식되는지 보기 바랍니다. 예전 버전의 라이브러리가 보인다면, 라이브러리 자체를 지우거나, /etc/ld.so.conf에서 directory 순위를 바꿔주거나, LD_LIBRARY_PATH 환경 변수로 바꿔주는 방법을 쓰면 설치가 가능합니다.

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.