monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [monit] Configuration error


From: George
Subject: Re: [monit] Configuration error
Date: Sun, 15 Nov 2009 13:44:08 +0300

HI Martin,

This is not actually RH but Fedora x64. Now which header files do i specifically need? Is it the gcc_devel or others?

Regards
George

On Sat, 2009-11-14 at 12:29 +0100, Martin Pala wrote:
Hi George,


the test fails, because the configure script include limits.h header file.


On Redhat you'll need to install kernel-headers package to fix.


Regards,
Martin



On Nov 14, 2009, at 10:51 AM, George wrote:

Hi

Attached is the conf.log

Here is the output:

# cpp --version
cpp (GCC) 4.1.2 20070925 (Red Hat 4.1.2-33)
Copyright (C) 2006 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.

Regards
George


On Thu, 2009-11-12 at 20:49 +0100, Martin Pala wrote:
Hi,

according to error message, it seems that sanity check of C preprocessor 
failed. The attached part of config.log doesn't contain much 
informations - does the /lib/cpp exist? If yes, can you attach whole 
config.log and output of following?:

   cpp --version


Regards,
Martin


George wrote:
> Hi Guys,
> 
> I'm getting the below error while configuring monit on linux Fedora 8, 
> 64 bit , what could be the issue?
> 
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ISO C89... unsupported
> checking how to run the C preprocessor... /lib/cpp
> configure: error: C preprocessor "/lib/cpp" fails sanity check
> See `config.log' for more details.
> 
> 
> This is part of the output of config.log
> 
> ## ----------------- ##
> ## Output variables. ##
> ## ----------------- ##
> 
> ARCH=''
> CC='gcc'
> CFLAGS='-g -O2'
> CPP='/lib/cpp'
> CPPFLAGS=''
> DEFS=''
> ECHO_C=''
> ECHO_N='-n'
> ECHO_T=''
> EGREP=''
> EXEEXT=''
> EXTERNALS=''
> GETLOADAVG_LIBS=''
> GREP=''
> INSTALL_DATA=''
> INSTALL_PROGRAM=''
> INSTALL_SCRIPT=''
> KMEM_GROUP=''
> LDFLAGS=''
> LEX=''
> LEXLIB=''
> LEX_OUTPUT_ROOT=''
> LIBOBJS=''
> LIBS=''
> LTLIBOBJS=''
> NEED_SETGID=''
> OBJEXT='o'
> PACKAGE_BUGREPORT='address@hidden 
> <mailto:'address@hidden>'
> PACKAGE_NAME='monit'
> PACKAGE_STRING='monit 5.0.1'
> PACKAGE_TARNAME='monit'
> PACKAGE_VERSION='5.0.1'
> PATH_SEPARATOR=':'
> PROCARCH=''
> SET_MAKE=''
> SHELL='/bin/sh'
> YACC=''
> ac_ct_CC='gcc'
> bindir='${exec_prefix}/bin'
> build_alias=''
> datadir='${datarootdir}'
> datarootdir='${prefix}/share'
> docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
> dvidir='${docdir}'
> exec_prefix='NONE'
> host_alias=''
> htmldir='${docdir}'
> includedir='${prefix}/include'
> infodir='${datarootdir}/info'
> libdir='${exec_prefix}/lib'
> libexecdir='${exec_prefix}/libexec'
> localedir='${datarootdir}/locale'
> localstatedir='${prefix}/var'
> mandir='${datarootdir}/man'
> oldincludedir='/usr/include'
> pdfdir='${docdir}'
> prefix='NONE'
> program_transform_name='s,x,x,'
> psdir='${docdir}'
> sbindir='${exec_prefix}/sbin'
> sharedstatedir='${prefix}/com'
> sslincldir=''
> ssllibdir=''
> sysconfdir='${prefix}/etc'
> target_alias=''
> 
> ## ----------- ##
> ## confdefs.h. ##
> ## ----------- ##
> 
> #define PACKAGE_NAME "monit"
> #define PACKAGE_TARNAME "monit"
> #define PACKAGE_VERSION "5.0.1"
> #define PACKAGE_STRING "monit 5.0.1"
> #define PACKAGE_BUGREPORT "address@hidden 
> <mailto:address@hidden>"
> 
> configure: exit 1
> 
> 
> Regards
> George
> 
> 
> ------------------------------------------------------------------------
> 
> --
> To unsubscribe:
> http://lists.nongnu.org/mailman/listinfo/monit-general


--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general
<config.log>--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general


--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general

reply via email to

[Prev in Thread] Current Thread [Next in Thread]