Error building check_swap en OpenIndiana
Andreas Ericsson
ae at op5.se
Tue Nov 29 11:50:10 CET 2011
On 11/29/2011 01:49 AM, Daniel Bareiro wrote:
>
> 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?
>
You may very well be the first to try to compile the nagios plugins on
openindiana. Since it works properly on Solaris (which doesn't have the
same constraints on the swapctl() call, obviously), you'll have to take
it up with either openindiana or (more likely), the illumos devs.
--
Andreas Ericsson andreas.ericsson at op5.se
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231
Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.
------------------------------------------------------------------------------
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
_______________________________________________
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