glib/gtk issues



I was hoping someone on this list could help me. I just compiled glib1.2.8
and gtk1.2.8 with no problem on my irix6.2 system. However, when I try and
compile a program now that needs gtk/glib I get:

checking for glib-config... (cached) /usr/local/bin/glib-config
checking for GLIB - version >= 1.2.0... no
*** Could not run GLIB test program, checking why...
*** The test program failed to compile or link. See the file config.log
for the
*** exact error that occured. This usually means GLIB was incorrectly
installed
*** or that you have moved GLIB since it was installed. In the latter
case, you
*** may want to edit the glib-config script: /usr/local/bin/glib-config
checking for gtk-config... (cached) /usr/local/bin/gtk-config
checking for GTK - version >= 1.2.0... no
*** Could not run GTK test program, checking why...
*** The test program failed to compile or link. See the file config.log
for the
*** exact error that occured. This usually means GTK was incorrectly
installed
*** or that you have moved GTK since it was installed. In the latter case,
you
*** may want to edit the gtk-config script: /usr/local/bin/gtk-config


When I look into the config.log file I see the following errors:


configure:4525: checking for GLIB - version >= 1.2.0
configure:4624: gcc -o conftest -O2 -I/usr/local/include -I/opt/include
-I../ -I/usr/local/lib/glib/include -I/usr/local/include   conftest.c
-L/usr/$In file included from configure:4550:
/usr/local/include/glib.h:502: parse error before `gssize'
/usr/local/include/glib.h:502: warning: data definition has no type or
storage class
/usr/local/include/glib.h:503: parse error before `gsize'
/usr/local/include/glib.h:503: warning: data definition has no type or
storage class
/usr/local/include/glib.h:504: parse error before `GQuark'
/usr/local/include/glib.h:504: warning: data definition has no type or
storage class
/usr/local/include/glib.h:505: parse error before `GTime'>&5
/usr/local/include/glib.h:505: warning: data definition has no type or
storage class
/usr/local/include/glib.h:769: parse error before `key_id'5
/usr/local/include/glib.h:840: parse error before `guint8' tions
/usr/local/include/glib.h:840: warning: no semicolon at end of struct or
union>&5
/usr/local/include/glib.h:842: parse error before `}'
/usr/local/include/glib.h:1554: parse error before `mask'

and what follows is a whole slew of "parse errors." I get the same error
in the gtk portion of the config.log file.

Anyone have any ideas?

Thanks a bunch!

-Ben




--
Ben Srour
bsrour@westminster.pvt.k12.ct.us





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]