nagios-plugin unable to compile

Andreas Ericsson ae at op5.se
Mon Sep 10 14:13:14 CEST 2007


RaJESH KANNA wrote:
>   
> Hi,
> 
>    I am unable to compile nagios-plugin on a solaris machine. Has someone come across this error. Kinldy help. 
> 
> Note : i tried disable-ssl,disable-mysql etc.
> 
> nagios plugin version : 1.4.9 
> 
> OS : solaris 10
> 
> 
>  #./configure works 
> 
>  #make ( throws below mentioned error)
> 
>     *=* | --[!k]*);; \
>     *k*) failcom='fail=yes';; \
>   esac; \
> done; \
> dot_seen=no; \
> target=`echo all-recursive | sed s/-recursive//`; \
> list='gl lib plugins plugins-scripts plugins-root po'; for subdir in $list; do \
>   echo "Making $target in $subdir"; \
>   if test "$subdir" = "."; then \
>     dot_seen=yes; \
>     local_target="$target-am"; \
>   else \
>     local_target="$target"; \
>   fi; \
>   (cd $subdir && make  $local_target) \
>   || eval $failcom; \
> done; \
> if test "$dot_seen" = "no"; then \
>   make  "$target-am" || exit 1; \
> fi; test -z "$fail"
> make: Fatal error: Command failed for target `all-recursive'
> Current working directory /usr/local/nagios/nagios-plugins-1.4.9
> *** Error code 1
> make: Fatal error: Command failed for target `all'
> 

This is a result of the nagiosplugin Makefile being ridiculously
complex and more or less requiring GNU make.

Either install GNU make (it's very portable), or bugger the nagiosplug
dev-team to fix this, preferrably on nagiosplug-help at lists.sourceforge.net

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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