./configure 도중 에러가 납니다.

semjase의 이미지

우분투 edgy사용중입니다.

./configure하니까 쭈욱 체팅해나가다가 아래와같은 에러가 나는데 어떻게해야합니까?
시냅틱에서 glib를 검색해봐도 뭘 깔야할지 모르겠고
sudo apt-get install glib해도 안깔리고요..

Quote:

.......
checking whether to enable maintainer-specific portions of Makefiles... no
checking for some Win32 platform... no
checking whether build environment is sane... yes
checking for strerror in -lcposix... no
checking for gcc option to accept ANSI C... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for BASE_DEPENDENCIES... configure: error: Package requirements (glib-2.0 >= 2.12.0 atk >= 1.9.0 pango >= 1.12.0 cairo >= 1.2.0) were not met:

No package 'glib-2.0' found
No package 'atk' found
No package 'pango' found
No package 'cairo' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables BASE_DEPENDENCIES_CFLAGS
and BASE_DEPENDENCIES_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

semjase@semjase-desktop:~/down/gtk+-2.10.6$ make
make: *** 타겟이 지정되지 않았고 메이크파일이 없습니다. 멈춤.

Prentice의 이미지

apt-cache search libglib | grep dev

이렇게 실행해보시면 대충 답이 나옵니다.

sudo apt-get install libglib2.0-dev libatk1.0-dev libpango1.0-dev libcairo2-dev

semjase의 이미지

말씀해주신대로 하니까 쭉~욱 넘어가다가 이번엔 여기서 걸립니다.
현재 깔려있는게 glib 2.9.6인데 필요한건 2.12.0보다 같거나 커야한다는 의미 맞죠?
근데 그걸 어디서 받나요?

Quote:

checking whether make sets $(MAKE)... (cached) yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for BASE_DEPENDENCIES... configure: error: Package requirements (glib-2.0 >= 2.12.0 atk >= 1.9.0 pango >= 1.12.0 cairo >= 1.2.0) were not met:

Requested 'glib-2.0 >= 2.12.0' but version of GLib is 2.9.6

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables BASE_DEPENDENCIES_CFLAGS
and BASE_DEPENDENCIES_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.


.

atie의 이미지

gtk+2.0을 생짜로 빌드하는 것보다는 apt-get source로 edgy의 소스 패키지를 받고 (몇 개 데비안/우분투에서 패치한 것이 있으므로) debian/control 파일을 보면 알 수 있는 Build-Depends이 되는 패키지를 설치해서 dpkg-buildpackage로 빌드하시면 편할 겁니다. 그리고, 따로 만든 패치가 있으면 debian/patches에 넣어 주시면 되고요.
----
I paint objects as I think them, not as I see them.
Ubuntu Edgy user / Ubuntu KoreanTeam

----
I paint objects as I think them, not as I see them.
atie's minipage

semjase의 이미지

근데 무슨소린지 도무지 이해가 안갑니다.

sudo apt-get install source 해서 소스를 받고
그다음엔 어떡하라는건지.. -_-;

.

atie의 이미지

$ apt-get source gtk+2.0
$ sudo apt-get build-dep gtk+2.0 (1)
$ cd gtk+2.0-2.10.6/ (2)
$ dpkg-buildpackage -rfakeroot (3)
$ cd ..
$ sudo dpkg -i *.deb

1)이 debian/control 파일에 지정된 빌드에 필요한 패키지들을 설치하는 명령이고, 3)이 패키지를 만드는 명령입니다. 그러니, 필요한 패치 등의 작업은 2)해서 debian/patches에 넣고 3)을 하라는 이야기였습니다.
----
I paint objects as I think them, not as I see them.
Ubuntu Edgy user / Ubuntu KoreanTeam

----
I paint objects as I think them, not as I see them.
atie's minipage

Prentice의 이미지

질문을 하셨으니 답변을 드리긴 했지만 GTK+ 2를 설치하시는 건 줄은 몰랐네요.

왜 GTK를 새로 설치하려고 하시는 건지 여쭤봐도 될까요..? ^_^;

Prentice의 이미지

우분투 edgy를 보니 GLib 버젼도 2.12.4-0ubuntu1이고
http://packages.ubuntu.com/edgy/libs/libglib2.0-0

GTK+ 버젼도 2.10.6-0ubuntu1입니다.
http://packages.ubuntu.com/edgy/libs/libgtk2.0-0

특별히 소스 설치를 하실 필요는 없어보여서요..

그냥 sudo apt-get update && sudo apt-get upgrade로 해결될 문제 아닐까요..?

semjase의 이미지

그거 설치 필요없는건가요?
지금 Anjuta하고 vmware설치하고 있는데요.
Anjuta 설치하고 프로젝트 하나 생성해서 컴파일할려고하니 이것저것 없다고 나와서
깔다보니 그렇게 됐습니다. 이것저것 많이 요구하더군요. autogen, autoconf, automake, glib...
특히 glib는 ftp://ftp.gtk.org/pub/gtk 이곳에서 받으라고 메세지가 나오더라구요.
접속후 가장 최신버젼인 /v2.10/ 들어가서보니 gtk+만 있더군요.
아~ gtk+이 glib인가보구나... 하고 생각하고 깔던중입니다.

근데 우분투에 기본으로 깔리는 glib가 2.12.4-0ubuntu1입니까? 근데 왜 glib가 필요하다고 메세지가 나온거죠?

이왕 답변해주시는거 http://kldp.org/node/75848 이것도 답변 부탁드립니다.

.

Prentice의 이미지

GTK+ 프로젝트를 만드셨나보군요.

libglib2.0-0나 libgtk2.0-0 말고도

http://packages.ubuntu.com/edgy/libdevel/libgtk2.0-dev
http://packages.ubuntu.com/edgy/libdevel/libglib2.0-dev

이런 "-dev"가 붙는 패키지도 설치하셔야합니다. libglib2.0-0이 설치돼있더라도 libglib2.0-dev가 없으면 컴파일이 안됩니다.

atie의 이미지

저도 아마 gtk-menubar 패치 때문이 아닐까 싶어 대답을 하기는 했습니다. ㅎㅎ
----
I paint objects as I think them, not as I see them.
Ubuntu Edgy user / Ubuntu KoreanTeam

----
I paint objects as I think them, not as I see them.
atie's minipage

댓글 달기

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 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <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].
  • 사용할 수 있는 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>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <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].
  • You can use Textile markup to format text.
  • 사용할 수 있는 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>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <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].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 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>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.