Hey Massimo and Greg,<br><br><div class="gmail_quote">2012/8/12 Massimo Gais <span dir="ltr"><<a href="mailto:massimo.gais@iki.fi" target="_blank">massimo.gais@iki.fi</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Sun, Aug 12, 2012 at 5:11 AM, Greg Vickers <span dir="ltr"><<a href="mailto:daehenoc@iinet.net.au" target="_blank">daehenoc@iinet.net.au</a>></span> wrote:<br></div><div><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


  
    
  
  <div bgcolor="#FFFFFF" text="#000000"><div>
    <div>On 11/08/12 06:58, Arnaud Quette wrote:<br>
    </div>
    <blockquote type="cite">Hi Massimo and Greg,<br>
      <div class="gmail_quote">
        <div> <br>
          @Greg: if you yet returned your unit, you now have a solution
          ;)<br>
        </div>
      </div>
    </blockquote></div>
    I have not yet gotten rid of it, so thank you very much!  It's a
    case of download, extract, apply patch, and compile on my RPi,
    correct?
    </div></blockquote><br></div>Hello Greg,<br>yes you can compile it directly on the RPI. See anyway that if you have the old deb package installed and you want to replace only the recompiled driver, you may have some mismatch with the pidpath/statepath directories (/var/state/ups vs /var/run/nut). I tried to make a debian package on the RPi, but it was requiring to install all the documentation tools, and I did not have enough SD disk space for that.<br>
</div></blockquote></div><br>use the following configuration line to get back inline with deb directives:<br><br>./configure --prefix= --includedir=/usr/include --mandir=/usr/share/man --sysconfdir=/etc/nut --localstatedir=/var --without-ssl --with-cgi --with-dev --enable-static --with-statepath=/var/run/nut --with-altpidpath=/var/run/nut --with-drvpath=/lib/nut --with-cgipath=/usr/lib/cgi-bin/nut --with-htmlpath=/usr/share/nut/www --with-pidpath=/var/run/nut --datadir=/usr/share/nut --with-pkgconfig-dir=/usr/lib/pkgconfig --with-user=nut --with-group=nut --with-udev-dir=/lib/udev --without-doc<br>
<br>you may also want to disable a few more things, like CGI, by using "--without-cgi" for example...<br clear="all">this will lower the dependencies barrier.<br><br>cheers,<br>Arnaud<br>-- <br>Linux / Unix / Opensource Engineering Expert - Eaton - <a href="http://opensource.eaton.com" target="_blank">http://opensource.eaton.com</a><br>
Network UPS Tools (NUT) Project Leader - <a href="http://www.networkupstools.org" target="_blank">http://www.networkupstools.org</a><br>Debian Developer - <a href="http://www.debian.org" target="_blank">http://www.debian.org</a><br>
Free Software Developer - <a href="http://arnaud.quette.fr" target="_blank">http://arnaud.quette.fr</a><br><br>