On 29 July 2013 10:19, lilit-aibolit <lilit-aibo...@mail.ru> 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