Red Hat compilation problem

luiz at pucrs.br luiz at pucrs.br
Thu Dec 19 14:07:26 CET 2002


Dear Sir

I´m trying to install nagios 1.0 (stable) in one Red Hat server (version 
7.3) and occurs the following error:

# ./configure
# make all
cd ./base && make
make[1]: Entering directory `/home/nagios/nagios-1.0/base'
gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE   -c -o checks.o checks.c
gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE   -c -o config.o config.c
gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE   -c -o commands.o commands.c
gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE   -c -o flapping.o flapping.c
gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE   -c -o logging.o logging.c
gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE   -c -o notifications.o 
notifications.c
gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE   -c -o sehandlers.o sehandlers.c
gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE   -c -o utils.o utils.c
gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE   -c -o sretention.o sretention.c
gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE   -c -o perfdata.o perfdata.c
gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE  nagios.c checks.o config.o commands.o 
flapping.o logging.o notifications.o sehandlers.o utils.o sretention.o 
../xdata/xrddefault.c ../common/comments.c ../xdata/xcddefault.c 
../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c 
../xdata/xsddefault.c perfdata.o ../xdata/xpddefault.c 
../common/downtime.c ../xdata/xdddefault.c    -lm -o nagios
make[1]: Leaving directory `/home/nagios/nagios-1.0/base'
cd ./cgi && make
make[1]: Entering directory `/home/nagios/nagios-1.0/cgi'
gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI   -c -o getcgi.o getcgi.c
gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI   -c -o cgiutils.o cgiutils.c
gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI   -c -o auth.o auth.c
gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI   -c -o popen.o popen.c
gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI  avail.c getcgi.o cgiutils.o auth.o 
popen.o  ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c 
../xdata/xsddefault.c -o avail.cgi
../xdata/xodtemplate.c: In function `xodtemplate_duplicate_objects':
../xdata/xodtemplate.c:3185: Internal error: Segmentation fault.
Please submit a full bug report.
See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions.
make[1]: *** [avail.cgi] Error 1
make[1]: Leaving directory `/home/nagios/nagios-1.0/cgi'
make: *** [all] Error 2

Apparently, there are problems with the gcc, but seems very strange to me. 
I couldn´t find anything about it in the docs of nagios and Red Hat. 
Anyone has any idea to help me?
Thanks (a lot) in advance

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
            Administraçao da Rede
                FACIN / PUCRS
     Fone: +55 51 3320-3558 r. 4184
     Fax  : +55 51 3320-3758
      Av. Ipiranga, 6681 - 90619.900
              Prédio 30 - Sala 145
           Porto Alegre - RS - Brasil
_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20021219/becd211a/attachment.html>


More information about the Users mailing list