[Nagiosplug-help] Plugin Compile error in Solaris 10 -

Ton Voon ton.voon at altinity.com
Mon Sep 11 12:04:18 CEST 2006


Jeff,

Can you try the snapshot at http://nagiosplug.sourceforge.net/snapshot?

There have been reported problems on Solaris 10. I think there is  
something wrong with the locating of ar or ranlib, but it is hard to  
diagnose.

Ton

On 10 Sep 2006, at 22:47, Jeffrey Stormshak wrote:

> Greetings again -
>
> Still struggling with compiling the Plug-ins on a Solaris 10 system.
> Listed below is the versions of various items and if anyone has any
> suggestions, it would be greatly appreciated.  The *core* Nagios
> complied clean without any mods to my shell environment, etc - so I'm
> perplexed as to why the plug-ins don't follow suit.  Actual comp.
> error is listed below as well as some of the version and settings
> used to compile.
>
> Compilation Error:
> /usr/sfw/bin/gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../intl   -I/
> include  -g -O2 -c fsusage.c
> rm -f libcoreutils.a
> false cru libcoreutils.a cloexec.o exitfail.o  full-read.o full-
> write.o getopt.o  getopt1.o safe-read.o safe-write.o  xmalloc.o
> xstrdup.o error.o mountlist.o fsusage.o
> *** Error code 255
> make: Fatal error: Command failed for target `libcoreutils.a'
> Current working directory /home/jstormsh/Downloads/nagios-
> plugins-1.4.3/lib
> *** Error code 1
> make: Fatal error: Command failed for target `all'
> Current working directory /home/jstormsh/Downloads/nagios-
> plugins-1.4.3/lib
> *** Error code 1
>
> Solaris Ver:
> SunOS gravity 5.10 Generic sun4u sparc SUNW,Sun-Blade-100
>
> $ crle
> Configuration file [version 4]: /var/ld/ld.config
>    Default Library Path (ELF):   /lib:/usr/lib:/usr/local/lib:/usr/
> sfw/lib
>    Trusted Directories (ELF):    /lib/secure:/usr/lib/secure  (system
> default)
>
> Command line:
>    crle -c /var/ld/ld.config -l /lib:/usr/lib:/usr/local/lib:/usr/sfw/
> lib
>
> GCC:
> -bash-3.00$ gcc -v
> Reading specs from /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/specs
> Configured with: /gates/sfw10/builds/sfw10-gate/usr/src/cmd/gcc/
> gcc-3.4.3/configure --prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --
> with-gnu-as --with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-
> languages=c,c++ --enable-shared
> Thread model: posix
> gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
>
> $PATH
> /bin:/usr/bin:/usr/local/bin:/sbin:/usr/sfw/bin:/usr/ccs/bin
>
> $LD_LIBRARY_PATH
> /lib:/usr/lib:/usr/sfw/lib
>
> echo $CC
> /usr/sfw/bin/gcc

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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20060911/2cb81372/attachment.html>


More information about the Help mailing list