nagios-plugin unable to compile

Chris Lee clee.hk at gmail.com
Mon Sep 10 17:23:23 CEST 2007


Hi Rajesh,

I recieved some compile errors when I compiled the nagios-plugin on solaris
10 using the native cc compiler. Finally, I installed iconv, gcc and
open-ssl and then did the compilation again. Then everything worked.

Regards,


-- Chris



On 10 Sep 2007 12:03:32 -0000, RaJESH KANNA <tr_rajeshkanna at rediffmail.com>
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'
>
>
> Regards,
> Rajesh
>
>
>
>
>
>
>   [image: ebay]<http://adworks.rediff.com/cgi-bin/AdWorks/click.cgi/www.rediff.com/signature-home.htm/1050715198@Middle5/1362386_1355934/1361766/1?PARTNER=3&OAS_QUERY=null+target=new+>
> -------------------------------------------------------------------------
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20070910/805eb102/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