HI, do you have the matching *-devel packages installed? HTH, Martin ----- Original Message ----
From: David C. Rankin <drankinatty@suddenlinkmail.com> To: suse <opensuse@opensuse.org> Sent: Wed, February 24, 2010 8:43:34 AM Subject: [opensuse] AArgh! rpmbuild is so stupid at times... How to tell it gtk.h is really there?
Listmates,
Building sawfish from src.rpm and all goes well until it needs gtk/gtk.h and
then the build bombs:
/usr/src/packages/BUILD/sawfish-1.3.5.3/src/.libs/x.lai -> ./.libexec/sawfish/wm/util/x.lai /usr/src/packages/BUILD/sawfish-1.3.5.3/src/.libs/x.o -> ./.libexec/sawfish/wm/util/x.o /usr/src/packages/BUILD/sawfish-1.3.5.3/src/.libs/x.so -> ./.libexec/sawfish/wm/util/x.so gcc -DHAVE_CONFIG_H -DSAWFISH -D__STRICT_ANSI__ -I. -I.. -o gtk-style gtk-style.c -lnsl gtk-style.c:23:21: error: gtk/gtk.h: No such file or directory gtk-style.c:30: error: expected ‘)’ before ‘*’ token gtk-style.c:36: error: expected declaration specifiers or ‘...’ before ‘GdkColor’ gtk-style.c: In function ‘print_colors’: gtk-style.c:43: error: ‘x’ undeclared (first use in this function)
The header is present and accounted for:
[01:39 alchemy:/usr/src/packages/SPECS] # l /usr/include/gtk-2.0/gtk/gtk.h -rw-r--r-- 1 root root 7381 2009-10-11 11:10 /usr/include/gtk-2.0/gtk/gtk.h
The source calls the header as such:
#include #include "gtk/gtk.h"
Umm... Why isn't it found? How to fix?
-- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com
To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org