<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-9">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:Arial;
color:windowtext;}
@page Section1
{size:612.0pt 792.0pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'>Dear All..<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'>I have installed nagios to a Fedora core 5 machine before
and never had any problem but since I tried installing it on the Redhat 9
machine I get errors.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'>I have been trying to install nagios Library 1.4.5 to my
Redhat 9 server and have been getting errors. <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'>Here is what the last few lines of the output, when I do a <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><b><font size=2 face=Arial><span lang=TR style='font-size:
10.0pt;font-family:Arial;font-weight:bold'>./configure<o:p></o:p></span></font></b></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'>config.status: creating po/POTFILES<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'>config.status: creating po/Makefile<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'> --with-apt-get-command:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'> --with-ping6-command:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'> --with-ping-command: /bin/ping -n -U -w %d -c
%d %s<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'> --with-lwres: no<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'> --with-ipv6: yes<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'> --with-mysql: /usr/bin/mysql_config<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'> --with-openssl: yes<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'> --with-gnutls: no<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'> --enable-emulate-getaddrinfo: no<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'> --with-perl: /usr/bin/perl<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'> --with-cgiurl: /nagios/cgi-bin<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'> --with-trusted-path:
/bin:/sbin:/usr/bin:/usr/sbin<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'>When I do <b><span style='font-weight:bold'>make all </span></b>I
get following error<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'>[root@GateWay nagios-plugins-1.4.5]# make all<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'>make all-recursive<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'>make[1]: Entering directory
`/Nagios-install/nagios-plugins-1.4.5'<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'>Making all in lib<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'>make[2]: Entering directory
`/Nagios-install/nagios-plugins-1.4.5/lib'<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'>make all-recursive<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'>make[3]: Entering directory
`/Nagios-install/nagios-plugins-1.4.5/lib'<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'>Making all in tests<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'>make[4]: Entering directory
`/Nagios-install/nagios-plugins-1.4.5/lib/tests'<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'>make[4]: Nothing to be done for `all'.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'>make[4]: Leaving directory
`/Nagios-install/nagios-plugins-1.4.5/lib/tests'<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'>make[4]: Entering directory
`/Nagios-install/nagios-plugins-1.4.5/lib'<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'>make[4]: Nothing to be done for `all-am'.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'>make[4]: Leaving directory
`/Nagios-install/nagios-plugins-1.4.5/lib'<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'>make[3]: Leaving directory
`/Nagios-install/nagios-plugins-1.4.5/lib'<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'>make[2]: Leaving directory
`/Nagios-install/nagios-plugins-1.4.5/lib'<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'>Making all in plugins<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'>make[2]: Entering directory `/Nagios-install/nagios-plugins-1.4.5/plugins'<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'>if gcc
-DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I.
-I. -I.. -I.. -I../lib -I../intl -I/usr/include/ldap -I/usr/include
-I/usr/kerberos/include -I'/usr/include' -g -O2 -MT check_mysql-check_mysql.o
-MD -MP -MF ".deps/check_mysql-check_mysql.Tpo" -c -o
check_mysql-check_mysql.o `test -f 'check_mysql.c' || echo './'`check_mysql.c;
\<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'>then mv -f ".deps/check_mysql-check_mysql.Tpo"
".deps/check_mysql-check_mysql.Po"; else rm -f
".deps/check_mysql-check_mysql.Tpo"; exit 1; fi<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'>check_mysql.c:51:19: mysql.h: No such file or directory<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'>check_mysql.c:52:20: errmsg.h: No such file or directory<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'>check_mysql.c:58: `MYSQL_PORT' undeclared here (not in a
function)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'>check_mysql.c: In function `main':<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'>check_mysql.c:73: `MYSQL' undeclared (first use in this
function)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'>check_mysql.c:73: (Each undeclared identifier is reported
only once<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'>check_mysql.c:73: for each function it appears in.)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'>check_mysql.c:73: parse error before "mysql"<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'>check_mysql.c:74: `MYSQL_RES' undeclared (first use in this
function)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'>check_mysql.c:74: `res' undeclared (first use in this
function)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'>check_mysql.c:75: `MYSQL_ROW' undeclared (first use in this
function)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'>check_mysql.c:75: parse error before "row"<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'>check_mysql.c:91: `mysql' undeclared (first use in this
function)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'>check_mysql.c:93: `MYSQL_READ_DEFAULT_GROUP' undeclared
(first use in this function)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'>check_mysql.c:97: `CR_UNKNOWN_HOST' undeclared (first use in
this function)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'>check_mysql.c:99: `CR_VERSION_ERROR' undeclared (first use
in this function)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'>check_mysql.c:101: `CR_OUT_OF_MEMORY' undeclared (first use
in this function)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'>check_mysql.c:103: `CR_IPSOCK_ERROR' undeclared (first use
in this function)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'>check_mysql.c:105: `CR_SOCKET_CREATE_ERROR' undeclared
(first use in this function)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'>check_mysql.c:112: warning: passing arg 1 of `strlen' makes
pointer from integer without a cast<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'>check_mysql.c:112: warning: passing arg 2 of `memcpy' makes
pointer from integer without a cast<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'>check_mysql.c:112: warning: passing arg 1 of `__strdup'
makes pointer from integer without a cast<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'>check_mysql.c:116: `CR_SERVER_GONE_ERROR' undeclared (first
use in this function)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'>check_mysql.c:118: `CR_SERVER_LOST' undeclared (first use in
this function)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'>check_mysql.c:120: `CR_UNKNOWN_ERROR' undeclared (first use
in this function)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'>check_mysql.c:127: warning: passing arg 1 of `strlen' makes
pointer from integer without a cast<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'>check_mysql.c:127: warning: passing arg 2 of `memcpy' makes
pointer from integer without a cast<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'>check_mysql.c:127: warning: passing arg 1 of `__strdup'
makes pointer from integer without a cast<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'>check_mysql.c:134: warning: passing arg 1 of `strlen' makes
pointer from integer without a cast<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'>check_mysql.c:134: warning: passing arg 2 of `memcpy' makes
pointer from integer without a cast<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'>check_mysql.c:134: warning: passing arg 1 of `__strdup'
makes pointer from integer without a cast<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'>check_mysql.c:146: `row' undeclared (first use in this
function)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'>check_mysql.c:147: warning: passing arg 1 of `strlen' makes
pointer from integer without a cast<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'>check_mysql.c:147: warning: passing arg 2 of `memcpy' makes
pointer from integer without a cast<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'>check_mysql.c:147: warning: passing arg 1 of `__strdup'
makes pointer from integer without a cast<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'>check_mysql.c:165: `MYSQL_FIELD' undeclared (first use in
this function)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'>check_mysql.c:165: `fields' undeclared (first use in this
function)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'>check_mysql.c: In function `print_help':<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'>check_mysql.c:367: `MYSQL_PORT' undeclared (first use in
this function)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'>make[2]: *** [check_mysql-check_mysql.o] Error 1<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'>make[2]: Leaving directory
`/Nagios-install/nagios-plugins-1.4.5/plugins'<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'>make[1]: *** [all-recursive] Error 1<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'>make[1]: Leaving directory
`/Nagios-install/nagios-plugins-1.4.5'<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'>make: *** [all] Error 2<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'>[root@GateWay nagios-plugins-1.4.5]#<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'>And because of this I can not install the plugins..... <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'>I have tried installing a different versions of mysql but
still not getting the same error. Can some one help me with the above error
messages. As I need to install nagios ASAP...... <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=TR style='font-size:10.0pt;
font-family:Arial'>Thanks in advance for your help<o:p></o:p></span></font></p>
</div>
</body>
</html>