Hi Michal<br><br>I'm cc'ing -upsdev since you caught a good point!<br>btw, sorry for the lag in this answer...<br><br><div class="gmail_quote">2012/10/29 Michal Hlavinka<div class="im"><br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hi,<br>
<br>
I finally found out enough time to prepare builds for Fedora.<br>
Packages with nss can be found here:<br>
<a href="http://mhlavink.fedorapeople.org/nut+nss/" target="_blank">http://mhlavink.fedorapeople.<u></u>org/nut+nss/</a><br>
<br>
I had to apply this extra patch everywhere to get it work:<br>
-       #include <nss/nss.h><br>
+       #include <nss.h><br>
<br>
I think the include path in the source files is incorrect.<br>
Usually, gcc gets something like:<br>
/usr/include<br>
/usr/include/nss<br>
<br>
where second line is output of<br>
$ nss-config --includedir<br>
<br>
so, despite correct -I/path for nss is /usr/include/nss<br>
it works thanks default include path.<br>
<br>
/usr/include/+nss/nss.h = /usr/include/nss/ + nss.h<br>
<br>
But because we have nss in /usr/include/nss3, it does not work.<br>
<br>
/usr/include/+nss/nss.h != /usr/include/nss3/ + nss.h<span class="HOEnZb"><font color="#888888"></font></span><br></blockquote></div><br>fully right.<br>I've just fixed it in r3783<br clear="all">
<style type="text/css">
p, li { white-space: pre-wrap; }
</style>
<br>thanks for your report,<br>Arnaud<br>-- <br>NUT (Network UPS Tools) 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>