Nagios installation problems on RHEL 4 x86-64

Jozsef Horvath horvathjozsef at gmail.com
Tue Apr 3 12:42:25 CEST 2007


Hi Sebastian,

Thanks for the link.
I will try to solve my problem from here...but it seems to be the problem is
rather around the os level.
It is the base RHEL 4 installation and does not contain any Update.

Thanks,
Jozsef

On 02/04/07, Sebastian Schubert <basti-lists at sskm.de> wrote:
>
>  hi jozsef,
>
> try the rpm's from dag. they work perfectly.
>
> http://dag.wieers.com/rpm/packages/nagios/
>
> On Mon, 2007-04-02 at 17:06 +0100, Jozsef Horvath wrote:
>
> Hi,
> have been trying to install nagios to RHEL x86-64 arch.have installed: gd, gd-devel, jpeg,jpeg-devel, zlib, png, png-develand gcc as well.
> Issuing the configure command got the following error:./configure -with-gd-lib=/usr/lib --with-gd-inc=/usr/include
> checking for a BSD-compatible install... /usr/bin/install -cchecking build system type... x86_64-unknown-linux-gnuchecking host system type... x86_64-unknown-linux-gnuchecking for gcc... gccchecking for C compiler default output file name... configure: error:C compiler cannot create executablesSee `config.log' for more details.
> in the config.log:This file contains any messages produced by compilers whilerunning configure, to aid debugging if configure makes a mistake.
> It was created by configure, which wasgenerated by GNU Autoconf 2.59.  Invocation command line was
>   $ ./configure -with-gd-lib=/usr/lib --with-gd-inc=/usr/include
> ## --------- #### Platform. #### --------- ##
> hostname = acetest05.ace.arts.org.ukuname -m = x86_64uname -r = 2.6.9-5.ELuname -s = Linuxuname -v = #1 Wed Jan 5 19:21:57 EST 2005
> /usr/bin/uname -p = unknown/bin/uname -X     = unknown
> /bin/arch              = x86_64/usr/bin/arch -k       = unknown/usr/convex/getsysinfo = unknownhostinfo               = unknown/bin/machine           = unknown/usr/bin/oslevel       = unknown/bin/universe          = unknown
> PATH: /usr/kerberos/sbinPATH: /usr/kerberos/binPATH: /usr/local/sbinPATH: /usr/local/binPATH: /sbinPATH: /binPATH: /usr/sbinPATH: /usr/binPATH: /usr/X11R6/binPATH: /root/bin
>
> ## ----------- #### Core tests. #### ----------- ##
> configure:1356: checking for a BSD-compatible installconfigure:1411: result: /usr/bin/install -cconfigure:1430: checking build system typeconfigure:1448: result: x86_64-unknown-linux-gnuconfigure:1456: checking host system typeconfigure:1470: result: x86_64-unknown-linux-gnuconfigure:1525: checking for gccconfigure:1541: found /usr/bin/gccconfigure:1551: result: gccconfigure:1795: checking for C compiler versionconfigure:1798: gcc --version </dev/null >&5gcc (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-47.3)Copyright (C) 2002 Free Software Foundation, Inc.This is free software; see the source for copying conditions.  There is NOwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> configure:1801: $? = 0configure:1803: gcc -v </dev/null >&5Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/specsConfigured with: ../configure --prefix=/usr --mandir=/usr/share/man--infodir=/usr/share/info --enable-shared --enable-threads=posix--disable-checking --with-system-zlib --enable-__cxa_atexit--enable-languages=c,c++ --disable-libgcj --host=i386-redhat-linuxThread model: posixgcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-47.3)configure:1806: $? = 0configure:1808: gcc -V </dev/null >&5gcc: argument to `-V' is missingconfigure:1811: $? = 1configure:1834: checking for C compiler default output file nameconfigure:1837: gcc    conftest.c  >&5/tmp/ccpD01fN.s: Assembler messages:/tmp/ccpD01fN.s:6: Error: suffix or operands invalid for `push'configure:1840: $? = 1
> my gcc version is 3.2.3
> Has anybody met such error before? Any idea?
> Thanks in advance,Jozsef
> -------------------------------------------------------------------------Take Surveys. Earn Cash. Influence the Future of ITJoin SourceForge.net's Techsay panel and you'll get the chance to share youropinions on IT & business topics through brief surveys-and earn cashhttp://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV_______________________________________________Nagios-users mailing listNagios-users at lists.sourceforge.nethttps://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
>
>   --
> "In god we trust, the Rest we Monitor"
> Sebastian Schubert - RHCE
> Stadtsparkasse Munich
> Network and IT Security
> --------------------------
> basti-lists at sskm.de
>
> Stadtsparkasse München | Anstalt des öffentlichen Rechts | Amtsgericht München I HRA 75459 | Sparkassenstr. 2, 80331 München
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20070403/f9ccef1e/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
-------------- next part --------------
_______________________________________________
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