<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
Dear list,<br>
<br>
I've got a problem while compiling the nagios-plugins on a suse 10 box.<br>
<br>
I already searched through the web, but I didn't any helpful
information.<br>
As I understood the compile needs the path <font color="#330033">/usr/lib/gcc/i586-suse-linux/4.0.2/include<br>
I don't know if that's right and how to fix it.<br>
<br>
The path does really not exists.<br>
<br>
Thanks in advance...<br>
</font><br>
Here's my ./configure output:<br>
<br>
<font color="blue">mail:~/nagios-plugins-1.4.13 # pwd<br>
/root/nagios-plugins-1.4.13<br>
mail:~/nagios-plugins-1.4.13 # ./configure<br>
checking for a BSD-compatible install... /usr/bin/install -c<br>
checking whether build environment is sane... yes<br>
checking for gawk... gawk<br>
checking whether make sets $(MAKE)... yes<br>
checking build system type... i686-pc-linux-gnu<br>
checking host system type... i686-pc-linux-gnu<br>
checking for gcc... gcc<br>
checking for C compiler default output file name... <br>
configure: error: C compiler cannot create executables<br>
See `config.log' for more details.<br>
mail:~/nagios-plugins-1.4.13 # <br>
<br>
<br>
<font color="#000000">And here's the interesting part out of the
config.log:</font><br>
<br>
<br>
<br>
mail:~/nagios-plugins-1.4.13 # more config.log<br>
This file contains any messages produced by compilers while<br>
running configure, to aid debugging if configure makes a mistake.<br>
<br>
It was created by nagios-plugins configure 1.4.13, which was<br>
generated by GNU Autoconf 2.61. Invocation command line was<br>
<br>
$ ./configure <br>
<br>
## --------- ##<br>
## Platform. ##<br>
## --------- ##<br>
<br>
hostname = mail<br>
uname -m = i686<br>
uname -r = 2.6.13-15.15-default<br>
uname -s = Linux<br>
uname -v = #1 Mon Feb 26 14:11:33 UTC 2007<br>
<br>
/usr/bin/uname -p = unknown<br>
/bin/uname -X = unknown<br>
<br>
/bin/arch = i686<br>
/usr/bin/arch -k = unknown<br>
/usr/convex/getsysinfo = unknown<br>
/usr/bin/hostinfo = unknown<br>
/bin/machine = unknown<br>
/usr/bin/oslevel = unknown<br>
/bin/universe = unknown<br>
<br>
PATH: /sbin<br>
PATH: /usr/sbin<br>
PATH: /usr/local/sbin<br>
PATH: /opt/gnome/sbin<br>
PATH: /root/bin<br>
PATH: /usr/local/bin<br>
PATH: /usr/bin<br>
PATH: /usr/X11R6/bin<br>
PATH: /bin<br>
PATH: /usr/games<br>
PATH: /opt/gnome/bin<br>
PATH: /opt/kde3/bin<br>
PATH: /usr/lib/jvm/jre/bin<br>
PATH: /usr/lib/mit/bin<br>
PATH: /usr/lib/mit/sbin<br>
<br>
<br>
## ----------- ##<br>
## Core tests. ##<br>
## ----------- ##<br>
<br>
configure:2397: checking for a BSD-compatible install<br>
configure:2453: result: /usr/bin/install -c<br>
configure:2464: checking whether build environment is sane<br>
configure:2507: result: yes<br>
configure:2572: checking for gawk<br>
configure:2588: found /usr/bin/gawk<br>
configure:2599: result: gawk<br>
configure:2610: checking whether make sets $(MAKE)<br>
configure:2631: result: yes<br>
configure:2823: checking build system type<br>
configure:2841: result: i686-pc-linux-gnu<br>
configure:2863: checking host system type<br>
configure:2878: result: i686-pc-linux-gnu<br>
configure:2984: checking for gcc<br>
configure:3000: found /usr/bin/gcc<br>
configure:3011: result: gcc<br>
configure:3249: checking for C compiler version<br>
configure:3256: gcc --version >&5<br>
gcc (GCC) 4.0.2 20050901 (prerelease) (SUSE Linux)<br>
Copyright (C) 2005 Free Software Foundation, Inc.<br>
This is free software; see the source for copying conditions. There is
NO<br>
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.<br>
<br>
configure:3259: $? = 0<br>
configure:3266: gcc -v >&5<br>
Using built-in specs.<br>
Target: i586-suse-linux<br>
Configured with: ../configure --enable-threads=posix --prefix=/usr
--with-local-pref<br>
ix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man
--libdir=/usr/lib --<br>
libexecdir=/usr/lib --enable-languages=c,c++,objc,f95,java,ada
--disable-checking --<br>
with-gxx-include-dir=/usr/include/c++/4.0.2 --enable-java-awt=gtk
--disable-libjava-<br>
multilib --with-slibdir=/lib --with-system-zlib --enable-shared
--enable-__cxa_atexi<br>
t --without-system-libunwind --host=i586-suse-linux<br>
Thread model: posix<br>
gcc version 4.0.2 20050901 (prerelease) (SUSE Linux)<br>
/usr/lib/gcc/i586-suse-linux/4.0.2/cc1 -E -quiet -v - -mtune=pentium<br>
ignoring nonexistent directory
"/usr/lib/gcc/i586-suse-linux/4.0.2/include"<br>
#include "..." search starts here:<br>
#include <...> search starts here:<br>
/usr/local/include<br>
/usr/lib/gcc/i586-suse-linux/4.0.2/../../../../i586-suse-linux/include<br>
/usr/include<br>
End of search list.<br>
# 1 "<stdin>"<br>
# 1 "<built-in>"<br>
# 1 "<command line>"<br>
# 1 "<stdin>"<br>
configure:3269: $? = 0<br>
configure:3276: gcc -V >&5<br>
gcc: '-V' option must have argument<br>
configure:3279: $? = 1<br>
configure:3302: checking for C compiler default output file name<br>
configure:3329: gcc conftest.c >&5<br>
# 1 "conftest.c"<br>
# 1 "<built-in>"<br>
# 1 "<command line>"<br>
# 1 "conftest.c"<br>
# 11 "conftest.c"<br>
int<br>
main ()<br>
{<br>
<br>
;<br>
return 0;<br>
}<br>
configure:3332: $? = 0<br>
configure:3370: result: <br>
configure: failed program was:<br>
| /* confdefs.h. */<br>
| #define PACKAGE_NAME "nagios-plugins"<br>
| #define PACKAGE_TARNAME "nagios-plugins"<br>
| #define PACKAGE_VERSION "1.4.13"<br>
| #define PACKAGE_STRING "nagios-plugins 1.4.13"<br>
| #define PACKAGE_BUGREPORT ""<br>
| #define PACKAGE "nagios-plugins"<br>
| #define VERSION "1.4.13"<br>
| /* end confdefs.h. */<br>
| <br>
| int<br>
| main ()<br>
| {<br>
| <br>
| ;<br>
| return 0;<br>
| }<br>
configure:3377: error: C compiler cannot create executables<br>
See `config.log' for more details.<br>
<br>
<br>
</font><br>
</body>
</html>