I’m a Linux newbie and have been trying to install Gnuradio with USRP
(USB-based peripheral hardware) under Cygwin and following directions
beginning here:
http://gnuradio.org/trac/wiki/CygwinInstallMain
http://gnuradio.org/trac/wiki/CygwinInstallMain
Have worked my way through various dependency issues, and I’ve searched
archives and started from scratch several times, trying to avoid
bothering
this list with questions already covered. However, I am tearing my hair
out
over this:
Gnuradio build process gives message ‘libusb not found’ and builds with
certain key services missing. Libusb-win32 is definitely installed, as
part
of the regular Cygwin setup, but this did not result in any libusb.pc
file
in any of my PkgConfig folders. These are the packages with .pc files
$ ls -l /usr/local/lib/pkgconfig/
total 5
-rwxr-xr-x 1 Paul None 221 Sep 8 13:46 fftw.pc
-rw-r–r-- 1 Paul None 221 Sep 3 13:54 fftw3f.pc
-rw-r–r-- 1 Paul None 297 Sep 8 14:09 gnuradio-core.pc
-rw-r–r-- 1 Paul None 289 Sep 8 14:05 gnuradio-omnithread.pc
-rw-r–r-- 1 Paul None 243 Sep 3 10:57 portaudio-2.0.pc
The same files are also found in /usr/local/bin/pkgconfig. Eric blossom
posted these as part of a response to a similar query:
[eb@cyan ~]$ ls -l /usr/local/lib/pkgconfig/
total 24
-rw-r–r-- 1 eb wheel 218 2006-03-06 19:17 fftw3.pc
-rw-r–r-- 1 eb wheel 219 2006-03-06 19:10 fftw3f.pc
-rw-r–r-- 1 eb eb 291 2006-09-10 11:06 gnuradio-core.pc
-rw-r–r-- 1 eb eb 206 2006-08-26 22:15 libusb.pc
-rw-r–r-- 1 eb eb 245 2006-08-23 21:01 portaudio-2.0.pc
-rw-r–r-- 1 eb eb 238 2006-09-10 11:06 usrp.pc
Note that I appear to be missing both libusb.pc and usrp.pc files.
Looking around the web, I found that others having the same or similar
problems were advised to install ‘libusb-devel’. Here’s a typical
example of
such advice:
-----If ./configure complains about missing package “libfoo”, the first
thing to try is to install “libfoo-devel”.-----
I had trouble finding any libusb-devel in a tarball, but located one
here:
<Barry - Browse Files at SourceForge.net
259>
Barry - Browse Files at SourceForge.net
59
However, the above package has no ‘configure’ file. (It does have
‘configure.in’, but is definitely missing ‘configure’.) I was expecting
to
be able to use the following commands to get this installed:
./configure
make
make check
make install
Obviously, I can’t proceed without ‘configure’. Any suggestions for how
to
proceed will be greatly appreciated.
Paul M.