> > 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. > > > I believe that Gnu Radio "classic" still uses libusb-0, while UHD uses libusb-1. They are different APIs
> [root@aurora 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 > > [root@aurora 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 > > > [root@aurora 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? > > > _______________________________________________ > Discuss-gnuradio mailing list > [email protected] > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio > > > -- Principal Investigator Shirleys Bay Radio Astronomy Consortium http://www.sbrac.org _______________________________________________ Discuss-gnuradio mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
