Pessoas, estou tentando instalar o "Nagios 2.0b4" em um OpenBSD 3.7 e estou com 
o seguitne problema na hora de compilar:

Detalhe: Open já atualizado, com os patches aplicados e em versão "stable".


./configure --sysconfdir=/etc/nagios/

_______________________________________________

bash-3.00# make all
cd ./base && make
gcc -g -O2 -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE  -c broker.c
In file included from ../include/config.h:114,
                 from broker.c:26:
/usr/include/sys/resource.h:56: error: field `ru_utime' has incomplete type
/usr/include/sys/resource.h:57: error: field `ru_stime' has incomplete type
*** Error code 1

Stop in /usr/src/instalacao/nagios/nagios-2.0b4/base.
*** Error code 1

Stop in /usr/src/instalacao/nagios/nagios-2.0b4 (line 58 of Makefile).

_____________________________________

Com o gmake:

bash-3.00# gmake all
cd ./base && gmake
gmake[1]: Entering directory `/usr/src/instalacao/nagios/nagios-2.0b4/base'
gcc -g -O2 -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE   -c -o broker.o 
broker.c
In file included from ../include/config.h:114,
                 from broker.c:26:
/usr/include/sys/resource.h:56: error: field `ru_utime' has incomplete type
/usr/include/sys/resource.h:57: error: field `ru_stime' has incomplete type
gmake[1]: *** [broker.o] Error 1
gmake[1]: Leaving directory `/usr/src/instalacao/nagios/nagios-2.0b4/base'
gmake: *** [all] Error 2
_______________________________________________
Freebsd mailing list
Freebsd@fug.com.br
http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br

Responder a