Wind River Support Network


LIN6-3527 : usbutils: do_configure failed while using dash

Created: Apr 8, 2013    Updated: Mar 10, 2016
Resolved Date: Dec 3, 2013
Previous ID: LIN5-4697, LIN6-2881
Found In Version: 6.0
Fix Version: 6.0
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Userspace


checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for libusb_init in -lusb-1.0... no
configure: error: in `/WRLinux-cgl-cgl_qemux86-64_Fedora17-2013-04-08_09-32-11/bitbake_build/tmp/work/x86_64-wrs-linux/usbutils-0.91-r5/usbutils-0.91/usbhid-dump':
configure: error: libusb is required, but was not found, abort.
                     Try installing libusb-1.0-0-dev package.
See `config.log' for more details 
configure: error: ./configure failed for usbhid-dump
Configure failed. The contents of all config.log files follows to aid debugging

configure: exit 1
ERROR: oe_runconf failed
WARNING: exit code 1 from a shell command.
ERROR: Function failed: do_configure (see /WRLinux-cgl-cgl_qemux86-64_Fedora17-2013-04-08_09-32-11/bitbake_build/tmp/work/x86_64-wrs-linux/usbutils-0.91-r5/temp/do_configure/log.do_configure.24449 for further information)


Use bash to build.

Steps to Reproduce

1. Use dash as default sh
sudo ln -sf /usr/bin/dash /bin/sh

2. Build usbutils
make -C build libusb1.distclean usbutils.distclean
make -C build usbutils

3. Restore sh
sudo ln -sf /usr/bin/bash /bin/sh

Other Downloads

Live chat