<br><font size=2 face="sans-serif">Ton,</font>
<br><font size=2 face="sans-serif"> when you say "</font><font size=2><tt>remove config.cache</tt></font><font size=2 face="sans-serif">" where exactly am I removing it from? </font>
<br>
<br><font size=2 face="sans-serif">As I think I will ignore it for now just to get it up and running.</font>
<br>
<br><font size=2 face="sans-serif">I have been installing the GD library, and it finished with ...</font>
<br>
<br><font size=2 face="sans-serif">+--------------------------------------------------------------------+</font>
<br><font size=2 face="sans-serif">| *** WARNING *** |</font>
<br><font size=2 face="sans-serif">| |</font>
<br><font size=2 face="sans-serif">| You chose to compile PHP with the built-in MySQL support. If you |</font>
<br><font size=2 face="sans-serif">| are compiling a server module, and intend to use other server |</font>
<br><font size=2 face="sans-serif">| modules that also use MySQL (e.g, mod_auth_mysql, PHP 3.0, |</font>
<br><font size=2 face="sans-serif">| mod_perl) you must NOT rely on PHP's built-in MySQL support, and |</font>
<br><font size=2 face="sans-serif">| instead build it with your local MySQL support files, by adding |</font>
<br><font size=2 face="sans-serif">| --with-mysql=/path/to/mysql to your configure line. |</font>
<br><font size=2 face="sans-serif">+--------------------------------------------------------------------+</font>
<br><font size=2 face="sans-serif">| License: |</font>
<br><font size=2 face="sans-serif">| This software is subject to the PHP License, available in this |</font>
<br><font size=2 face="sans-serif">| distribution in the file LICENSE. By continuing this installation |</font>
<br><font size=2 face="sans-serif">| process, you are bound by the terms of this license agreement. |</font>
<br><font size=2 face="sans-serif">| If you do not agree with the terms of this license, you must abort |</font>
<br><font size=2 face="sans-serif">| the installation process at this point. |</font>
<br><font size=2 face="sans-serif">+--------------------------------------------------------------------+</font>
<br><font size=2 face="sans-serif">| *** NOTE *** |</font>
<br><font size=2 face="sans-serif">| The default for register_globals is now OFF! |</font>
<br><font size=2 face="sans-serif">| |</font>
<br><font size=2 face="sans-serif">| If your application relies on register_globals being ON, you |</font>
<br><font size=2 face="sans-serif">| should explicitly set it to on in your php.ini file. |</font>
<br><font size=2 face="sans-serif">| Note that you are strongly encouraged to read |</font>
<br><font size=2 face="sans-serif">| http://www.php.net/manual/en/security.registerglobals.php |</font>
<br><font size=2 face="sans-serif">| about the implications of having register_globals set to on, and |</font>
<br><font size=2 face="sans-serif">| avoid using it if possible. |</font>
<br><font size=2 face="sans-serif">+--------------------------------------------------------------------+</font>
<br>
<br><font size=2 face="sans-serif">./config.status[1718]: 6: bad file unit number</font>
<br><font size=2 face="sans-serif">./config.status[1719]: 6: bad file unit number</font>
<br>
<br>
<br><font size=2 face="sans-serif">What problems can I expect with the last two lines ... config status?</font>
<br><font size=2 face="sans-serif"><br>
regards,<br>
<br>
Alwyn Cherrington<br>
Generic Operator<br>
Technology Services Unit<br>
Corporate Services Department<br>
Manchester City Council<br>
<br>
Tel: 0161 277 5912<br>
Fax: 0161 277 5955<br>
Email: a.cherrington@notes.manchester.gov.uk</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td>
<td><font size=1 face="sans-serif"><b>"Voon, Ton" <Ton.Voon@egg.com></b></font>
<p><font size=1 face="sans-serif">08/04/2003 11:08</font>
<br>
<td><font size=1 face="Arial"> </font>
<br><font size=1 face="sans-serif"> To: Alwyn Cherrington/Technology.Services/MCC@Manchester.City.Council, Ewan Leith <ejl@man.fwltech.com>, "Voon, Ton" <Ton.Voon@egg.com>, nagiosplug-help@lists.sourceforge.net</font>
<br><font size=1 face="sans-serif"> cc: </font>
<br><font size=1 face="sans-serif"> Subject: RE: [Nagiosplug-help] Re: nagios-plugins-1.3.0 error during make all</font></table>
<br>
<br>
<br><font size=2><tt>You have several options:<br>
- if you have a spare AIX server, install GCC, compile and transfer binaries<br>
over to your main node<br>
- get the binaries from Ewan. There will be a check_nt binary - you can just<br>
delete this<br>
- You can try compiling again, but miss out check_nt. Rename check_nt.c to<br>
check_nt.ignore.c, remove config.cache and rerun ./configure. This should<br>
ignore check_nt.c in the compiling process<br>
</tt></font>
<br><font size=2><tt>I'll remove all the // comments in check_nt.c since your compiler doesn't<br>
seem to like them. Our standard is normally to use /* */ comments anyway.<br>
</tt></font>
<br><font size=2><tt>> -----Original Message-----<br>
> From: Alwyn Cherrington [SMTP:a.cherrington@notes.manchester.gov.uk]<br>
> Sent: Tuesday, April 08, 2003 10:33 AM<br>
> To: Ewan Leith; Voon, Ton; nagiosplug-help@lists.sourceforge.net<br>
> Subject: RE: [Nagiosplug-help] Re: nagios-plugins-1.3.0 error during<br>
> make all<br>
><br>
><br>
> Thanks Ewan,<br>
> I'm installing Nagios on a multi-user node and the<br>
> administrator would like to avoid installing a new complier. I'm not a C<br>
> programmer so if you sent me a compiled version can I simply delete<br>
> reference to check_nt.c from TARGET? ( How?)<br>
><br>
> regards,<br>
><br>
> Alwyn Cherrington<br>
> Generic Operator<br>
> Technology Services Unit<br>
> Corporate Services Department<br>
> Manchester City Council<br>
><br>
> Tel: 0161 277 5912<br>
> Fax: 0161 277 5955<br>
> Email: a.cherrington@notes.manchester.gov.uk<br>
><br>
><br>
><br>
> Ewan Leith <ejl@man.fwltech.com><br>
><br>
> 08/04/2003 10:03<br>
><br>
> To: Alwyn<br>
> Cherrington/Technology.Services/MCC@Manchester.City.Council,<br>
> nagiosplug-help@lists.sourceforge.net<br>
> cc:<br>
> Subject: RE: [Nagiosplug-help] Re: nagios-plugins-1.3.0<br>
> error during make all<br>
><br>
><br>
><br>
> I've not looked much through your past postings, but it seems you're using<br>
> xLC, the wonderous IBM C compiler. I gave up using that, and went with gcc<br>
> from either www.bullfreeware.com <http://www.bullfreeware.com> or<br>
> http://www-1.ibm.com/servers/aix/products/aixos/linux/index.html<br>
> <http://www-1.ibm.com/servers/aix/products/aixos/linux/index.html> - the<br>
> IBM site is an rpm not a bff file but instructions are on that site on how<br>
> to do it.<br>
><br>
> After that, I've not had any major problems getting Nagios or any of the<br>
> plugins except check_procs to work under AIX.<br>
><br>
> I can send you the aix plugins compiled on 4.3.3 if you want, I don't have<br>
> the net-snmp tools installed so check_snmp won't be in there though.<br>
><br>
> Ewan<br>
><br>
> -----Original Message-----<br>
> From: Alwyn Cherrington [mailto:a.cherrington@notes.manchester.gov.uk]<br>
> Sent: 08 April 2003 09:34<br>
> To: Voon, Ton; nagiosplug-help@lists.sourceforge.net<br>
> Subject: [Nagiosplug-help] Re: nagios-plugins-1.3.0 error during make all<br>
><br>
><br>
><br>
><br>
> Thank you Ton,<br>
> We got a little bit further ...<br>
><br>
> cc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I. -I. -I. -I.. -I../lib<br>
> -g -c check_snmp.c<br>
> cc -g -L. -o check_snmp check_snmp.o utils.o<br>
> ../lib/libnagiosplug.a po<br>
> pen.o -lsnprintf -lsnprintf<br>
> cc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I. -I. -I. -I.. -I../lib<br>
> -g -c check_nt.c<br>
> "check_nt.c", line 31.3: 1506-191 (E) The character £ is not a valid C<br>
> source ch<br>
> aracter.<br>
> "check_nt.c", line 31.1: 1506-046 (S) Syntax error.<br>
> "check_nt.c", line 31.4: 1506-166 (S) Definition of function include<br>
> requires pa<br>
> rentheses.<br>
> "/usr/include/stdio.h", line 153.3: 1506-273 (E) Missing type in<br>
> declaration<br>
> of<br>
> FILE.<br>
> "/usr/include/stdio.h", line 158.8: 1506-166 (S) Definition of function<br>
> FILE<br>
> req<br>
> uires parentheses.<br>
> "/usr/include/stdio.h", line 158.17: 1506-276 (S) Syntax error: possible<br>
> missing<br>
> '{'?<br>
> "/usr/include/sys/types.h", line 236.3: 1506-273 (E) Missing type in<br>
> declaration<br>
> of sigset_t.<br>
> "/usr/include/sys/vm_types.h", line 45.9: 1506-166 (S) Definition of<br>
> function ul<br>
> ong_t requires parentheses.<br>
> "/usr/include/sys/vm_types.h", line 45.25: 1506-276 (S) Syntax error:<br>
> possible m<br>
> issing '{'?<br>
> "/usr/include/sys/vm_types.h", line 94.9: 1506-045 (S) Undeclared<br>
> identifier<br>
> vmh<br>
> andle_t.<br>
> "/usr/include/sys/vm_types.h", line 95.9: 1506-045 (S) Undeclared<br>
> identifier<br>
> cad<br>
> dr_t.<br>
> "/usr/include/sys/vm_types.h", line 100.3: 1506-273 (E) Missing type in<br>
> declarat<br>
> ion of vmaddr_t.<br>
> "/usr/include/sys/vm_types.h", line 108.9: 1506-046 (S) Syntax error.<br>
> "/usr/include/sys/vm_types.h", line 114.1: 1506-278 (S) The structure<br>
> definition<br>
> must specify a member list.<br>
> "/usr/include/sys/m_types.h", line 55.9: 1506-046 (S) Syntax error.<br>
> "/usr/include/sys/m_types.h", line 72.9: 1506-166 (S) Definition of<br>
> function<br>
> int<br>
> 32long64_t requires parentheses.<br>
> "/usr/include/sys/types.h", line 460.30: 1506-273 (E) Missing type in<br>
> declaratio<br>
> n of physadr_t.<br>
> "/usr/include/sys/types.h", line 461.9: 1506-166 (S) Definition of<br>
> function<br>
> phys<br>
> adr_t requires parentheses.<br>
> "/usr/include/sys/types.h", line 461.25: 1506-276 (S) Syntax error:<br>
> possible<br>
> mis<br>
> sing '{'?<br>
> "/usr/include/sys/types.h", line 496.9: 1506-046 (S) Syntax error.<br>
> "/usr/include/sys/types.h", line 499.41: 1506-045 (S) Undeclared<br>
> identifier<br>
> ino3<br>
> 2_t.<br>
> "/usr/include/sys/types.h", line 499.64: 1506-045 (S) Undeclared<br>
> identifier<br>
> uint<br>
> _t.<br>
> "/usr/include/sys/types.h", line 517.9: 1506-046 (S) Syntax error.<br>
> "/usr/include/sys/types.h", line 541.8: 1506-046 (S) Syntax error.<br>
> "/usr/include/sys/types.h", line 545.1: 1506-278 (S) The structure<br>
> definition mu<br>
> st specify a member list.<br>
> "/usr/include/stdio.h", line 374.29: 1506-275 (S) Unexpected text '*'<br>
> encountere<br>
> d.<br>
> "/usr/include/stdio.h", line 374.17: 1506-282 (S) The type of the<br>
> parameters<br>
> mus<br>
> t be specified in a prototype.<br>
> "/usr/include/stdio.h", line 375.8: 1506-166 (S) Definition of function<br>
> FILE<br>
> req<br>
> uires parentheses.<br>
> "/usr/include/stdio.h", line 375.17: 1506-276 (S) Syntax error: possible<br>
> missing<br>
> '{'?<br>
> "/usr/include/stdlib.h", line 79.3: 1506-273 (E) Missing type in<br>
> declaration<br>
> of<br>
> div_t.<br>
> "/usr/include/stdlib.h", line 91.8: 1506-166 (S) Definition of function<br>
> size_t r<br>
> equires parentheses.<br>
> "/usr/include/stdlib.h", line 91.15: 1506-276 (S) Syntax error: possible<br>
> missing<br>
> '{'?<br>
> "/usr/include/sys/time.h", line 91.9: 1506-045 (S) Undeclared identifier<br>
> time_t.<br>
> "/usr/include/sys/time.h", line 93.9: 1506-045 (S) Undeclared identifier<br>
> susecon<br>
> ds_t.<br>
> "/usr/include/sys/time.h", line 103.5: 1506-046 (S) Syntax error.<br>
> "/usr/include/sys/time.h", line 105.1: 1506-278 (S) The structure<br>
> definition<br>
> mus<br>
> t specify a member list.<br>
> "/usr/include/sys/time.h", line 115.1: 1506-278 (S) The structure<br>
> definition<br>
> mus<br>
> t specify a member list.<br>
> "/usr/include/sys/time.h", line 123.25: 1506-007 (S) "struct timeval" is<br>
> undefin<br>
> ed.<br>
> "/usr/include/sys/time.h", line 124.25: 1506-007 (S) "struct timeval" is<br>
> undefin<br>
> ed.<br>
> make: 1254-004 The error code from the last command is 1.<br>
><br>
><br>
> Stop.<br>
> make: 1254-004 The error code from the last command is 1.<br>
><br>
><br>
> Stop.<br>
><br>
><br>
> I then removed // from file 31.3 of check_nt.c. Executed the make all<br>
> again<br>
> and got ....<br>
><br>
> cc -g -L. -o check_snmp check_snmp.o utils.o<br>
> ../lib/libnagiosplug.a po<br>
> pen.o -lsnprintf -lsnprintf<br>
> cc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I. -I. -I. -I.. -I../lib<br>
> -g -c check_nt.c<br>
> "check_nt.c", line 124.33: 1506-046 (S) Syntax error.<br>
> "check_nt.c", line 124.37: 1506-045 (S) Undeclared identifier l.<br>
> "check_nt.c", line 130.41: 1506-046 (S) Syntax error.<br>
> "check_nt.c", line 130.44: 1506-045 (S) Undeclared identifier loop.<br>
> "check_nt.c", line 133.108: 1506-275 (S) Unexpected text ')' encountered.<br>
> "check_nt.c", line 145.41: 1506-046 (S) Syntax error.<br>
> "check_nt.c", line 153.57: 1506-046 (S) Syntax error.<br>
> "check_nt.c", line 156.41: 1506-046 (S) Syntax error.<br>
> "check_nt.c", line 156.44: 1506-045 (S) Undeclared identifier we.<br>
> "check_nt.c", line 239.65: 1506-046 (S) Syntax error.<br>
> "check_nt.c", line 239.68: 1506-045 (S) Undeclared identifier replace.<br>
> "check_nt.c", line 241.81: 1506-275 (S) Unexpected text ')' encountered.<br>
> "check_nt.c", line 289.65: 1506-046 (S) Syntax error.<br>
> "check_nt.c", line 289.78: 1506-045 (S) Undeclared identifier between.<br>
> "check_nt.c", line 290.81: 1506-275 (S) Unexpected text ')' encountered.<br>
> "check_nt.c", line 300.65: 1506-046 (S) Syntax error.<br>
> make: 1254-004 The error code from the last command is 1.<br>
><br>
><br>
> Stop.<br>
> make: 1254-004 The error code from the last command is 1.<br>
><br>
><br>
> Stop.<br>
> regards,<br>
><br>
> Removed comment line 124 // -l parameters is present with only integers.<br>
> Executed the make all again and got ....<br>
><br>
> cc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I. -I. -I. -I.. -I../lib<br>
> -g -c check_nt.c<br>
> "check_nt.c", line 129.41: 1506-046 (S) Syntax error.<br>
> "check_nt.c", line 129.44: 1506-045 (S) Undeclared identifier loop.<br>
> "check_nt.c", line 132.108: 1506-275 (S) Unexpected text ')' encountered.<br>
> "check_nt.c", line 144.41: 1506-046 (S) Syntax error.<br>
> "check_nt.c", line 152.57: 1506-046 (S) Syntax error.<br>
> "check_nt.c", line 155.41: 1506-046 (S) Syntax error.<br>
> "check_nt.c", line 155.44: 1506-045 (S) Undeclared identifier we.<br>
> "check_nt.c", line 238.65: 1506-046 (S) Syntax error.<br>
> "check_nt.c", line 238.68: 1506-045 (S) Undeclared identifier replace.<br>
> "check_nt.c", line 240.81: 1506-275 (S) Unexpected text ')' encountered.<br>
> "check_nt.c", line 288.65: 1506-046 (S) Syntax error.<br>
> "check_nt.c", line 288.78: 1506-045 (S) Undeclared identifier between.<br>
> "check_nt.c", line 289.81: 1506-275 (S) Unexpected text ')' encountered.<br>
> "check_nt.c", line 299.65: 1506-046 (S) Syntax error.<br>
> "check_nt.c", line 299.68: 1506-045 (S) Undeclared identifier burn.<br>
> make: 1254-004 The error code from the last command is 1.<br>
><br>
><br>
> Stop.<br>
> make: 1254-004 The error code from the last command is 1.<br>
><br>
><br>
> Removed all comment lines throughout check_nt.c. Executed the make all<br>
> again and got ....<br>
><br>
> cc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I. -I. -I. -I.. -I../lib<br>
> -g -c check_nt.c<br>
> "check_nt.c", line 296.25: 1506-277 (S) Syntax error: possible missing ';'<br>
> or ',<br>
> '?<br>
> make: 1254-004 The error code from the last command is 1.<br>
><br>
><br>
> Stop.<br>
> make: 1254-004 The error code from the last command is 1.<br>
><br>
><br>
> Stop.<br>
><br>
><br>
> Looked at previous occurrences of "printf("NSClient -<br>
> %s\n",recv_buffer);".<br>
> ( line 296.25). Any ideas ....<br>
><br>
> Regards,<br>
><br>
> Alwyn Cherrington<br>
> Generic Operator<br>
> Technology Services Unit<br>
> Corporate Services Department<br>
> Manchester City Council<br>
><br>
> Tel: 0161 277 5912<br>
> Fax: 0161 277 5955<br>
> Email: a.cherrington@notes.manchester.gov.uk<br>
><br>
><br>
><br>
> "Voon, Ton" <Ton.Voon@egg.com><br>
><br>
><br>
> 07/04/2003 18:16<br>
><br>
><br>
><br>
> To: Alwyn<br>
> Cherrington/Technology.Services/MCC@Manchester.City.Council,<br>
> nagios-users@lists.sourceforge.net, nagiosplug-help@lists.sourceforge.net<br>
> cc:<br>
> Subject: Re: nagios-plugins-1.3.0 error during make all<br>
><br>
><br>
><br>
> Please remove nagios-users from mailing list when replying.<br>
><br>
> Alwyn,<br>
><br>
> Looks like line 170 is redundant as I can't see any bit of the code that<br>
> uses it. The errors are probably due to AIX using a variable called regex<br>
> as<br>
> well. Please delete the line and do another make all.<br>
><br>
> I'll remove the line from CVS later tonight.<br>
><br>
> Ton<br>
><br>
> > -----Original Message-----<br>
> > From: Alwyn Cherrington<br>
> [SMTP:a.cherrington@notes.manchester.gov.uk]<br>
> > Sent: Monday, April 07, 2003 2:49 PM<br>
> > To: nagios-users@lists.sourceforge.net;<br>
> > nagiosplug-help@lists.sourceforge.net<br>
> > Subject: [Nagiosplug-help] nagios-plugins-1.3.0 error during make<br>
> all<br>
> ><br>
> ><br>
> > Installed Nagios, trying to install plugins ... on AIX dm05 3 4<br>
> > 0041C9BA4C00, I have perviously been administering NetSaint 7 on another<br>
> > node but did not install it.<br>
> ><br>
> > following ... /usr/local/nagios/libexec/nagios-plugins-1.3.0>make all<br>
> ><br>
> ><br>
> > cc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I. -I. -I. -I.. -I../lib<br>
> > -g -c check_snmp.c<br>
> > "check_snmp.c", line 170.6: 1506-343 (S) Redeclaration of regex differs<br>
> > from pre<br>
> > vious declaration on line 188 of "/usr/include/regex.h".<br>
> > "check_snmp.c", line 170.6: 1506-382 (I) The type "unsigned char[1024]"<br>
> of<br>
> > ident<br>
> > ifier regex differs from previous type "unsigned char*(unsigned<br>
> > char*,unsigned c<br>
> > har*,unsigned char*)".<br>
> > make: 1254-004 The error code from the last command is 1.<br>
> ><br>
> ><br>
> > Stop.<br>
> > make: 1254-004 The error code from the last command is 1.<br>
> ><br>
> ><br>
> > Stop.<br>
> > dm05:/usr/local/nagios/libexec/nagios-plugins-1.3.0><br>
> ><br>
> > Any help would be appreciated.<br>
> ><br>
> > regards,<br>
> ><br>
> > Alwyn Cherrington<br>
> ><br>
><br>
><br>
> This private and confidential e-mail has been sent to you by Egg.<br>
> The Egg group of companies includes Egg Banking plc<br>
> (registered no. 2999842), Egg Financial Products Ltd (registered<br>
> no. 3319027) and Egg Investments Ltd (registered no. 3403963) which<br>
> carries out investment business on behalf of Egg and is regulated<br>
> by the Financial Services Authority.<br>
> Registered in England and Wales. Registered offices: 1 Waterhouse Square,<br>
> 138-142 Holborn, London EC1N 2NA.<br>
> If you are not the intended recipient of this e-mail and have<br>
> received it in error, please notify the sender by replying with<br>
> 'received in error' as the subject and then delete it from your<br>
> mailbox.<br>
><br>
><br>
><br>
><br>
> **********************************************************************<br>
> This email and any files transmitted with it are confidential and<br>
> intended solely for the use of the individual or entity to whom they<br>
> are addressed. If you have received this email in error please notify<br>
> the system manager.<br>
><br>
> This footnote also confirms that this email message has been swept<br>
> for the presence of computer viruses.<br>
><br>
> Please contact internet.administrators@notes.manchester.gov.uk<br>
> with any queries.<br>
><br>
><br>
><br>
></tt></font>
<br><font size=2><tt>> </tt></font>
<br>
<br>