Status Map only showing XML

When I click on statusmap on the Nagios screen I get XML displayed on the screen instead of the graph. I have configured and compiled Nagios with all the libraries necessary and everything looks good. However, the web only displays the XML for status map, trends, ect… where an image is suppose to be displayed. Any help on why this is being done would be helpful. I have been working on this now for two days and getting nowhere.

Thanks in advance.

gdlibs not installed correctly?
when you ran:
./configure
it most likely complained “gd library not found”.