I’m hoping someone can provide some insight to a build problem I’m
I’m building 3.3.0 to use with an Ettus R. USRP1.
I’m given to understand that I need to build 3.3.0 as that was the last
release which is compatible with the usrp1.
I’ve gone through the dependencies and have installed them.
The priority for me is getting the usrp functionality and grc built.
When I do a ./configure I get these results:
The following GNU Radio components have been successfully configured:
You my now run the make command to build these components.
The following components were skipped either because you asked not
to build them or they didn’t pass configuration checks:
These components will not be built.
In the build log, I see that usb.h is not found/usable (line 337 in the
pastebin listed later):
checking for usb.h… no
USRP requires libusb header ‘usb.h’ which was not found or was not
usable. See http://www.libusb.org
Unable to find dependency libusb.
Libusb was installed when I installed uhd-devel @3.7.1 via port.
I’ve also built and installed from libusb.org’s 1.0 source.
port installed | grep usb
libusb @1.0.18_0 (active)
mikec-macbook-pro:gnuradio-3.3.0 mikec$ cd /usr/local/include/
mikec-macbook-pro:include mikec$ ls -l usb*
-rw-rw-r–+ 1 root wheel 8360 Sep 10 2009 usb.h
-rw-rw-r–+ 1 root wheel 24428 Sep 10 2009 usbpp.h
mikec-macbook-pro:include mikec$ cd …/lib
mikec-macbook-pro:lib mikec$ ls -l libusb*
-rwxrwxr-x+ 1 root wheel 140248 Sep 10 2009 libusb-0.1.4.dylib
-rwxr-xr-x 1 root wheel 103760 Apr 27 14:59 libusb-1.0.0.dylib
-rw-r–r-- 1 root wheel 366200 Apr 27 14:59 libusb-1.0.a
lrwxr-xr-x 1 root wheel 18 Apr 27 14:59 libusb-1.0.dylib ->
-rwxr-xr-x 1 root wheel 935 Apr 27 14:59 libusb-1.0.la
-rw-rw-r–+ 1 root wheel 167156 Sep 10 2009 libusb.a
-rwxrwxr-x+ 1 root wheel 914 Sep 10 2009 libusb.la
-rwxrwxr-x+ 1 root wheel 270248 Sep 10 2009 libusbpp-0.1.4.dylib
-rw-rw-r–+ 1 root wheel 340380 Sep 10 2009 libusbpp.a
-rwxrwxr-x+ 1 root wheel 951 Sep 10 2009 libusbpp.la
Generally, /usr/local/include and /usr/local/lib are default locations,
but i’ve even set LDFLAGS="-L/usr/local/lib" and
CPPFLAGS="-I/usr/local/include" just in case.
I still get the same results.
Any input would be appreciated.
The entire build log is on pastebin at: http://pastebin.com/FubyMRAt