kaskada at email.cz
2013-Jan-12 16:38 UTC
[Nut-upsuser] instaling NUT into OpenWRT: argp-standalone error
Hello, I`m trying to install NUT on OpenWRT installed at routerboard RB433. When I run: opkg install nut I get this output: Installing nut (2.6.5-2) to root... Downloading http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/nut _2.6.5-2_ar71xx.ipk. Collected errors: ?* satisfy_dependencies_for: Cannot satisfy the following dependencies for nut: ?*????? argp-standalone * ?* opkg_install_cmd: Cannot install package nut. I`ve tried to search solution hard (maybe not hard enough :), but with no success. Do you know, what my OpenWRT system really need and where to get it? ####### I`ve also tried to compile NUT right inside OpenWRT in that device (RB433), but ./configure script said to me messages, which are in the attechment. ####### OpenWRT info: --------------------- BusyBox v1.19.4 (2013-01-12 00:45:45 CET) built-in shell (ash) Enter 'help' for a list of built-in commands. ? _______???????????????????? ________??????? __ ?|?????? |.-----.-----.-----.|? |? |? |.----.|? |_ ?|?? -?? ||? _? |? -__|???? ||? |? |? ||?? _||?? _| ?|_______||?? __|_____|__|__||________||__|? |____| ????????? |__| W I R E L E S S?? F R E E D O M ?----------------------------------------------------- ?BARRIER BREAKER (Bleeding Edge, r35097) ?----------------------------------------------------- Thank you for any advice. Pep. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20130112/bac20481/attachment.html> -------------- next part -------------- root at OpenWrt:/usr/src/nut-2.6.5# ./configure --with-user=ups --with-group=nut --with-usb --with-snmp Network UPS Tools version 2.6.5 checking build system type... ./config.guess: unable to guess system type This script, last modified 2011-05-11, has failed to recognize the operating system you are using. It is advised that you download the most up to date version of the config scripts from http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD and http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD If the version you run (./config.guess) is already up to date, please send the following data and any information you think might be pertinent to <config-patches at gnu.org> in order to provide the needed information to handle your system. config.guess timestamp = 2011-05-11 uname -m = mips uname -r = 3.6.11 uname -s = Linux uname -v = #2 Sat Jan 12 01:43:13 CET 2013 /usr/bin/uname -p /bin/uname -X hostinfo /bin/universe /usr/bin/arch -k /bin/arch /usr/bin/oslevel /usr/convex/getsysinfo UNAME_MACHINE = mips UNAME_RELEASE = 3.6.11 UNAME_SYSTEM = Linux UNAME_VERSION = #2 Sat Jan 12 01:43:13 CET 2013 configure: error: cannot guess build type; you must specify one
Charles Lepple
2013-Jan-13 00:22 UTC
[Nut-upsuser] instaling NUT into OpenWRT: argp-standalone error
[bounced, trying again] On Sat, Jan 12, 2013 at 7:19 PM, Charles Lepple <clepple at gmail.com> wrote:> > On Jan 12, 2013, at 11:38 AM, <kaskada at email.cz> <kaskada at email.cz> wrote: > > > Installing nut (2.6.5-2) to root... > > Downloading http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/nut_2.6.5-2_ar71xx.ipk. > > Collected errors: > > * satisfy_dependencies_for: Cannot satisfy the following dependencies for nut: > > * argp-standalone * > > * opkg_install_cmd: Cannot install package nut. > > As the download URL indicates, the OpenWRT packages are not directly from the NUT project. I don't know what argp-standalone is -- it's not something I have seen in our configure scripts. > > > I`ve also tried to compile NUT right inside OpenWRT in that device (RB433), but ./configure script said to me messages, which are in the attechment. > > Did you try the new config.guess and config.sub that they recommended?
Charles Lepple
2013-Jan-13 14:34 UTC
[Nut-upsuser] instaling NUT into OpenWRT: argp-standalone error
[please keep the list CC'd] On Jan 13, 2013, at 9:02 AM, <kaskada at email.cz> wrote:> Hello, > > yes, I`ve tried to use these scripts downloaded from recomended URLs few minutes ago: > config.guess (timestamp='2012-12-30') > config.sub (timestamp='2013-01-11') > > I`m still having the similar error output:[...]> configure: error: cannot guess build type; you must specify one > root at OpenWrt:/usr/src/nut-2.6.5#That sounds very strange. I looked around for other config.guess scripts related to OpenWRT, and most of them are at least 2-3 years old, so I wonder if it's an issue with the shell? Please try running "sh -x config.guess 2>&1 | tee config.guess.log && gzip -9v config.guess.log" and post the compressed log back to the list. Also, if you can dig around and find a package description file or build recipe for the OpenWRT package, that would be helpful to understand how their build process works. -- Charles Lepple clepple at gmail