Re: [Nagios-users] Error building check_swap en OpenIndiana
On Tue, Nov 29, 2011 at 12:49 AM, Daniel Bareiro daniel-lis...@gmx.netwrote: 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: I have not build on OpenIndiana but on Solaris I find using gmake is the only way forward. Not sure it will help with this issue but worth a try. Ritchie, -- -- http://23.me.uk/2 -- --Time flies like an arrow; fruit flies like a banana. -- --- /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 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAk7ULC8ACgkQZpa/GxTmHTflsACePTOQHqwVL2mR/uRpUJJILGO2 yNsAnirWmKKalQ0G4ZSZd2Xyb+I+nIgk =W0hF -END PGP SIGNATURE- -- 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@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 -- 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@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
Re: [Nagios-users] Error building check_swap en OpenIndiana
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.erics...@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@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
[Nagios-users] Error building check_swap en OpenIndiana
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 signature.asc Description: Digital signature -- 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@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