Using CentOS 6.2 (minimal)
Nagios-3.4.1.tar.gz
Running:
./configure --sysconfdir=/etc/nagios --localstatedir=/var/nagios
--with-command-group=nagcmd --enable-embedded-perl
...
*** Configuration summary for nagios 3.4.1 05-11-2012 ***:
General Options:
-------------------------
Nagios executable: nagios
Nagios user/group: nagios,nagios
Command user/group: nagios,nagcmd
Embedded Perl: yes, with caching
Event Broker: yes
Install ${prefix}: /usr/local/nagios
Lock file: /var/nagios/nagios.lock
Check result directory: /var/nagios/spool/checkresults
Init directory: /etc/rc.d/init.d
Apache conf.d directory: /etc/httpd/conf.d
Mail program: /bin/mail
Host OS: linux-gnu
Web Interface Options:
------------------------
HTML URL: http://localhost/nagios/
CGI URL: http://localhost/nagios/cgi-bin/
Traceroute (used by WAP):
Review the options above for accuracy. If they look okay,
type 'make all' to compile the main program and CGIs.
make all
cd ./base && make
make[1]: Entering directory `/usr/local/src/nagios/base'
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o checks.o checks.c
In file included from checks.c:41:
../include/epn_nagios.h:11:20: error: EXTERN.h: No such file or directory
../include/epn_nagios.h:12:18: error: perl.h: No such file or directory
( Inserting locate results:
[root@sonar nagios]# locate EXTERN.h perl.h
/usr/lib64/perl5/CORE/EXTERN.h
/usr/lib64/perl5/CORE/perl.h
)
In file included from checks.c:41:
../include/epn_nagios.h:31: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or
Œ__attribute__¹ before Œvoid¹
checks.c: In function Œrun_async_service_check¹:
checks.c:355: error: ŒSV¹ undeclared (first use in this function)
checks.c:355: error: (Each undeclared identifier is reported only once
checks.c:355: error: for each function it appears in.)
checks.c:355: error: Œplugin_hndlr_cr¹ undeclared (first use in this
function)
checks.c:361: error: ŒdSP¹ undeclared (first use in this function)
checks.c:557: error: ŒENTER¹ undeclared (first use in this function)
checks.c:558: error: ŒSAVETMPS¹ undeclared (first use in this function)
checks.c:559: warning: implicit declaration of function ŒPUSHMARK¹
checks.c:559: error: ŒSP¹ undeclared (first use in this function)
checks.c:560: warning: implicit declaration of function ŒXPUSHs¹
checks.c:560: warning: implicit declaration of function Œsv_2mortal¹
checks.c:560: warning: implicit declaration of function ŒnewSVpv¹
checks.c:564: error: ŒPUTBACK¹ undeclared (first use in this function)
checks.c:568: warning: implicit declaration of function Œcall_pv¹
checks.c:568: error: ŒG_SCALAR¹ undeclared (first use in this function)
checks.c:568: error: ŒG_EVAL¹ undeclared (first use in this function)
checks.c:570: error: ŒSPAGAIN¹ undeclared (first use in this function)
checks.c:572: warning: implicit declaration of function ŒSvTRUE¹
checks.c:572: error: ŒERRSV¹ undeclared (first use in this function)
checks.c:581: error: ŒPOPs¹ undeclared (first use in this function)
checks.c:584: warning: implicit declaration of function ŒSvPVX¹
checks.c:629: warning: implicit declaration of function ŒnewSVsv¹
checks.c:634: error: ŒFREETMPS¹ undeclared (first use in this function)
checks.c:635: error: ŒLEAVE¹ undeclared (first use in this function)
checks.c:713: error: ŒG_ARRAY¹ undeclared (first use in this function)
checks.c:717: error: ŒPOPpx¹ undeclared (first use in this function)
checks.c:718: error: ŒPOPi¹ undeclared (first use in this function)
make[1]: *** [checks.o] Error 1
make[1]: Leaving directory `/usr/local/src/nagios/base'
make: *** [all] Error 2
[root@sonar nagios]#
Does anyone know what I might do to fix this? I haven't turned up anything
in google
All help is appreciated.
-= Bruce
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Nagios-users mailing list
[email protected]
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