U have to got gd lib installed on ur os...
gd lib needs libjpeg, libpng and ziplib. When u'll be sure to have them installed in \usr\lib or any other folder.
Run the configure of the GD lib and check if at the end it shows u that all the needed libs are well supported.
It should show soemthin like
note : u can run the configure by including libs directories :
./configure '--with-jpeg=/usr/local' '--with-png=/usr/local' '--with-zlib-dir=/usr/local'
If get any "no" it's that somethin's goin wrong before.
Once done with that go into ur nagios setup dir tape make clean and retry the nagios configure and make.
If the compilation still break up after building statusmap.cgi modify the statusmap.c file by putting 2 lines in comments (// or /* */) :
else if(!strcasecmp(ext,".jpg") || !strcasecmp(ext,".jpeg"))
Re-run the make clean , configure and make then u should have statusmap.cgi and trends.cgi well added in ur nagios cgi dir.
Hope this will help. :shock: