[Nut-upsdev] NSS support in trunk

Arnaud Quette aquette.dev at gmail.com
Tue Nov 20 21:07:27 UTC 2012


Hi Michal

I'm cc'ing -upsdev since you caught a good point!
btw, sorry for the lag in this answer...

2012/10/29 Michal Hlavinka

 Hi,
>
> I finally found out enough time to prepare builds for Fedora.
> Packages with nss can be found here:
> http://mhlavink.fedorapeople.**org/nut+nss/<http://mhlavink.fedorapeople.org/nut+nss/>
>
> I had to apply this extra patch everywhere to get it work:
> -       #include <nss/nss.h>
> +       #include <nss.h>
>
> I think the include path in the source files is incorrect.
> Usually, gcc gets something like:
> /usr/include
> /usr/include/nss
>
> where second line is output of
> $ nss-config --includedir
>
> so, despite correct -I/path for nss is /usr/include/nss
> it works thanks default include path.
>
> /usr/include/+nss/nss.h = /usr/include/nss/ + nss.h
>
> But because we have nss in /usr/include/nss3, it does not work.
>
> /usr/include/+nss/nss.h != /usr/include/nss3/ + nss.h
>

fully right.
I've just fixed it in r3783

thanks for your report,
Arnaud
-- 
NUT (Network UPS Tools) Project Leader - http://www.networkupstools.org
Debian Developer - http://www.debian.org
Free Software Developer - http://arnaud.quette.fr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20121120/d4eb29ef/attachment-0001.html>


More information about the Nut-upsdev mailing list