Re: nut-2.7.1 (Solved)

2013-07-31 Thread lilit-aibolit

On 07/30/2013 01:52 PM, Stuart Henderson wrote:

On 2013-07-29, lilit-aibolit  wrote:

Using existing bestuferrups.8 manual page, since 'asciidoc' was not found.
Using existing bestups.8 manual page, since 'asciidoc' was not found.
Using existing bestfcom.8 manual page, since 'asciidoc' was not found.
Using existing blazer.8 manual page, since 'asciidoc' was not found.
make: don't know how to make blazer_ser.8 (prerequisite of: all-am)
Stop in docs/man
*** Error 1 in docs (Makefile:511 'all-recursive')
*** Error 1 in /root/nut (Makefile:499 'all-recursive')

I suspect that installing asciidoc might get you further here.


.


I have try this way, but it doesn't help, same error after
# pkg_add asciidoc
But fortunately I solved my goals:
build new driver on 2.7.1 and use it on 2.6.5
Full thread here:
http://lists.alioth.debian.org/pipermail/nut-upsuser/2013-July/008507.html



Re: nut-2.7.1

2013-07-30 Thread Stuart Henderson
On 2013-07-29, lilit-aibolit  wrote:
> Using existing bestuferrups.8 manual page, since 'asciidoc' was not found.
> Using existing bestups.8 manual page, since 'asciidoc' was not found.
> Using existing bestfcom.8 manual page, since 'asciidoc' was not found.
> Using existing blazer.8 manual page, since 'asciidoc' was not found.
> make: don't know how to make blazer_ser.8 (prerequisite of: all-am)
> Stop in docs/man
> *** Error 1 in docs (Makefile:511 'all-recursive')
> *** Error 1 in /root/nut (Makefile:499 'all-recursive')

I suspect that installing asciidoc might get you further here.



Re: nut-2.7.1

2013-07-29 Thread lilit-aibolit

On 07/29/2013 12:13 PM, lilit-aibolit wrote:

On 07/29/2013 11:31 AM, Marios Makassikis wrote:

ln -s /usr/local/bin/python3.2 /usr/local/bin/python

Thanks. It helped a bit, but now

# rm /usr/local/bin/python
# ln -s /usr/local/bin/python2.7 /usr/local/bin/python
# pwd
/root/nut
# export AUTOMAKE_VERSION=1.13.1
# export AUTOCONF_VERSION=2.69
# export CONFIGURE_STYLE=autoconf
# ./autogen.sh
Regenerating Augeas ups.conf lens...
Calling autoreconf...
/usr/local/bin/aclocal[35]: /usr/local/bin/aclocal-1.13.1: not found
autoreconf-2.69: aclocal failed with exit status: 127


.


corrected:
# pkg_add libtool asciidoc
libtool-2.4.2: ok
# ls -la /usr/local/bin/aclocal
aclocalaclocal-1.13
# export AUTOMAKE_VERSION=1.13
# export AUTOCONF_VERSION=2.69
# export CONFIGURE_STYLE=autoconf
# ./autogen.sh
Calling autoreconf...
aclocal-1.13: warning: autoconf input should be named 'configure.ac', 
not 'configure.in'

libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
aclocal-1.13: warning: autoconf input should be named 'configure.ac', 
not 'configure.in'
automake-1.13: warning: autoconf input should be named 'configure.ac', 
not 'configure.in'

configure.in:11: installing './config.guess'
configure.in:11: installing './config.sub'
configure.in:15: installing './install-sh'
configure.in:15: installing './missing'
automake-1.13: warning: autoconf input should be named 'configure.ac', 
not 'configure.in'

clients/Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'

# ./configure --with-user=_ups --with-group=_ups

Configuration summary:
==
build serial drivers: yes
build USB drivers: yes
build SNMP drivers: no
build neon based XML driver: no
enable Avahi support: no
build Powerman PDU client driver: no
build IPMI driver: no
build Mac OS X meta-driver: no
enable SSL support: yes (OpenSSL)
enable libwrap (tcp-wrappers) support: no
enable libltdl (Libtool dlopen abstraction) support: no
build nut-scanner: no
build CGI programs: no
enable HAL support: no
build and install documentation: no
build and install the development files: no

# make

