Can't make plugins 1.4.11 on Solaris 10 Sparc
Cipriani, Robert C
Robert.Cipriani at mybrighthouse.com
Fri Jan 11 18:56:52 CET 2008
-----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of Cipriani, Robert C
> Sent: Friday, January 11, 2008 12:38 PM
> To: 'nagios-users at lists.sourceforge.net'
> Subject: [Nagios-users] Can't make plugins 1.4.11 on Solaris 10 Sparc
>
>
> Trying to build Nagios plugins 1.4.11 on Solaris 10 SPARC. Using gcc 3.4.6
> and GNU make 3.8.1, getting this:
>
> ...
> rm -f libgnu.a
> false cru libgnu.a full-read.o full-write.o strnlen1.o xalloc-die.o
> xstrndup.o asnprintf.o asprintf.o basename.o c-strtod.o cloexec.o creat-
> safer.o dirname.o dup-safer.o error.o exitfail.o fd-safer.o fsusage.o
> getopt.o getopt1.o mbchar.o mountlist.o open-safer.o pipe-safer.o printf-
> args.o printf-parse.o regex.o safe-read.o safe-write.o strcasecmp.o
> stripslash.o strndup.o strnlen.o vasnprintf.o vasprintf.o xmalloc.o
> make[3]: *** [libgnu.a] Error 1
> ...
>
> What's it using the 'false' command for? I saw a page that suggested that
> the 'ar' command is the one that is supposed to run. It is in my path
> though. Any ideas? I don't suppose anyone has a package built for Solaris
> 10?
>
>
> Robert C. Cipriani
> Senior Network Administrator
> Tampa Bay Division IT
> Bright House Networks
> W: (727) 329-2000 x74264
> M: (727) 365-1231
I noticed when running .configure that the ar command was returning the 'usage' line with the command line options.
It seems the Solaris options for ar are different than GNU's. I think configure didn't detect the correct 'ar', and set the Makefile path for it to 'false'. Hence the confusion.
I installed GNU binutils from Sunfreeware.com and re-ran the config, it works fine.
CONFIDENTIALITY NOTICE: This e-mail may contain information that is privileged, confidential or otherwise protected from disclosure. If you are not the intended recipient of this e-mail, please notify the sender immediately by return e-mail, purge it and do not disseminate or copy it.
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
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