nagios plugin configure:3377: error:
Tobias Exner
texner at eoipso.com
Thu Apr 16 16:14:48 CEST 2009
Dear list,
I've got a problem while compiling the nagios-plugins on a suse 10 box.
I already searched through the web, but I didn't any helpful information.
As I understood the compile needs the path
/usr/lib/gcc/i586-suse-linux/4.0.2/include
I don't know if that's right and how to fix it.
The path does really not exists.
Thanks in advance...
Here's my ./configure output:
mail:~/nagios-plugins-1.4.13 # pwd
/root/nagios-plugins-1.4.13
mail:~/nagios-plugins-1.4.13 # ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.
mail:~/nagios-plugins-1.4.13 #
And here's the interesting part out of the config.log:
mail:~/nagios-plugins-1.4.13 # more config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by nagios-plugins configure 1.4.13, which was
generated by GNU Autoconf 2.61. Invocation command line was
$ ./configure
## --------- ##
## Platform. ##
## --------- ##
hostname = mail
uname -m = i686
uname -r = 2.6.13-15.15-default
uname -s = Linux
uname -v = #1 Mon Feb 26 14:11:33 UTC 2007
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /sbin
PATH: /usr/sbin
PATH: /usr/local/sbin
PATH: /opt/gnome/sbin
PATH: /root/bin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /usr/X11R6/bin
PATH: /bin
PATH: /usr/games
PATH: /opt/gnome/bin
PATH: /opt/kde3/bin
PATH: /usr/lib/jvm/jre/bin
PATH: /usr/lib/mit/bin
PATH: /usr/lib/mit/sbin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2397: checking for a BSD-compatible install
configure:2453: result: /usr/bin/install -c
configure:2464: checking whether build environment is sane
configure:2507: result: yes
configure:2572: checking for gawk
configure:2588: found /usr/bin/gawk
configure:2599: result: gawk
configure:2610: checking whether make sets $(MAKE)
configure:2631: result: yes
configure:2823: checking build system type
configure:2841: result: i686-pc-linux-gnu
configure:2863: checking host system type
configure:2878: result: i686-pc-linux-gnu
configure:2984: checking for gcc
configure:3000: found /usr/bin/gcc
configure:3011: result: gcc
configure:3249: checking for C compiler version
configure:3256: gcc --version >&5
gcc (GCC) 4.0.2 20050901 (prerelease) (SUSE Linux)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:3259: $? = 0
configure:3266: gcc -v >&5
Using built-in specs.
Target: i586-suse-linux
Configured with: ../configure --enable-threads=posix --prefix=/usr
--with-local-pref
ix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man
--libdir=/usr/lib --
libexecdir=/usr/lib --enable-languages=c,c++,objc,f95,java,ada
--disable-checking --
with-gxx-include-dir=/usr/include/c++/4.0.2 --enable-java-awt=gtk
--disable-libjava-
multilib --with-slibdir=/lib --with-system-zlib --enable-shared
--enable-__cxa_atexi
t --without-system-libunwind --host=i586-suse-linux
Thread model: posix
gcc version 4.0.2 20050901 (prerelease) (SUSE Linux)
/usr/lib/gcc/i586-suse-linux/4.0.2/cc1 -E -quiet -v - -mtune=pentium
ignoring nonexistent directory "/usr/lib/gcc/i586-suse-linux/4.0.2/include"
#include "..." search starts here:
#include <...> search starts here:
/usr/local/include
/usr/lib/gcc/i586-suse-linux/4.0.2/../../../../i586-suse-linux/include
/usr/include
End of search list.
# 1 "<stdin>"
# 1 "<built-in>"
# 1 "<command line>"
# 1 "<stdin>"
configure:3269: $? = 0
configure:3276: gcc -V >&5
gcc: '-V' option must have argument
configure:3279: $? = 1
configure:3302: checking for C compiler default output file name
configure:3329: gcc conftest.c >&5
# 1 "conftest.c"
# 1 "<built-in>"
# 1 "<command line>"
# 1 "conftest.c"
# 11 "conftest.c"
int
main ()
{
;
return 0;
}
configure:3332: $? = 0
configure:3370: result:
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "nagios-plugins"
| #define PACKAGE_TARNAME "nagios-plugins"
| #define PACKAGE_VERSION "1.4.13"
| #define PACKAGE_STRING "nagios-plugins 1.4.13"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "nagios-plugins"
| #define VERSION "1.4.13"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3377: error: C compiler cannot create executables
See `config.log' for more details.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090416/29da5c4b/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list