02.12.2015 Views

Network UPS Tools User Manual

Network UPS Tools User Manual

Network UPS Tools User Manual

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Network</strong> <strong>UPS</strong> <strong>Tools</strong> <strong>User</strong> <strong>Manual</strong> 74 / 84<br />

H.6 Things the compiler might need to find<br />

--with-gd-includes="-I/foo/bar"<br />

If you installed gd in some place where your C preprocessor can’t find the header files, use this switch to add additional -I flags.<br />

--with-gd-libs="-L/foo/bar -labcd -lxyz"<br />

If your copy of gd isn’t linking properly, use this to give the proper -L and -l flags to make it work. See LIBS= in gd’s Makefile.<br />

Note<br />

the --with-gd switches are not necessary if you have gd 2.0.8 or higher installed properly. The gdlib-config script will be detected<br />

and used by default in that situation.<br />

--with-ssl-includes, --with-usb-includes, --with-snmp-includes,<br />

--with-neon-includes, --with-libltdl-includes,<br />

--with-powerman-includes="-I/foo/bar"<br />

If your system doesn’t have pkg-config and support for any of the above libraries isn’t found (but you know it is installed), you<br />

must specify the compiler flags that are needed.<br />

--with-ssl-libs, --with-usb-libs, --with-snmp-libs,<br />

--with-neon-libs, --with-libltdl-libs<br />

--with-powerman-libs="-L/foo/bar -labcd -lxyz"<br />

If system doesn’t have pkg-config or it fails to provides hints for some of the settings that are needed to set it up properly and the<br />

build in defaults are not right, you can specify the right variables here.<br />

I<br />

Upgrading notes<br />

This file lists changes that affect users who installed older versions of this software. When upgrading from an older version, be<br />

sure to check this file to see if you need to make changes to your system.<br />

I.1 Changes from 2.7.2 to 2.7.3<br />

• The nutdrv_qx(8) driver will eventually supersede bestups(8). It has been tested on a U-series Patriot Pro II. Please test the<br />

new driver on your hardware during your next maintenance window, and report any bugs.<br />

• If you are upgrading from a new install of 2.7.1 or 2.7.2, double-check the value of POWERDOWNFLAG in $prefix/etc/upsmon.conf<br />

- it has been restored to /etc/killpower as in 2.6.5 and earlier.<br />

• If you use upslog with a large sleep value, you may be interested in adding killall -SIGUSR1 upslog to any OB/OL<br />

script actions. This will force upslog to write a log entry to catch short power transients.<br />

• Be sure that your SSL keys are readable by the NUT system user. The SSL subsystem is now initialized after upsd forks, to<br />

work around issues in the NSS library.<br />

• The systemd nut-server.service does not Require nut-driver to be started successfully. This was previously preventing upsd<br />

startup, even for just one driver failure among many. This also matches the behavior of sysV initscripts.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!