Making all in include
NUT_VERSION: "2.6.5-183-ga074844"
test -f nut_version.h || cp _nut_version.h nut_version.h
cmp -s _nut_version.h nut_version.h || cp _nut_version.h nut_version.h
rm -f _nut_version.h
make  all-am
Making all in common
Making all in clients
Making all in conf
Making all in data
Making all in html
Making all in tools
Making all in .
Making all in nut-scanner
make  all-am
Regenerating the SNMP helper files.
Regenerating the USB helper files.
Making all in docs
Making all in .
Making all in man
Using existing nut.conf.5 manual page, since 'asciidoc' was not found.
Using existing ups.conf.5 manual page, since 'asciidoc' was not found.
Using existing upsd.conf.5 manual page, since 'asciidoc' was not found.
Using existing upsd.users.5 manual page, since 'asciidoc' was not found.
Using existing upsmon.conf.5 manual page, since 'asciidoc' was not found.
Using existing upssched.conf.5 manual page, since 'asciidoc' was not found.
Using existing nutupsdrv.8 manual page, since 'asciidoc' was not found.
Using existing upsc.8 manual page, since 'asciidoc' was not found.
Using existing upscmd.8 manual page, since 'asciidoc' was not found.
Using existing upsd.8 manual page, since 'asciidoc' was not found.
Using existing upsdrvctl.8 manual page, since 'asciidoc' was not found.
Using existing upslog.8 manual page, since 'asciidoc' was not found.
Using existing upsmon.8 manual page, since 'asciidoc' was not found.
Using existing upsrw.8 manual page, since 'asciidoc' was not found.
Using existing upssched.8 manual page, since 'asciidoc' was not found.
Using existing nut-scanner.8 manual page, since 'asciidoc' was not found.
Using existing nut-recorder.8 manual page, since 'asciidoc' was not found.
Using existing apcsmart.8 manual page, since 'asciidoc' was not found.
Using existing apcsmart-old.8 manual page, since 'asciidoc' was not found.
Using existing bcmxcp.8 manual page, since 'asciidoc' was not found.
Using existing belkin.8 manual page, since 'asciidoc' was not found.
Using existing belkinunv.8 manual page, since 'asciidoc' was not found.
Using existing bestfortress.8 manual page, since 'asciidoc' was not found.
Using existing bestuferrups.8 manual page, since 'asciidoc' was not found.
Using existing bestups.8 manual page, since 'asciidoc' was not found.
Using existing bestfcom.8 manual page, since 'asciidoc' was not found.
Using existing blazer.8 manual page, since 'asciidoc' was not found.
make: don't know how to make blazer_ser.8 (prerequisite of: all-am)
Stop in docs/man
*** Error 1 in docs (Makefile:511 'all-recursive')
*** Er

Re: nut-2.7.1

2013-07-29 Thread lilit-aibolit

On 07/29/2013 11:31 AM, Marios Makassikis wrote:

ln -s /usr/local/bin/python3.2 /usr/local/bin/python

Thanks. It helped a bit, but now

# rm /usr/local/bin/python
# ln -s /usr/local/bin/python2.7 /usr/local/bin/python
# pwd
/root/nut
# export AUTOMAKE_VERSION=1.13.1
# export AUTOCONF_VERSION=2.69
# export CONFIGURE_STYLE=autoconf
# ./autogen.sh
Regenerating Augeas ups.conf lens...
Calling autoreconf...
/usr/local/bin/aclocal[35]: /usr/local/bin/aclocal-1.13.1: not found
autoreconf-2.69: aclocal failed with exit status: 127



Re: nut-2.7.1

2013-07-29 Thread Marios Makassikis
On 29 July 2013 10:19, lilit-aibolit  wrote:
> Does someone have compiled i386 package for current nut?
> https://github.com/networkupstools/nut
> Or walkthrough how to build it on 5.3.
> The reason for install development version it's added
> Riello UPS support.
> This is my step:
> # git clone https://github.com/networkupstools/nut.git
> # pkg_add python-3.2.3p0 autoconf-2.69p0 automake-1.13.1
> # ln -s /usr/local/bin/python3.2 /usr/local/bin/python
> # cd nut
> # ./autogen.sh
> Regenerating Augeas ups.conf lens...
>   File "./gen-nutupsconf-aug.py", line 72
> print dirPrefix
>   ^
> SyntaxError: invalid syntax
> Regenerating the USB helper files...
> ./autogen.sh[31]: cd: /root/nut/scripts/augeas/tools - No such file or
> directory
> Calling autoreconf...
> Provide an AUTOCONF_VERSION environment variable, please
> # AUTOCONF_VERSION=2.69 ./autogen.sh
> Regenerating Augeas ups.conf lens...
>   File "./gen-nutupsconf-aug.py", line 72
> print dirPrefix
>   ^
> SyntaxError: invalid syntax
> Regenerating the USB helper files...
> ./autogen.sh[31]: cd: /root/nut/scripts/augeas/tools - No such file or
> directory
> Calling autoreconf...
> autoreconf-2.69: 'configure.ac' or 'configure.in' is required
>

Try running it with python2 instead of python3



nut-2.7.1

2013-07-29 Thread lilit-aibolit

Does someone have compiled i386 package for current nut?
https://github.com/networkupstools/nut
Or walkthrough how to build it on 5.3.
The reason for install development version it's added
Riello UPS support.
This is my step:
# git clone https://github.com/networkupstools/nut.git
# pkg_add python-3.2.3p0 autoconf-2.69p0 automake-1.13.1
# ln -s /usr/local/bin/python3.2 /usr/local/bin/python
# cd nut
# ./autogen.sh
Regenerating Augeas ups.conf lens...
  File "./gen-nutupsconf-aug.py", line 72
print dirPrefix
  ^
SyntaxError: invalid syntax
Regenerating the USB helper files...
./autogen.sh[31]: cd: /root/nut/scripts/augeas/tools - No such file or 
directory

Calling autoreconf...
Provide an AUTOCONF_VERSION environment variable, please
# AUTOCONF_VERSION=2.69 ./autogen.sh
Regenerating Augeas ups.conf lens...
  File "./gen-nutupsconf-aug.py", line 72
print dirPrefix
  ^
SyntaxError: invalid syntax
Regenerating the USB helper files...
./autogen.sh[31]: cd: /root/nut/scripts/augeas/tools - No such file or 
directory

Calling autoreconf...
autoreconf-2.69: 'configure.ac' or 'configure.in' is required