[Nagiosplug-help] Plugin Support
Thomas Guyot-Sionnest
dermoth at aei.ca
Thu Jan 4 05:02:00 CET 2007
On 03/01/07 10:31 AM, Dave Foster wrote:
> Hi I have been following the docs carefully but am now at an obstacle, I
> have installed Nagios on a 32 bit red hat 4 server.
>
> After running configure in the plugins install version 1.4.5 I got
> complaints regarding user and groups as being deprecated I removed these
> arguments configure completed ok but I now get a problem with make
>
> Running make as root there is an error with mysql screen output pasted below
>
> [...]
>
> if gcc -DLOCALEDIR=\"/usr/local/nagios/nagios-2.5/libexec/share/locale\"
> -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../intl
> -I/usr/include/ldap -I/usr/include -I/usr/include/mysql
> -I/usr/include/mysql -g -pipe -m32 -march=i386 -mtune=pentium4
> -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
> -fno-strict-aliasing -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; \
>
> 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
>
> *cc1: invalid option `tune=pentium4'*
>
> *make[2]: *** [check_mysql-check_mysql.o] Error 1*
>
> make[2]: Leaving directory `/usr/local/nagios/nagios-plugins-1.4.5/plugins'
>
> make[1]: *** [all-recursive] Error 1
>
> make[1]: Leaving directory `/usr/local/nagios/nagios-plugins-1.4.5'
>
> make: *** [all] Error 2
>
> [root at oramgr1 nagios-plugins-1.4.5]#
>
>
>
> Any Help greatly appreciated
Which version of GCC are you using? can you send the output of:
# gcc -v
Thanks,
Thomas
More information about the Help
mailing list