It looks like a problem with pkg-config. I think you must have it but it's not finding what it needs.
What happens when you say:
? If there's nothing wrong there, try
pkg-config --list-all | grep gnome
and see if it's finding the gnome stuff. Let us know what it says.