can't compile libgtop program
im new to linux and i am working on getting some system related information in my program.
i installed glib-2 and libgtop-2 using:
$ make install
i tried to compile "first.c" in src/libgtop-2/examples and i am getting loads of "header file not found" and "constant undefined errors"... i tried this on both redhat and suse.
can someone plz tell me the steps to complete my task?