nagios-plugin unable to compile

RaJESH KANNA tr_rajeshkanna at rediffmail.com
Mon Sep 10 14:31:19 CEST 2007


  
Thanks Andreas!. Installing Gnu make didn't help. I will send mail to nagiosplugin-help

Rajesh


On Mon, 10 Sep 2007 Andreas Ericsson wrote :
>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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20070910/8994e7aa/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
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/
-------------- 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