Plugins

Voon, Ton Ton.Voon at egg.com
Wed Sep 3 12:31:33 CEST 2003


The problem lines in config.log appear to be:

configure:2136: gcc conftest.c >&5
/usr/bin/ld: cannot open crt1.o: No such file or directory
collect2: ld returned 1 exit status
configure:2139: $? = 1
configure: failed program was:
| #line 2112 "configure"
| /* confdefs.h. */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "nagios-plugins"
| #define VERSION "1.3.1"
| /* end confdefs.h. */
| 
| int
| main ()
| {
| 
| ;
| return 0;
| }
configure:2178: error: C compiler cannot create executables

This suggests that gcc has a problem with crt1.o. Presumably you compiled
nagios okay. Can you compile anything else?

Ton


-----Original Message-----
From: Gabriele De Gregorio [mailto:Gabriele.DeGregorio at enterpriseda.com] 
Sent: Wednesday, September 03, 2003 11:07 AM
To: Voon, Ton
Subject: RE: [Nagios-users] Plugins


I have installed nagios 1.1 and plugins-kit is 1.30
This is the full configure output

./configure -prefix=/etc/nagios/ --with-nagios-user=nagiosadmin
-with-nagios-group=nagios -with-cgiurl=/usr/lib/cgi-bin/nagios/
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)... no
checking for a BSD-compatible install... /usr/bin/install -c
checking for gcc... gcc
checking for C compiler default output... configure: error: C compiler
cannot create executables
see 'config.log' for more details

I send you config.log too

Many thank's
Gabriele

-----Original Message-----
From: Voon, Ton [mailto:Ton.Voon at egg.com] 
Sent: mercoledì 3 settembre 2003 11.43
To: Gabriele De Gregorio; nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] Plugins

Gabriele,

Which release did you use? Can you post the full configure output and the
config.log.

My guess is that it is not finding gcc.

Ton
-----Original Message-----
From: Gabriele De Gregorio [mailto:Gabriele.DeGregorio at enterpriseda.com] 
Sent: Wednesday, September 03, 2003 9:35 AM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Plugins
Hi!
I need to install nagios plugins. I downloaded the tar from internet, I
extracted it but I couldn't install.
Configure indicates an error

"Checking for C compiler default output... configure: error: C compiler
cannot create executables"

I have already installed gcc and any other C compilers. 
What can I do now?
Without plugins, nagios doesn't monitor my network resources.

Thank's,
Gabriele


This private and confidential e-mail has been sent to you by Egg.
The Egg group of companies includes Egg Banking plc
(registered no. 2999842), Egg Financial Products Ltd (registered
no. 3319027) and Egg Investments Ltd (registered no. 3403963) which
carries out investment business on behalf of Egg and is regulated
by the Financial Services Authority. 
Registered in England and Wales. Registered offices: 1 Waterhouse Square,
138-142 Holborn, London EC1N 2NA.
If you are not the intended recipient of this e-mail and have
received it in error, please notify the sender by replying with
'received in error' as the subject and then delete it from your
mailbox.


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
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