[Nagios-users] Nagios plugins 1.4.11 compilation error: Linux Debian 2.6.22-14-sparc64

2008-03-19 Thread Ilya Meylikhov
Hello everybody.

My system is Linux Debian 2.6.22-14-sparc64.

I've downloaded the latest nagios plugins (1.4.11) and got an error on
./configure

 

configure: error: C compiler cannot create executables

See `config.log' for more details.

 

Config.log:

 

:.

configure:3039: $? = 0

configure:3046: gcc -v 5

Using built-in specs.

Target: sparc-linux-gnu

Configured with: ../src/configure -v
--enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr
--enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--with-gxx-include-dir=/usr/include/c++/4.1.3 --program-suffix=-4.1
--enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug
--enable-mpfr --with-cpu=v8 --with-long-double-128 --enable-checking=release
sparc-linux-gnu

Thread model: posix

gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)

configure:3049: $? = 0

configure:3056: gcc -V 5

gcc: '-V' option must have argument

configure:3059: $? = 1

configure:3082: checking for C compiler default output file name

configure:3109: gccconftest.c  5

/usr/bin/ld: crt1.o: No such file: No such file or directory

collect2: ld returned 1 exit status

configure:3112: $? = 1

configure:3150: result:

configure: failed program was:

| /* confdefs.h.  */

| #define PACKAGE_NAME nagios-plugins

| #define PACKAGE_TARNAME nagios-plugins

| #define PACKAGE_VERSION 1.4.11

| #define PACKAGE_STRING nagios-plugins 1.4.11

| #define PACKAGE_BUGREPORT 

| #define PACKAGE nagios-plugins

| #define VERSION 1.4.11

| /* end confdefs.h.  */

|

| int

| main ()

| {

|

|   ;

|   return 0;

| }

configure:3157: error: C compiler cannot create executables

See `config.log' for more details.

::

Can anyone please assist me in troubleshooting?

 

Faithfully yours,

Ilya.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] Nagios plugins 1.4.11 compilation error: Linux Debian 2.6.22-14-sparc64

2008-03-19 Thread Aaron M. Segura
On Wed, 2008-03-19 at 17:50 +0300, Ilya Meylikhov wrote:
 Hello everybody.
 
 My system is Linux Debian 2.6.22-14-sparc64.
 
 I’ve downloaded the latest nagios plugins (1.4.11) and got an error
 on ./configure
 
  
 
 configure: error: C compiler cannot create executables
 

That's more of an OS-level problem than a nagios-related problem.  There
are tons of google search results that will probably help you solve it,
though:

http://www.google.com/search?q=C+compiler+cannot+create+executables

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Nagios-users mailing list
Nagios-users@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