Joey,<br>You want to try the following config.<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-mail=/usr/sbin/sendmail <br>
<br>or you can try ./configure --with-command-group=nagcmd (this should put everything under /usr/local/nagios/)<br><br>I am sure you have created nagios user nagios group and nagcmd.<br><br>Thanks,<br>-john<br><br><br><br>
<div class="gmail_quote">On Fri, Mar 14, 2008 at 1:08 PM, Joey K. <<a href="mailto:pguser@gmail.com">pguser@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>John,<br><br>Appreciate your response. <br><br>[joey@outside2 ~]$ yum list installed | grep gd-devel<div class="Ih2E3d"><br>gd-devel.i386 2.0.33-9.4.el5_1.1 installed <br></div>[joey@outside2 ~]$ yum list installed | grep libjpeg-devel<br>
libjpeg-devel.i386 6b-37 installed <br>[joey@outside2 ~]$ yum list installed | grep libpng-devel<div class="Ih2E3d"><br>libpng-devel.i386 2:1.2.10-7.1.el5_0.1 installed <br>
</div>
[joey@outside2 ~]$ yum list installed | grep zlib-devel<br>zlib-devel.i386 1.2.3-3 installed <br>[joey@outside2 ~]$ yum list installed | grep freetype-devel<br>freetype-devel.i386 2.2.1-19.el5 installed <br>
[joey@outside2 ~]$ <br><br><br>I'm not sure what else could be missing.<br><font color="#888888"><br>Joey</font><div><div></div><div class="Wj3C7c"><br><br><br><div class="gmail_quote">On Fri, Mar 14, 2008 at 5:21 AM, John Duraisw <<a href="mailto:john.duraiswamy@gmail.com" target="_blank">john.duraiswamy@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Check whether you have gd-devel and libpng-devel installed. If not install it and recompile it.<br>
<br>[root@web sbin]# yum list installed | grep gd-devel<br>
gd-devel.i386 2.0.33-9.4.el5_1.1 installed<br>
[root@web sbin]# yum list installed | grep libpng-devel<br>
libpng-devel.i386 2:1.2.10-7.1.el5_0.1 installed<br><br>Thanks,<br><br>-john<br><br><br><br><br><div class="gmail_quote"><div><div></div><div>On Thu, Mar 13, 2008 at 7:18 PM, Joey K. <<a href="mailto:pguser@gmail.com" target="_blank">pguser@gmail.com</a>> wrote:<br>
</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div>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><font color="#888888">Joey<br><br>
</font><br></div></div>-------------------------------------------------------------------------<br>
This SF.net email is sponsored by: Microsoft<br>
Defy all challenges. Microsoft(R) Visual Studio 2008.<br>
<a href="http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/" target="_blank">http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/</a><br>_______________________________________________<br>
Nagios-users mailing list<br>
<a href="mailto:Nagios-users@lists.sourceforge.net" target="_blank">Nagios-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null<br></blockquote></div><br>
</blockquote></div><br>
</div></div></blockquote></div><br>