안녕하십니까. 매번 질문만 하고있는 happyman입니다.
재가 gnome라이브러리를 쓰는 프로그램들을 몇개 다운을받았는데
이놈들이 컴파일이 안됩니다. Gtk+라이브러리를 쓰는것들은 모두 컴파일이
잘 되는데요 Gnome라이브러리를 쓰는 놈들은 다음과 같은 메시지를 내고
뻗어버리는 군요.
<에러메시지>
gcc `gnome-config --libs --cflags gnomeui` -o basic_gnome_app basic_gnome_app.c
In file included from /usr/include/pango/pango-attributes.h:25,
from /usr/include/pango/pango.h:31,
from /usr/include/gdk/gdktypes.h:33,
from /usr/include/gdk/gdkcc.h:4,
from /usr/include/gdk/gdk.h:30,
from /usr/include/gtk-1.2/gtk/gtk.h:31,
from /usr/include/gnome.h:14,
from basic_gnome_app.c:1:
/usr/include/pango/pango-font.h:32:25: glib-object.h: 그런 파일이나 디렉토리가 없음
In file included from /usr/include/pango/pango-context.h:26,
from /usr/include/pango/pango.h:32,
from /usr/include/gdk/gdktypes.h:33,
from /usr/include/gdk/gdkcc.h:4,
from /usr/include/gdk/gdk.h:30,
from /usr/include/gtk-1.2/gtk/gtk.h:31,
from /usr/include/gnome.h:14,
from basic_gnome_app.c:1:
/usr/include/pango/pango-fontmap.h:26:25: glib-object.h: 그런 파일이나 디렉토리가 없음
In file included from /usr/include/gdk/gdkcc.h:4,
from /usr/include/gdk/gdk.h:30,
from /usr/include/gtk-1.2/gtk/gtk.h:31,
from /usr/include/gnome.h:14,
from basic_gnome_app.c:1:
/usr/include/gdk/gdktypes.h:34:25: glib-object.h: 그런 파일이나 디렉토리가 없음
/usr/include/gdk/gdktypes.h:51:23: gdkconfig.h: 그런 파일이나 디렉토리가 없음
make: *** [all] 오류 1
대충은 헤더 파일이 없어서 오류가 난다는 것은 알겠는데 제가 필요한 헤더들을 /usr/include
아래에다 모두 카피를 해봤거든요. 근데도 계속 여기저기서 에러가 나더라구요. Gtk및 Gnome
라이브러리는 레뎃 7.1을 설치한그대로이구요. 아참 헬릭스 그놈도 깔았습니다. gnome-config
문제인것도 같은데 해결 방법을 모르겠습니다. 고수님들 방법좀 알려주세요. 부탁드립니
다. 참고로 지금 제가 컴파일 하려고 하는 프로그램은 aspell의 프론트엔드인 gaspell-.30.tar.gz
입니다. 그럼 수고하세요.--이 곳에 서명을 적어주십시오. 모질라 0.9.1 타이핑할때 너무
느리고 cpu 점유율이 100%까지 올라가네요. 서명은 아무나 하나. 어느 누가 쉽다고 했나.