compiling gnome




I've been having this problem for months now.

I instaled the latest glib and gtk from todays cvs and removed the old
libs I had leaving only glib and gtk+ 1.1.11.

After that I started to compile gnome-libs I got from cvs today with
-rGNOME_STABLE and I get the following error:

In file included from gnome-config.c:30:
/usr/local/include/glib.h:483: parse error before `gssize'
/usr/local/include/glib.h:483: warning: data definition has no type or
storage c
lass
/usr/local/include/glib.h:484: parse error before `gsize'
/usr/local/include/glib.h:484: warning: data definition has no type or
storage c
lass
/usr/local/include/glib.h:485: parse error before `GQuark'
/usr/local/include/glib.h:485: warning: data definition has no type or
storage c
lass
/usr/local/include/glib.h:486: parse error before `GTime'
/usr/local/include/glib.h:486: warning: data definition has no type or
storage c
lass
/usr/local/include/glib.h:743: parse error before `key_id'
/usr/local/include/glib.h:814: parse error before `guint8'
/usr/local/include/glib.h:814: warning: no semicolon at end of struct or
union
/usr/local/include/glib.h:816: parse error before `}'
/usr/local/include/glib.h:1525: parse error before `mask'
/usr/local/include/glib.h:1543: parse error before `mask'
/usr/local/include/glib.h:1689: parse error before `*'
/usr/local/include/glib.h:1692: parse error before `*'
/usr/local/include/glib.h:1723: parse error before `g_quark_try_string'
/usr/local/include/glib.h:1723: warning: data definition has no type or
storage
/usr/local/include/glib.h:1724: parse error before
`g_quark_from_static_string'
/usr/local/include/glib.h:1724: warning: data definition has no type or
storage
class
/usr/local/include/glib.h:1725: parse error before `g_quark_from_string'
/usr/local/include/glib.h:1725: warning: data definition has no type or
storage
class
/usr/local/include/glib.h:1726: parse error before `quark'
/usr/local/include/glib.h:1734: parse error before `GQuark'
/usr/local/include/glib.h:1736: parse error before `GQuark'
/usr/local/include/glib.h:1740: parse error before `GQuark'
/usr/local/include/glib.h:1764: parse error before `GQuark'
/usr/local/include/glib.h:1766: parse error before `GQuark'
/usr/local/include/glib.h:1770: parse error before `GQuark'
/usr/local/include/glib.h:2042: parse error before `GDateYear'
/usr/local/include/glib.h:2042: warning: data definition has no type or
storage
class
/usr/local/include/glib.h:2043: parse error before `GDateDay'
/usr/local/include/glib.h:2043: warning: data definition has no type or
storage
class
/usr/local/include/glib.h:2116: parse error before `day'
/usr/local/include/glib.h:2119: parse error before `julian_day'
/usr/local/include/glib.h:2128: parse error before `day'
/usr/local/include/glib.h:2130: parse error before `year'
/usr/local/include/glib.h:2132: parse error before `julian_date'
/usr/local/include/glib.h:2133: parse error before `day'
/usr/local/include/glib.h:2139: parse error before `g_date_year'
/usr/local/include/glib.h:2139: warning: data definition has no type or
storage
class
/usr/local/include/glib.h:2140: parse error before `g_date_day'
/usr/local/include/glib.h:2140: warning: data definition has no type or
storage
class
/usr/local/include/glib.h:2141: parse error before `g_date_julian'
/usr/local/include/glib.h:2141: warning: data definition has no type or
storage
class
/usr/local/include/glib.h:2167: parse error before `GTime'
/usr/local/include/glib.h:2171: parse error before `GDateDay'
/usr/local/include/glib.h:2173: parse error before `GDateYear'
/usr/local/include/glib.h:2175: parse error before `GDateDay'
/usr/local/include/glib.h:2179: parse error before `guint32'
/usr/local/include/glib.h:2200: parse error before `year'
/usr/local/include/glib.h:2201: parse error before `g_date_days_in_month'
/usr/local/include/glib.h:2202: parse error before `GDateYear'
/usr/local/include/glib.h:2202: warning: data definition has no type or
storage
class
/usr/local/include/glib.h:2203: parse error before
`g_date_monday_weeks_in_year'
/usr/local/include/glib.h:2203: parse error before `year'
/usr/local/include/glib.h:2203: warning: data definition has no type or
storage
class
/usr/local/include/glib.h:2204: parse error before
`g_date_sunday_weeks_in_year'
/usr/local/include/glib.h:2204: parse error before `year'
/usr/local/include/glib.h:2204: warning: data definition has no type or
storage
class
/usr/local/include/glib.h:2215: parse error before `g_date_strftime'
/usr/local/include/glib.h:2216: parse error before `gsize'
/usr/local/include/glib.h:2218: warning: data definition has no type or
storage
class
/usr/local/include/glib.h:2302: parse error before `GLIB_SYSDEF_POLLIN'
make[2]: *** [gnome-config.lo] Error 1
make[2]: Leaving directory `/home2/cvs/gnome-libs/libgnome'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home2/cvs/gnome-libs'
make: *** [all-recursive-am] Error 2 

Could someone give me a hand. I've checked and /usr/local/include/glib.h
is the one instaled from my compilation of the cvs lib and I have no rpm's
of neither glib or gtk+.

I'm using gcc version 2.7.2.3-8 that came installed with RedHat 5.0.

Please help me I've been having this problem for months now. 



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