discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] libusb-0.1 versus libusb-1.0


From: Brett L. Trotter
Subject: [Discuss-gnuradio] libusb-0.1 versus libusb-1.0
Date: Fri, 27 May 2011 03:08:31 -0500
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110419 Red Hat/3.1.10-1.el6_0 Thunderbird/3.1.10

So after discovering that while I had libusb-devel-0.1 and
libusb1-devel-1.0.3 installed on my RHEL-6 machine here (and ubuntu),
gnuradio compiled against 0.1 despite 0.1 being "ancient and
unsupported". I then removed libusb-devel and gnuradio fails to configure.


address@hidden gnuradio]# ls -lad /usr/lib64/libusb-1.0*
-rw-r--r--. 1 root root 81950 Nov 19  2009 /usr/lib64/libusb-1.0.a
lrwxrwxrwx. 1 root root    19 Jan  4 22:50 /usr/lib64/libusb-1.0.so ->
libusb-1.0.so.0.0.0
lrwxrwxrwx. 1 root root    19 Jan  2 17:59 /usr/lib64/libusb-1.0.so.0 ->
libusb-1.0.so.0.0.0
-rwxr-xr-x  1 root root 54976 Nov 19  2009 /usr/lib64/libusb-1.0.so.0.0.0

address@hidden gnuradio]# rpm -qa | grep -i libusb
libusb1-static-1.0.3-1.el6.x86_64
libusb1-1.0.3-1.el6.x86_64
libusb1-devel-1.0.3-1.el6.x86_64
libusb-0.1.12-23.el6.x86_64


address@hidden gnuradio]# ./configure --enable-docs --enable-grc
--enable-gnuradio-examples --enable-gr-utils --enable-gr-sounder
--enable-gr-qtgui --enable-gr-wxgui --enable-gr-video-sdl
--enable-gr-trellis --enable-gr-radio-astronomy --enable-gr-pager
--enable-gr-noaa --enable-gr-gsm-fr-vocoder --enable-gr-gpio
--enable-gr-cvsd-vocoder --enable-gr-atsc --enable-gr-audio-jack
--enable-gr-audio-alsa --enable-gr-usrp2 --enable-gr-usrp --enable-usrp2
--enable-usrp --enable-gnuradio-core --enable-gruel --enable-python
--enable-gr-uhd
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
...
...
configure: Checking for LIBUSB version 'libusb'
checking for USB... no
configure: Checking for LIBUSB version 'libusb-legacy'
checking for USB... no
Unable to find dependency libusb.
checking for sdcc... sdcc -mmcs51 --no-xinit-opt
checking for asx8051... asx8051 -plosgff
checking sdcc_version "2.9.0"... 2.9.0
configure: error: Component usrp has errors; stopping.



So just what is the status with libusb. Should it be compiling against
libusb-0.1 or should it be compiling against libusb-1.0 and if so, why
isn't configure finding libusb-1.0 on Ubuntu or RHEL-6?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]