Hello,<br><br>I'm attempting to install Nagios 3 on CentOS 5.1 i386. <br><br>I've installed gd, gd-devel, freetype, libjpeg, libjpeg-devel, zlib, zlib-devel packages.<br><br>I'm comping nagios 3 with the following options,<br>
<br>./configure --prefix=/opt/nagios --sysconfdir=/etc/nagios --localstatedir=/var/<br>nagios --with-command-group=nagcmd --with-nagios-user=nagios --with-nagios-grou<br>p=nagios --enable-event-broker --with-gd-lib=/usr/lib --with-gd-inc=/usr/includ<br>
e --with-mail=/usr/sbin/sendmail --enable-statusmap=yes --enable-statuswrl=yes<br><br>Compile is successful. However there is no statusmap.cgi in sbin/ and I get apache error (file not found) on clicking  "Status Map".<br>
<br>config.log  has,<br><br><snip><br>........<br>.....<br>configure:5760: result: no<br>configure:5768: checking for gdImagePng in -lgd (order 1)<br>configure:5796: gcc -o conftest -g -O2 -I/usr/include   -L/usr/lib conftest.c -lgd -lttf -lpng -ljpeg -lz -lm  >&5<br>
/usr/bin/ld: cannot find -lttf<br>collect2: ld returned 1 exit status<br>configure:5802: $? = 1<br>configure: failed program was:<br>| /* confdefs.h.  */<br>....<br>...<br></snip><br><br> <br><snip><br>....<br>
<br>| #define USE_XDDDEFAULT 1<br>| /* end confdefs.h.  */<br>|       /* Override any gcc2 internal prototype to avoid an error.  */<br>| /* We use char because int might match the return type of a gcc2<br>|     builtin and then its argument prototype would still apply.  */<br>
| char gdImagePng();<br>| <br>| int<br>| main ()<br>| {<br>| gdImagePng()<br>|   ;<br>|   return 0;<br>| }<br>configure:5837: result: no<br>configure:5844: checking for gdImagePng in -lgd (order 2)<br>configure:5872: gcc -o conftest -g -O2 -I/usr/include   -L/usr/lib conftest.c -lgd  -lpng -ljpeg -lz -lm  >&5<br>
configure:5878: $? = 0<br>configure:5882: test -z <br>                         || test ! -s conftest.err<br>configure:5885: $? = 0<br>configure:5888: test -s conftest<br>configure:5891: $? = 0<br>configure:5906: result: yes<br>
configure:6206: checking ltdl.h usability<br>configure:6218: gcc -c -g -O2 -I/usr/include  conftest.c >&5<br>conftest.c:114:18: error: ltdl.h: No such file or directory<br>configure:6224: $? = 1<br>configure: failed program was:<br>
| /* confdefs.h.  */<br>....<br>....<br></snip><br><br>I'm not sure what the problem is.  Any ideas?<br><br>Thanks in advance,<br>Joey<br><br>