[Nagiosplug-devel] check_swap on solaris with metadisk

Ton Voon ton.voon at altinity.com
Tue Jun 13 12:28:49 CEST 2006


On 13 Jun 2006, at 11:11, Ben O'Hara wrote:
>
> Hi Ton,
>
> Tried building the latest snapshot but it errors during the make with
>
> make  all-recursive
> make[1]: Entering directory `/usr/local/home/bohara/nagios-plugins- 
> HEAD-200606051623'
> Making all in lib
> make[2]: Entering directory `/usr/local/home/bohara/nagios-plugins- 
> HEAD-200606051623/lib'
> make  all-am
> make[3]: Entering directory `/usr/local/home/bohara/nagios-plugins- 
> HEAD-200606051623/lib'
> rm -f libcoreutils.a
> false cru libcoreutils.a cloexec.o full-read.o full-write.o safe- 
> read.o safe-write.o xalloc-die.o error.o getopt.o getopt1.o  
> exitfail.o xmalloc.o mountlist.o fsusage.o regex.o
> make[3]: *** [ libcoreutils.a] Error 1
> make[3]: Leaving directory `/usr/local/home/bohara/nagios-plugins- 
> HEAD-200606051623/lib'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/usr/local/home/bohara/nagios-plugins- 
> HEAD-200606051623/lib'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/home/bohara/nagios-plugins- 
> HEAD-200606051623'
> make: *** [all] Error 2
>
>
> Not really much to go on, any ideas?
>

I've got on my MacOSX:

if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../intl    -g -O2 -MT  
regex.o -MD -MP -MF ".deps/regex.Tpo" -c -o regex.o regex.c; \
then mv -f ".deps/regex.Tpo" ".deps/regex.Po"; else rm -f ".deps/ 
regex.Tpo"; exit 1; fi
rm -f libcoreutils.a
ar cru libcoreutils.a cloexec.o full-read.o full-write.o safe-read.o  
safe-write.o xalloc-die.o error.o getopt.o getopt1.o exitfail.o  
xmalloc.o mountlist.o fsusage.o regex.o
ranlib libcoreutils.a

My guess is you don't have ar installed (I think I came across this  
when I was using the solaris server on SF's compile farm). Can you  
confirm if it is installed?

Ton

http://www.altinity.com
T: +44 (0)870 787 9243
F: +44 (0)845 280 1725
Skype: tonvoon






More information about the Devel mailing list