i'm trying to compile gtk-2.4 for myself but pango and atk are acting up
when i first tried to compile pango it had a pkg-config error which i resolved. but now it wanted glib.h i was wondering why it hadn't found it because i had already installed glib-2.4. so i went into the glib-2.4.0 source dir and copied glib.h into my /usr/local/include. now it wanted even more headers. i then delved into the glib dir of my glib-2.4 source and copied those files into /usr/local/include/glib/ but now make gives millions of errors like:
In file included from /usr/local/include/glib.h:64,
from otlbuffer.h:17,
from ftxopen.h:283,
from ftxopen.c:18:
/usr/local/include/glib/gstrfuncs.h:50: error: syntax error before '*' token
/usr/local/include/glib/gstrfuncs.h:104: error: syntax error before "g_strlcpy"
/usr/local/include/glib/gstrfuncs.h:106: error: syntax error before "gsize"
/usr/local/include/glib/gstrfuncs.h:107: error: syntax error before "g_strlcat"
/usr/local/include/glib/gstrfuncs.h:109: error: syntax error before "gsize"
/usr/local/include/glib/gstrfuncs.h:111: error: syntax error before "gssize"
/usr/local/include/glib/gstrfuncs.h:116: error: syntax error before "gssize"
/usr/local/include/glib/gstrfuncs.h:130: error: syntax error before "g_ascii_strtoull"
/usr/local/include/glib/gstrfuncs.h:156: error: syntax error before "gsize"
/usr/local/include/glib/gstrfuncs.h:158: error: syntax error before "gssize"
/usr/local/include/glib/gstrfuncs.h:160: error: syntax error before "gssize"
/usr/local/include/glib/gstrfuncs.h:188: error: syntax error before "gsize"
/usr/local/include/glib/gstrfuncs.h:189: error: syntax error before "length"
atk gives this:
make[2]: Entering directory `/2/atk-1.6.0/atk'
..//usr/lib/pkgconfig/gobject/glib-genmarshal --prefix=atk_marshal ./atkmarshal.list --header >> xgen-gmh \
&& (cmp -s xgen-gmh atkmarshal.h || cp xgen-gmh atkmarshal.h) \
&& rm -f xgen-gmh xgen-gmh~ \
&& echo timestamp > stamp-atkmarshal.h
/bin/sh: line 1: ..//usr/lib/pkgconfig/gobject/glib-genmarshal: No such file or directory
how do i get this to work??