[Nut-upsuser] Compilation error: NUT 2.6.2 --without-snmp

Sergey Talchuk tals1975 at gmail.com
Tue Sep 27 13:34:58 UTC 2011


Hello Fred,

Thank you.
There were some troubles with man pages (workaround: specified '-L' for A2X
to skip validation, because it failed), but finally I was able to build
NUT-2.6.2 revision #3260

cheers,
Sergey

On Mon, Sep 26, 2011 at 12:32 PM, Frédéric Bohé <fredericbohe at eaton.com>wrote:

> Hello Sergey,
>
> On Sat, 2011-09-24 at 23:56 +0300, Sergey Talchuk wrote:
> > Hi Arnaud,
> >
> >
> > Now   I   get   another  error  (maybe  because my system doesn't have
> > IPv6. Unfortunately I didn't find AI_NUMERICSERV in
> /usr/include/netdb.h).
> > Can you tell me what workaround would be good for me?
>
> Try revision 3256, please.
>
> Fred
>
>
> >
> > nutscan-ip.c: In function `nutscan_cidr_to_ip':
> > nutscan-ip.c:243: error: `AI_NUMERICSERV' undeclared (first use in this
> function)
> > nutscan-ip.c:243: error: (Each undeclared identifier is reported only
> once
> > nutscan-ip.c:243: error: for each function it appears in.)
> > make[3]: *** [libnutscan_la-nutscan-ip.lo] Error 1
> > make[2]: *** [all] Error 2
> > make[1]: *** [all-recursive] Error 1
> > make: *** [all-recursive] Error 1
> >
> > cheers,
> > Sergey
> >
> >
> > > Hi Sergey,
> >
> > > 2011/9/20 Arnaud Quette <aquette.dev at gmail.com>:
> > >>
> > >> 2011/9/19 Sergey Talchuk <tals1975 at gmail.com>
> > >>>
> > >>> Hello all!
> > >>
> > >> Hi Sergey,
> > >>
> > >>>
> > >>> I get a compilation error with '--without-snmp' option. Can someone
> help
> > >>> please?
> > >>
> > >> we've just detected this after the release.
> > >> this is also true for any other buses considered by nut-scanner, for
> which
> > >> you satisfy the dependency (ie you have net snmp installed) but you
> disable
> > >> the feature (--without-snmp)
> > >>
> > >> I'm currently working on a patch to fix it.
> > >> In the meantime, you can either use default option (auto) for the
> faulty
> > >> features.
> >
> > > I've just committed the fix to the NUT trunk (development version),
> r3251
> >
> > > cheers,
> > > Arnaud
> >
> >
> > _______________________________________________
> > Nut-upsuser mailing list
> > Nut-upsuser at lists.alioth.debian.org
> > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser
>
> --
> Team Open Source Eaton - http://powerquality.eaton.com
>
> --------------------------------------------------------------------------
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20110927/e6172ae0/attachment.html>


More information about the Nut-upsuser mailing list