For the first problem: can you please install libglib1.2-dev as well, and try again?
The second problem is different. That isn't the only include directory that's necessary, so please try: gcc `glib-config --cflags` test.c That should work fine. -- Error while compiling, or want to ./configure any glib software https://launchpad.net/bugs/48421 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs