network-ups-tools

Request a package to be made here. Make sure you have searched before requesting.

network-ups-tools

Postby Socaltom » Mon Jan 26, 2015 7:02 pm

I have my plugs running off a ups, and I thought I would try monitoring it,
I found this package in the AUR,
It lists libusb-compat as a dendency, I edited PKGBUILD and changed it to libusb
installed the other dependencies and it seemt to be going well, then it aborted because it counldn't find libusb, which is installed?
What do I need to do?
Code: Select all
%
[root@PogoServerV5 network-ups-tools]# makepkg --asroot
==> Making package: network-ups-tools 2.7.2-1 (Mon Jan 26 10:56:06 PST 2015)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading nut-2.7.2.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 2171k  100 2171k    0     0   485k      0  0:00:04  0:00:04 --:--:--  549k
  -> Downloading nut-2.7.2.tar.gz.sig...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100    72  100    72    0     0    116      0 --:--:-- --:--:-- --:--:--   116
==> Validating source files with sha256sums...
    nut-2.7.2.tar.gz ... Passed
    nut-2.7.2.tar.gz.sig ... Skipped
==> Verifying source file signatures with gpg...
    nut-2.7.2.tar.gz ... FAILED (unknown public key DB6414CA204DDF1B)
==> WARNING: Warnings have occurred while verifying the signatures.
    Please make sure you really trust them.
==> Extracting sources...
  -> Extracting nut-2.7.2.tar.gz with bsdtar
==> Starting build()...
Network UPS Tools version 2.7.2
checking build system type... armv5tel-unknown-linux-gnueabi
checking host system type... armv5tel-unknown-linux-gnueabi
checking target system type... armv5tel-unknown-linux-gnueabi
checking for host system name...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for autoconf macro to enable system extensions... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for egrep... (cached) /usr/bin/grep -E
checking for ar... /usr/bin/ar
checking for ranlib... ranlib
checking whether byte ordering is bigendian... no
checking for inline... inline
checking for flexible array members... yes
checking for variable-length arrays... yes
checking for flock... yes
checking for lockf... yes
checking for fcvt... yes
checking for fcvtl... no
checking for cfsetispeed... yes
checking for tcsendbreak... yes
checking for seteuid... yes
checking for setsid... yes
checking for getpassphrase... no
checking for on_exit... yes
checking for strptime... yes
checking for setlogmask... yes
checking whether LOG_UPTO is declared... yes
checking for vsnprintf... yes
checking for snprintf... yes
checking for setenv... yes
checking for strerror... yes
checking for atexit... yes
checking for pkg-config... no
checking for CPPUNIT... no
configure: WARNING: libcppunit not found.
checking whether optind is declared... yes
checking for getopt.h... yes
checking for getopt_long... yes
checking whether uu_lock is declared... no
checking whether __func__ is declared... yes
checking for library containing gethostbyname... none required
checking for library containing connect... none required
checking whether time.h and sys/time.h may both be included... yes
checking for sys/modem.h... no
checking for stdarg.h... yes
checking for varargs.h... no
checking for sys/termios.h... yes
checking for sys/time.h... yes
checking for library containing pthread_create... -lpthread
checking for socklen_t... yes
checking for --with-all... not given
checking for Net-SNMP version via net-snmp-config... 5.7.2.1 found
checking for Net-SNMP cflags... -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -march=armv5te -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl5/core_perl/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -I/usr/include
checking for Net-SNMP libs... -Wl,-O1,--sort-common,--as-needed,-z,relro -L/usr/lib -lnetsnmp -lcrypto -lm
checking for net-snmp/net-snmp-config.h... yes
checking for init_snmp... yes
checking for libusb version via pkg-config... checking via libusb-config... none found
checking for libusb cflags...
checking for libusb ldflags... -lusb
checking for usb.h... no
checking for usb_init... no
checking for libneon version via pkg-config (0.25.0 minimum required)... none found
checking for libneon cflags...
checking for libneon ldflags...
checking for ne_xmlreq.h... no
checking for ne_xml_dispatch_request... no
checking for libpowerman cflags...
checking for libpowerman libs...
checking for libpowerman.h... no
checking for pm_connect... no
checking for avahi-core version via pkg-config (0.6.30 minimum required)... none found
checking for avahi-client version via pkg-config (0.6.30 minimum required)... none found
checking for avahi cflags...
checking for avahi ldflags...
checking for avahi-common/malloc.h... yes
checking for avahi_free... no
checking whether to build serial drivers... yes
configure: error: "USB drivers requested, but libusb not found."
==> ERROR: A failure occurred in build().
    Aborting...
Owned by me
Pink Pogo V2, Black Pogo V3, Zyxel NAS 325 v1,
Adminstrator for
Goflex net, Black V3, Black V2
Socaltom
 
Posts: 569
Joined: Thu Apr 07, 2011 2:21 pm
Location: The left side

Re: network-ups-tools

Postby pepedog » Mon Jan 26, 2015 7:14 pm

libusb-compat is already in the repo (extra)
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: network-ups-tools

Postby Socaltom » Mon Jan 26, 2015 11:01 pm

I installed libusb-compat, and now I get an error about neon not being installed, but it is! I even reinstalled it.

