[Nut-upsuser] Triplite Lock's when on battery

Manuel Wolfshant wolfy at nobugconsulting.ro
Sat Sep 29 01:31:50 UTC 2012


On 09/29/2012 01:39 AM, Charles Lepple wrote:
> On Sep 28, 2012, at 11:43 AM, Manuel Wolfshant wrote:
>
>> On 09/28/2012 06:27 PM, twhitney at clearbearing.com wrote:
>>> quick question, Is there an issue with centos 5 that prevents it from running Nut greater then 2.2.3 ?
>>>
>>     No. It's just that there are no official packages. I have tried just yesterday to compile 2.6.6 and failed due to incompatible autoconf versions ( 2.59 in centos 5 vs 2.63 in C6), so a a bit more work will be needed.
> Theoretically, running autoconf shouldn't be necessary if you are compiling a NUT released tarball. Or am I misunderstanding your comment?
>
The package from Fedora's EPEL 6 has this in the build section:

autoreconf -i
%configure \
   [...]

In the build system for RHEL6 this works fine. However , in the 
environment created for RHEL5, it barfs:

Sep 27 00:11:51 <wolfy> configure.in:100: error: possibly undefined 
macro: AC_C_FLEXIBLE_ARRAY_MEMBER
Sep 27 00:11:51 <wolfy>       If this token and others are legitimate, 
please use m4_pattern_allow.
Sep 27 00:11:51 <wolfy>       See the Autoconf documentation.
Sep 27 00:11:51 <wolfy> configure.in:101: error: possibly undefined 
macro: AC_C_VARARRAYS
Sep 27 00:11:51 <wolfy> configure.in:111: error: possibly undefined 
macro: AC_TYPE_LONG_DOUBLE
Sep 27 00:11:51 <wolfy> configure.in:112: error: possibly undefined 
macro: AC_TYPE_LONG_LONG_INT
Sep 27 00:11:51 <wolfy> autoreconf: /usr/bin/autoconf failed with exit 
status: 1

My knowledge about using autoconf fluctuates between nil and close to 
zero so I just tried tossing in a call to aclocal before using 
autoreconf, but it failed as well:

    + aclocal
    configure.in:683: warning: AC_LIBTOOL_SETUP was called before
    AC_DISABLE_STATIC
    /usr/share/aclocal/libtool.m4:1997: AC_DISABLE_STATIC is expanded
    from...
    configure.in:683: the top level
    + autoreconf -i
    You should update your `aclocal.m4' by running aclocal.
    libtoolize: `config.guess' exists: use `--force' to overwrite
    libtoolize: `config.sub' exists: use `--force' to overwrite
    libtoolize: `ltmain.sh' exists: use `--force' to overwrite
    configure.in:100: error: possibly undefined macro:
    AC_C_FLEXIBLE_ARRAY_MEMBER
           If this token and others are legitimate, please use
    m4_pattern_allow.
           See the Autoconf documentation.
    configure.in:101: error: possibly undefined macro: AC_C_VARARRAYS
    configure.in:111: error: possibly undefined macro: AC_TYPE_LONG_DOUBLE
    configure.in:112: error: possibly undefined macro: AC_TYPE_LONG_LONG_INT
    autoreconf: /usr/bin/autoconf failed with exit status: 1



  At which point I went back to regular $DAYJOB and postponed reading 
the autoconf docs till I'd have more time or a kind soul provided the 
correct recipe, whichever comes first.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20120929/f079fde0/attachment.html>


More information about the Nut-upsuser mailing list