No, Gnome isn't the problem. I have Gnome installed and I get your error if I follow your steps. I installed glib-2.4.0 (I haven't got 2.4.1 yet) in /opt/local , then I set
then I cd'd into the pango folder and did
configure went fine but make gave the same error as you. So I deleted the pango source, untared a clean one and did it again but this time, as well as PFG_CONFIG_PATH and LD_LIBRARY_PATH , this time I set the variable I told you about before
That fixed it. This time pango built cleanly. If you close the terminal it forgets the varibles so you need to set them again, each itme you start work. If you're going to do the whole of Gnome, you might want to put
in the hidden file .bashrc in your home folder. That will be read everytime you open a shell so the variables will be set automatically.