Error building check_swap en OpenIndiana

Daniel Bareiro daniel-listas at gmx.net
Tue Nov 29 01:49:51 CET 2011


Hi all!

I'm trying to compile Nagios plugins (nagios-plugins-1.4.15.tar.gz) on
OpenIndiana (build 151a), but the compilation does not generate the
check_swap plugin.

When I do a "make config", I get the error shown below in the
config.log:


-----------------------------------------------------------------------
/usr/include/sys/swap.h:51:2: #error "Cannot use swapctl in the large files compilation environment"
configure:20249: checking whether swapctl is declared
/usr/include/sys/swap.h:51:2: #error "Cannot use swapctl in the large files compilation environment"
| #ifndef swapctl
|   (void) swapctl;
/usr/include/sys/swap.h:51:2: #error "Cannot use swapctl in the large files compilation environment"
/usr/include/sys/swap.h:51:2: #error "Cannot use swapctl in the large files compilation environment"
/usr/include/sys/swap.h:51:2: #error "Cannot use swapctl in the large files compilation environment"
/usr/include/sys/swap.h:51:2: #error "Cannot use swapctl in the large files compilation environment"
ac_cv_have_decl_swapctl=no
-----------------------------------------------------------------------

I get the same result with nagios-plugins-HEAD.tar.gz.

Has anyone experienced this error and was able to resolve in any way?


Thanks in advance.

Regards,
Daniel
-- 
Fingerprint: BFB3 08D6 B4D1 31B2 72B9  29CE 6696 BF1B 14E6 1D37
Powered by Debian GNU/Linux Lenny - Linux user #188.598
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <https://www.monitoring-lists.org/archive/users/attachments/20111128/4493a49c/attachment.sig>
-------------- next part --------------
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
-------------- 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