Code: Select all
oot@PogoServerV5 network-ups-tools]# makepkg --asroot
==> Making package: network-ups-tools 2.7.2-1 (Mon Jan 26 14:59:08 PST 2015)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found nut-2.7.2.tar.gz
  -> Found nut-2.7.2.tar.gz.sig
==> Validating source files with sha256sums...
    nut-2.7.2.tar.gz ... Passed
    nut-2.7.2.tar.gz.sig ... Skipped
==> Verifying source file signatures with gpg...
    nut-2.7.2.tar.gz ... FAILED (unknown public key DB6414CA204DDF1B)
==> WARNING: Warnings have occurred while verifying the signatures.
    Please make sure you really trust them.
==> Extracting sources...
  -> Extracting nut-2.7.2.tar.gz with bsdtar
==> Removing existing pkg/ directory...
==> Starting build()...
Network UPS Tools version 2.7.2
checking build system type... armv5tel-unknown-linux-gnueabi
checking host system type... armv5tel-unknown-linux-gnueabi
checking target system type... armv5tel-unknown-linux-gnueabi
checking for host system name...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for autoconf macro to enable system extensions... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for egrep... (cached) /usr/bin/grep -E
checking for ar... /usr/bin/ar
checking for ranlib... ranlib
checking whether byte ordering is bigendian... no
checking for inline... inline
checking for flexible array members... yes
checking for variable-length arrays... yes
checking for flock... yes
checking for lockf... yes
checking for fcvt... yes
checking for fcvtl... no
checking for cfsetispeed... yes
checking for tcsendbreak... yes
checking for seteuid... yes
checking for setsid... yes
checking for getpassphrase... no
checking for on_exit... yes
checking for strptime... yes
checking for setlogmask... yes
checking whether LOG_UPTO is declared... yes
checking for vsnprintf... yes
checking for snprintf... yes
checking for setenv... yes
checking for strerror... yes
checking for atexit... yes
checking for pkg-config... no
checking for CPPUNIT... no
configure: WARNING: libcppunit not found.
checking whether optind is declared... yes
checking for getopt.h... yes
checking for getopt_long... yes
checking whether uu_lock is declared... no
checking whether __func__ is declared... yes
checking for library containing gethostbyname... none required
checking for library containing connect... none required
checking whether time.h and sys/time.h may both be included... yes
checking for sys/modem.h... no
checking for stdarg.h... yes
checking for varargs.h... no
checking for sys/termios.h... yes
checking for sys/time.h... yes
checking for library containing pthread_create... -lpthread
checking for socklen_t... yes
checking for --with-all... not given
checking for Net-SNMP version via net-snmp-config... 5.7.2.1 found
checking for Net-SNMP cflags... -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -march=armv5te -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl5/core_perl/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -I/usr/include
checking for Net-SNMP libs... -Wl,-O1,--sort-common,--as-needed,-z,relro -L/usr/lib -lnetsnmp -lcrypto -lm
checking for net-snmp/net-snmp-config.h... yes
checking for init_snmp... yes
checking for libusb version via pkg-config... checking via libusb-config... 0.1.12 found
checking for libusb cflags...
checking for libusb ldflags... -L/usr/lib -lusb
checking for usb.h... yes
checking for usb_init... yes
checking for usb_detach_kernel_driver_np... yes
checking for libneon version via pkg-config (0.25.0 minimum required)... none found
checking for libneon cflags...
checking for libneon ldflags...
checking for ne_xmlreq.h... no
checking for ne_xml_dispatch_request... no
checking for libpowerman cflags...
checking for libpowerman libs...
checking for libpowerman.h... no
checking for pm_connect... no
checking for avahi-core version via pkg-config (0.6.30 minimum required)... none found
checking for avahi-client version via pkg-config (0.6.30 minimum required)... none found
checking for avahi cflags...
checking for avahi ldflags...
checking for avahi-common/malloc.h... yes
checking for avahi_free... no
checking whether to build serial drivers... yes
checking whether to build USB drivers... yes
checking whether to build SNMP drivers... yes
configure: error: "neon libraries not found, required for neon based XML/HTTP driver"
==> ERROR: A fa
Owned by me
Pink Pogo V2, Black Pogo V3, Zyxel NAS 325 v1,
Adminstrator for
Goflex net, Black V3, Black V2
Socaltom
 
Posts: 569
Joined: Thu Apr 07, 2011 2:21 pm
Location: The left side

Re: network-ups-tools

Postby moonman » Wed Jan 28, 2015 10:32 am

It seems to me your system is not up to date since --asroot is no longer available for makepkg. So this may be your problem. It compiled fine for me: https://dl.dropboxusercontent.com/u/150 ... pkg.tar.xz
Pogoplug V4 | GoFlex Home | Raspberry Pi B 512 | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | |[armv5] How to install my.pogoplug.com service | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3121
Joined: Sat Jan 15, 2011 3:36 am
Location: Calgary, Canada

Re: network-ups-tools

Postby Socaltom » Thu Jan 29, 2015 4:45 am

Thanks moonman.
Tom
Owned by me
Pink Pogo V2, Black Pogo V3, Zyxel NAS 325 v1,
Adminstrator for
Goflex net, Black V3, Black V2
Socaltom
 
Posts: 569
Joined: Thu Apr 07, 2011 2:21 pm
Location: The left side


Return to Package Requests

Who is online

Users browsing this forum: No registered users and 2 guests