Troubles compiling with C

Scott Bierma sbierma at grid4.com
Mon May 22 21:53:11 CEST 2006


Can anyone help us with installing Nagios?

 

At first glance it seems that there was no C compiler to build the program
install, but I double checked and the packages are there. When running the
configure script per the Installation Directions we get the following error:

 

[root at marge nagios]# ./configure --prefix=/usr/local/nagios

checking for a BSD-compatible install... /usr/bin/install -c

checking build system type... i686-pc-linux-gnu

checking host system type... i686-pc-linux-gnu

checking for gcc... no

checking for cc... no

checking for cc... no

checking for cl... no

configure: error: no acceptable C compiler found in $PATH

See `config.log' for more details.

 

Here is the config.log file:

 

This file contains any messages produced by compilers while

running configure, to aid debugging if configure makes a mistake.

 

It was created by configure, which was

generated by GNU Autoconf 2.59.  Invocation command line was

 

  $ ./configure --prefix=/usr/local/nagios

 

## --------- ##

## Platform. ##

## --------- ##

 

hostname = marge.grid4.com

uname -m = i686

uname -r = 2.4.21-40.ELsmp

uname -s = Linux

uname -v = #1 SMP Thu Feb 2 22:22:39 EST 2006

 

/usr/bin/uname -p = unknown

/bin/uname -X     = unknown

 

/bin/arch              = i686

/usr/bin/arch -k       = unknown

/usr/convex/getsysinfo = unknown

hostinfo               = unknown

/bin/machine           = unknown

/usr/bin/oslevel       = unknown

/bin/universe          = unknown

 

PATH: /usr/kerberos/sbin

PATH: /usr/kerberos/bin

PATH: /usr/local/sbin

PATH: /usr/local/bin

PATH: /sbin

PATH: /bin

PATH: /usr/sbin

PATH: /usr/bin

PATH: /usr/X11R6/bin

PATH: /root/bin

 

 

## ----------- ##

## Core tests. ##

## ----------- ##

 

configure:1356: checking for a BSD-compatible install

configure:1411: result: /usr/bin/install -c

configure:1430: checking build system type

configure:1448: result: i686-pc-linux-gnu

configure:1456: checking host system type

configure:1470: result: i686-pc-linux-gnu

configure:1525: checking for gcc

configure:1554: result: no

configure:1605: checking for cc

configure:1634: result: no

configure:1647: checking for cc

configure:1693: result: no

configure:1746: checking for cl

configure:1775: result: no

configure:1789: error: no acceptable C compiler found in $PATH

See `config.log' for more details.

 

## ---------------- ##

## Cache variables. ##

## ---------------- ##

 

ac_cv_build=i686-pc-linux-gnu

ac_cv_build_alias=i686-pc-linux-gnu

ac_cv_env_CC_set=

ac_cv_env_CC_value=

ac_cv_env_CFLAGS_set=

ac_cv_env_CFLAGS_value=

ac_cv_env_CPPFLAGS_set=

ac_cv_env_CPPFLAGS_value=

ac_cv_env_CPP_set=

ac_cv_env_CPP_value=

ac_cv_env_LDFLAGS_set=

ac_cv_env_LDFLAGS_value=

ac_cv_env_build_alias_set=

ac_cv_env_build_alias_value=

ac_cv_env_host_alias_set=

ac_cv_env_host_alias_value=

ac_cv_env_target_alias_set=

ac_cv_env_target_alias_value=

ac_cv_host=i686-pc-linux-gnu

ac_cv_host_alias=i686-pc-linux-gnu

ac_cv_path_install='/usr/bin/install -c'

 

## ----------------- ##

## Output variables. ##

## ----------------- ##

 

BASEEXTRALIBS=''

BROKERLIBS=''

BROKER_H=''

BROKER_LDFLAGS=''

BROKER_O=''

CC=''

CFLAGS=''

CGIEXTRAS=''

COMMAND_OPTS=''

CPP=''

CPPFLAGS=''

DEFS=''

ECHO_C=''

ECHO_N='-n'

ECHO_T=''

EGREP=''

EXEEXT=''

GDLIBS=''

INITDIR=''

INSTALL='/usr/bin/install -c'

INSTALLPERLSTUFF=''

INSTALL_DAINSTALL_OPTS=''

INSTALL_PROGRAM='${INSTALL}'

INSTALL_SCRIPT='${INSTALL}'

LDFLAGS=''

LIBOBJS=''

LIBS=''

LTLIBOBJS=''

MAIL_PROG=''

MOD_CFLAGS=''

MOD_LDFLAGS=''

OBJEXT=''

PACKAGE_BUGREPORT=''

PACKAGE_NAME=''

PACKAGE_STRING=''

PACKAGE_TARNAME=''

PACKAGE_VERSION=''

PACKDIR=''

PATH_SEPARATOR=':'

PATH_TO_TRACEROUTE=''

PERL=''

PERLDIR=''

PERLLIBS=''

PERLXSI_O=''

SET_MAKE=''

SHELL='/bin/sh'

SNPRINTF_O=''

SOCKETLIBS=''

STRIP=''

THREADLIBS=''

VERSION=''

XCDC=''

XCDH=''

XDDC=''

XDDH=''

XODC=''

XODH=''

XPDC=''

XPDH=''

XRDC=''

XRDH=''

XSDC=''

XSDH=''

ac_ct_CC=''

bindir='${exec_prefix}/bin'

build='i686-pc-linux-gnu'

build_alias=''

build_cpu='i686'

build_os='linux-gnu'

build_vendor='pc'

cgiurl=''

command_grp=''

command_user=''

datadir='${prefix}/share'

exec_prefix='NONE'

host='i686-pc-linux-gnu'

host_alias=''

host_cpu='i686'TA='${INSTALL} -m 644'

host_os='linux-gnu'

host_vendor='pc'

htmurl=''

includedir='${prefix}/include'

infodir='${prefix}/info'

init_dir=''

libdir='${exec_prefix}/lib'

libexecdir='${exec_prefix}/libexec'

localstatedir='${prefix}/var'

lockfile=''

mandir='${prefix}/man'

nagios_grp=''

nagios_name=''

nagios_user=''

nagiostats_name=''

oldincludedir='/usr/include'

prefix='/usr/local/nagios'

program_transform_name='s,x,x,'

sbindir='${exec_prefix}/sbin'

sharedstatedir='${prefix}/com'

sysconfdir='${prefix}/etc'

target_alias=''

 

## ----------- ##

## confdefs.h. ##

## ----------- ##

 

#define PACKAGE_BUGREPORT ""

#define PACKAGE_NAME ""

#define PACKAGE_STRING ""

#define PACKAGE_TARNAME ""

#define PACKAGE_VERSION ""

 

configure: exit 1

 

 

Scott Bierma

SoftSwitch Technician

(248)244-8100 ext 306

sbierma at grid4.com



VOICE │ INTERNET │ PRIVATE DATA │ MANAGED SOLUTIONS

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20060522/7133d0f5/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 3739 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20060522/7133d0f5/attachment.jpg>


More information about the Users mailing list