[Nut-upsdev] ./configure excludes USB drivers and documentation
roger at rogerprice.org
Thu Jun 23 09:18:52 UTC 2016
Sorry for such a noob question, but I'm having a problem with 2.7.4
I down loaded the 2.7.4 tarball, unzipped. read the INSTALL and typed
./configure . The output of ./configure shows "build serial drivers: yes"
and build everything else is "no".
Looking at config.log, I see
configure:8104: checking for libusb version via pkg-config
configure:8111: checking via libusb-config
configure:8123: result: none found
configure:8126: checking for libusb cflags
configure:8146: checking for libusb ldflags
configure:8163: result: -lusb
configure:8168: checking for usb.h
configure:8168: gcc -c conftest.c >&5
conftest.c:92:17: fatal error: usb.h: No such file or directory
config.log also reports
Configured with: ../configure --prefix=/usr --infodir=/usr/share/info
--mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 ...
The 2.7.4 tarball includes ...nut-2.7.4/drivers/libusb.h
in addition to installed file /usr/include/libusb-1.0/libusb.h
but gcc doesn't see them.
Is it the intention of the 2.7.4 tarball that ./configure, make and make
install as described in INSTALL should produce a full rather than a
There must be something simple and obvious that I'm missing here. Any
hint or pointer would be much appreciated.
More information about the Nut-upsdev