error in glib.h

"kartik rustagi" <[email protected]>
Newsgroups gmane.comp.gnome.devel
Message-ID <[email protected]>
Well I am am a novice developer wanting to work using gnome libraries
. i made a simple c file
#include<glib.h>

and while compiling i got the following error:-
In file included from temp.c:1:
/usr/local/include/glib-2.0/glib.h:30:26: error: glib/galloca.h: No
such file or directory
/usr/local/include/glib-2.0/glib.h:31:25: error: glib/garray.h: No
such file or directory
/usr/local/include/glib-2.0/glib.h:32:30: error: glib/gasyncqueue.h:
No such file or directory
/usr/local/include/glib-2.0/glib.h:33:26: error: glib/gatomic.h: No
such file or directory
....
for complete error plz chk http://rafb.net/p/Dg0mTd15.html

i think this error is because all this files all there in
/usr/include/glib-2.0/glib/ and not in /usr/include/glib/ as i think
it is trying to find.
how do i fix it. please help me.

THAnks

ps:- I tried pkg-config but couldnt get to work it.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.