I am new to Linux. But I read all the documentation and installed gd-2.0.33.tar.gz, and nagios-2.7.tar.gz without problem. However the plugins from nagios-plugins-1-4.5.tar.gz fail to install into the /usr/local/nagios/libexec directory. Like similar Postings... I too have MySQL errors afer running ./configure. I also discounted believing MySQL was not a prerequiste. Someone wrote, the "make install" will not ignore errors encountered. <span style="font-weight: bold;">How best should I resolve the MySQL errors included below...<br> Do I need to install MySQL too?<br> </span> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="Generator" content="Kate, the KDE Advanced Text Editor">check_mysql.c:51:19: error: mysql.h: No such file or directory<span style="font-family: monospace;"><br> </span>check_mysql.c:52:20: error: errmsg.h: No such file or directory<span style="font-family: monospace;"><br>
</span>check_mysql.c:58: error: ‘MYSQL_PORT’ undeclared here (not in a function)<span style="font-family: monospace;"><br> </span>check_mysql.c: In function ‘main’:<span style="font-family: monospace;"><br> </span>check_mysql.c:73: error: ‘MYSQL’ undeclared (first use in this function)<span style="font-family: monospace;"><br> </span>check_mysql.c:73: error: (Each undeclared identifier is reported only once<span style="font-family: monospace;"><br> </span>check_mysql.c:73: error: for each function it appears in.)<span style="font-family: monospace;"><br> </span>check_mysql.c:73: error: syntax error before ‘mysql’<span style="font-family: monospace;"><br> </span>check_mysql.c:74: error: ‘MYSQL_RES’ undeclared (first use in this function)<span style="font-family: monospace;"><br> </span>check_mysql.c:74: error: ‘res’ undeclared (first use in this function)<span style="font-family: monospace;"><br> </span>check_mysql.c:75: error: ‘MYSQL_ROW’ undeclared (first use in this
function)<span style="font-family: monospace;"><br> </span>check_mysql.c:75: error: syntax error before ‘row’<span style="font-family: monospace;"><br> </span>check_mysql.c:91: error: ‘mysql’ undeclared (first use in this function<br> check_mysql.c:93: error: ‘MYSQL_READ_DEFAULT_GROUP’ undeclared (first use in this function)<span style="font-family: monospace;"><br> </span>check_mysql.c:97: error: ‘CR_UNKNOWN_HOST’ undeclared (first use in this function)<span style="font-family: monospace;"><br> </span>check_mysql.c:99: error: ‘CR_VERSION_ERROR’ undeclared (first use in this function)<span style="font-family: monospace;"><br> </span>check_mysql.c:101: error: ‘CR_OUT_OF_MEMORY’ undeclared (first use in this function)<span style="font-family: monospace;"><br> </span>check_mysql.c:103: error: ‘CR_IPSOCK_ERROR’ undeclared (first use in this function)<span style="font-family: monospace;"><br> </span>check_mysql.c:105: error: ‘CR_SOCKET_CREATE_ERROR’ undeclared (first use in
this function)<span style="font-family: monospace;"><br> </span>check_mysql.c:112: warning: passing argument 1 of ‘strlen’ makes pointer from integer without a cast<span style="font-family: monospace;"><br> </span>check_mysql.c:112: warning: passing argument 2 of ‘__builtin___memcpy_chk’ makes pointer from integer without a cast<span style="font-family: monospace;"><br> </span>check_mysql.c:112: warning: passing argument 2 of ‘__memcpy_ichk’ makes pointer from integer without a cast<span style="font-family: monospace;"><br> </span>check_mysql.c:112: warning: passing argument 1 of ‘__strdup’ makes pointer from integer without a cast<span style="font-family: monospace;"><br> </span>check_mysql.c:116: error: ‘CR_SERVER_GONE_ERROR’ undeclared (first use in this function)<span style="font-family: monospace;"><br> </span>check_mysql.c:118: error: ‘CR_SERVER_LOST’ undeclared (first use in this function)<br> check_mysql.c:120: error: ‘CR_UNKNOWN_ERROR’ undeclared (first use in
this function)<span style="font-family: monospace;"><br> </span>check_mysql.c:127: warning: passing argument 1 of ‘strlen’ makes pointer from integer without a cast<span style="font-family: monospace;"><br> </span>check_mysql.c:127: warning: passing argument 2 of ‘__builtin___memcpy_chk’ makes pointer from integer without a cast<span style="font-family: monospace;"><br> </span>check_mysql.c:127: warning: passing argument 2 of ‘__memcpy_ichk’ makes pointer from integer without a cast<span style="font-family: monospace;"><br> </span>check_mysql.c:127: warning: passing argument 1 of ‘__strdup’ makes pointer from integer without a cast<span style="font-family: monospace;"><br> </span>check_mysql.c:134: warning: passing argument 1 of ‘strlen’ makes pointer from integer without a cast<span style="font-family: monospace;"><br> </span>check_mysql.c:134: warning: passing argument 2 of ‘__builtin___memcpy_chk’ makes pointer from integer without a cast<br> check_mysql.c:134: warning:
passing argument 2 of ‘__memcpy_ichk’ makes pointer from integer without a cast<span style="font-family: monospace;"><br> </span>check_mysql.c:134: warning: passing argument 1 of ‘__strdup’ makes pointer from integer without a cast<span style="font-family: monospace;"><br> </span>check_mysql.c:146: error: ‘row’ undeclared (first use in this function)<span style="font-family: monospace;"><br> </span>check_mysql.c:147: warning: passing argument 1 of ‘strlen’ makes pointer from integer without a cast<span style="font-family: monospace;"><br> </span>check_mysql.c:147: warning: passing argument 2 of ‘__builtin___memcpy_chk’ makes pointer from integer without a cast<span style="font-family: monospace;"><br> </span>check_mysql.c:147: warning: passing argument 2 of ‘__memcpy_ichk’ makes pointer from integer without a cast<span style="font-family: monospace;"><br> </span>check_mysql.c:147: warning: passing argument 1 of ‘__strdup’ makes pointer from integer without a cast<span
style="font-family: monospace;"><br> </span>check_mysql.c:165: error: ‘MYSQL_FIELD’ undeclared (first use in this function)<span style="font-family: monospace;"><br> </span>check_mysql.c:165: error: ‘fields’ undeclared (first use in this function)<span style="font-family: monospace;"><br> </span>make[2]: *** [check_mysql-check_mysql.o] Error 1<span style="font-family: monospace;"><br> </span>make[2]: Leaving directory `/root/Desktop/nagios-plugins-1.4.5/plugins'<br> make[1]: *** [all-recursive] Error 1<span style="font-family: monospace;"><br> </span>make[1]: Leaving directory `/root/Desktop/nagios-plugins-1.4.5'<span style="font-family: monospace;"><br> </span>make: *** [all] Error 2<span style="font-family: monospace;"><br> </span>[root@cynthia nagios-plugins-1.4.5]#<br> Note, make test appears to work.... I thought installing the Plugins would be the easy the part. Any help/advice much appreciated.<br> Thanks, Cynthia<br> <span style="font-weight: bold;"><br> <br>
</span><p>
<hr size=1>Need a quick answer? Get one in minutes from people who know. Ask your question on
<a href="http://answers.yahoo.com/;_ylc=X3oDMTFvbGNhMGE3BF9TAzM5NjU0NTEwOARfcwMzOTY1NDUxMDMEc2VjA21haWxfdGFnbGluZQRzbGsDbWFpbF90YWcx">Yahoo! Answers</a>.