[Nagiosplug-help] Compiling plugins on Solaris 8 - 'make all' fails

Stephen P. Jackson stephen.jackson at colinx.com
Tue Dec 2 12:23:06 CET 2003


Monte,

Looking through your make results, I saw this:

> ar cru libnagiosplug.a getopt.o getopt1.o getloadavg.o
>
> /bin/bash: /usr/openwin/lib/locale/ar: is a directory


You should be using /usr/ccs/bin/ar, or the gnu version of ar, which normally 
installs in /usr/local/bin. Make sure one of those is in your path before 
/usr/openwin/lib/locale, and you should be fine.

Stephen Jackson


On Tuesday 02 December 2003 02:38 pm, Monte Riding wrote:
> Am trying to compile nagios-plugins-1.3.1 on Solaris 8, and it keeps
> failing shortly after issuing the 'make all' command. I am using
> gcc-3.3, make-3.80 from sunfreeware.com, and OpenSSL 0.9.7b. I have the
> OpenSSL binary and gcc in my path (if that matters).
>
>
>
> Anyone have an idea on what I'm missing or what specific files I need to
> search through to find the issue?
>
>
>
> source='getopt1.c' object='getopt1.o' libtool=no \
>
> depfile='.deps/getopt1.Po' tmpdepfile='.deps/getopt1.TPo' \
>
> depmode=gcc3 /bin/bash ../depcomp \
>
> gcc -DHAVE_CONFIG_H -I. -I. -I../plugins -I../plugins -I../plugins
> -I../plugins
>
> -I../plugins -I../plugins -I.    -g -O2 -c `test -f 'getopt1.c' || echo
> './'`get
>
> opt1.c
>
> source='getloadavg.c' object='getloadavg.o' libtool=no \
>
> depfile='.deps/getloadavg.Po' tmpdepfile='.deps/getloadavg.TPo' \
>
> depmode=gcc3 /bin/bash ../depcomp \
>
> gcc -DHAVE_CONFIG_H -I. -I. -I../plugins -I../plugins -I../plugins
> -I../plugins
>
> -I../plugins -I../plugins -I.    -g -O2 -c `test -f 'getloadavg.c' ||
> echo './'`
>
> getloadavg.c
>
> rm -f libnagiosplug.a
>
> ar cru libnagiosplug.a getopt.o getopt1.o getloadavg.o
>
> /bin/bash: /usr/openwin/lib/locale/ar: is a directory
>
> make[1]: *** [libnagiosplug.a] Error 126
>
> make[1]: Leaving directory `/export/home/monte/nagios-plugins-1.3.1/lib'
>
> make: *** [all-recursive] Error 1
>
> #
>
>
>
>
>
> Thx :-)
>
> monte





More information about the Help mailing list