[Nut-upsuser] Installing NUT on Solaris

John Thurston john.thurston at alaska.gov
Fri Jul 5 18:16:01 UTC 2013


On 7/1/2013 8:27 PM, Bernd Markgraf wrote:
> On Mon, 2013-07-01 at 15:42 -0800, John Thurston wrote:
>> On 7/1/2013 2:55 PM, Charles Lepple wrote:
>>> On Jul 1, 2013, at 12:47 PM, John Thurston wrote:
>>>
>>>> I'm running Solaris 10 on a dozen SPARC boxes. I'd like to explore NUT for use with our snmp UPS, but I'm unable to complete the configure/make/install process.

- snip -
>> Working from Mike Nowak's notes at:
>>     https://blogs.oracle.com/mikey/entry/network_ups_tools_on_solaris
>>
>>> ./configure --prefix=/opt/nut --with-statepath=/var/ups --with-user=ups --with-group=ups
>>
>> returns alright, but the subsequent "make" fails with:
>>> make[1]: Entering directory `/opt/downloads/nut-2.6.5/common'
>>> /bin/bash ../libtool --tag=CC   --mode=link gcc -I../include -g -O2 -Wall -Wsign-compare   -o libparseconf.la  parseconf.lo  -lrt -lsocket -lnsl
>>> libtool: link: false cru .libs/libparseconf.a .libs/parseconf.o
>>> make[1]: *** [libparseconf.la] Error 1

-snip -
> that seems like configure didn't find ar and uses false instead.
> add /usr/ccs/bin to your $PATH and configure again. that should pick
> up /usr/ccs/bin/ar. if that doenst't exist install SUNWbtool or install
> the gnu binutils.

Thank you, Bernd. Adding /usr/ccs/bin to the $PATH got me past that.

Now when I attempt to add --with-snmp, it fails with
   > configure: error: "Net-SNMP libraries not found, required for SNMP 
drivers"

But I'm running Solaris 10, the service "/application/management/sma" is 
enabled, and /etc/sma/snmp/snmpd.conf exists. The libraries must be 
there somewhere. How can if figure out where they are and then configure 
nut with the correct paths?

-- 
    Do things because you should, not just because you can.

John Thurston    907-465-8591
John.Thurston at alaska.gov
Enterprise Technology Services
Department of Administration
State of Alaska



More information about the Nut-upsuser mailing list