<br><br><div class="gmail_quote">2011/7/14 Charles Lepple <span dir="ltr"><<a href="mailto:clepple@gmail.com">clepple@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div></div><div class="h5">On Wed, Jul 13, 2011 at 3:18 PM, Arnaud Quette <<a href="mailto:aquette.dev@gmail.com">aquette.dev@gmail.com</a>> wrote:<br>
><br>
><br>
> 2011/7/8 Charles Lepple <<a href="mailto:clepple@gmail.com">clepple@gmail.com</a>><br>
>><br>
>> On Jul 7, 2011, at 5:05 AM, Arnaud Quette wrote:<br>
>><br>
>> 2011/7/7 Charles Lepple <<a href="mailto:clepple@gmail.com">clepple@gmail.com</a>><br>
>>><br>
>>> On Jul 4, 2011, at 10:58 AM, Charles Lepple wrote:<br>
>>><br>
>>>>> The Buildbot has detected a new failure of Ubuntu-maverick-x86 on<br>
>>>>> Network UPS Tools.<br>
>>>>> Full details are available at:<br>
>>>>><br>
>>>>> <a href="http://buildbot.networkupstools.org/public/nut/builders/Ubuntu-maverick-x86/builds/39" target="_blank">http://buildbot.networkupstools.org/public/nut/builders/Ubuntu-maverick-x86/builds/39</a><br>

>>>><br>
>>>> Looks like the nutscan-snmp.h file has not been checked into the branch:<br>
>>>><br>
>>>> make[3]: Entering directory<br>
>>>> `/var/lib/buildbot/buildbot-slave-cayenne/Ubuntu-maverick-x86/build/tools/nut-scanner'<br>
>>>> make[3]: *** No rule to make target `nutscan-snmp.h', needed by<br>
>>>> `distdir'.  Stop.<br>
>>><br>
>>> Looks like a similar problem in r3126:<br>
>>><br>
>>> make[4]: Entering directory<br>
>>> `/var/lib/buildbot/buildbot-slave-cayenne/Ubuntu-maverick-x86/build/tools'<br>
>>> Regenerating the SNMP helper files.<br>
>>> /bin/bash: line 2:<br>
>>> ../../nut-2.6.0-r3126/tools/nut-scanner/nut-snmpinfo.py: No such file or<br>
>>> directory<br>
>><br>
>> right, I still have not been able to find something that suits the compile<br>
>> time (nut-scanner) needs while still satisfying the "dist" rules...<br>
>> the issue above is due to tools/nut-scanner requiring<br>
>> nutscan-{usb,snmp}.h, called from the same directory, but with a<br>
>> "top_srcdir" having an extraneous "..", so not suitable for<br>
>> tools/Makefile.am execution.<br>
>><br>
>> I'm still investigating for a solution. If someone has an idea...<br>
>><br>
>> So how does this get compiled in a non-dist situation?<br>
><br>
> should be good now, with r3134.<br>
<br>
</div></div>Looking good:<br>
<br>
<a href="http://buildbot.networkupstools.org/public/nut/builders/Ubuntu-maverick-x86/builds/48" target="_blank">http://buildbot.networkupstools.org/public/nut/builders/Ubuntu-maverick-x86/builds/48</a><font color="#888888"><br>

</font></blockquote></div><br>indeed.<br>I've abandoned optimization for now, and focused on making it work.<br>so there are duplicated rules, just to be able to address the previous issues.<br><br>I've not yet looked much at the code, but there are at least few bugs that need fixing.<br>
I've tested it, and it currently takes under 5 seconds to scan local USB, SNMP, XML/HTTP and NUT (non avahi method) and identify an hundred devices. Not that bad ;)<br>I'll now be able to look into nut-config (command line) and also gluing this with Python + Augeas + NUT-Monitor<br>
<br clear="all">cheers,<br>Arnaud<br>-- <br>Linux / Unix Expert R&D - Eaton - <a href="http://powerquality.eaton.com" target="_blank">http://powerquality.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.free.fr/" target="_blank">http://arnaud.quette.free.fr/</a><br>--<br>
Conseiller Municipal - Saint Bernard du Touvet<br>