Basic usrp cygwin install questions

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:

[[email protected] ~]$ 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:

<http://sourceforge.net/project/showfiles.php?group_id=153722&package_id=174
259>
http://sourceforge.net/project/showfiles.php?group_id=153722&package_id=1742
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.

When you get everything worked out, can you please post your procedure
so
that others can use it.

Thanks in advance,
Isaac

View this message in context:
http://www.nabble.com/basic-usrp-cygwin-install-questions-tp19399754p19401189.html
Sent from the GnuRadio mailing list archive at Nabble.com.

I don’t know if the stuff below will help you, I did not experience any
direct hassel during cygwin installation. Can you be more specific to
where your build failed? In my config.log I can see that libusb is not
found, but -lusb works. So ./configure do not stop for me

I have libusb in
/lib and /usr/lib
and headers in /usr/include

Stuff:
less /usr/share/doc/Cygwin/libusb-win32-0.1.12.1.README:

The driver is not installed by default since it is a potential
security hole.
For actually installing the driver, run

/usr/sbin/libusb-install

And run testlibusb-win for checking that it succeded: it should print

DLL version: 0.1.12.1
Driver version: 0.1.12.1

and a list of your USB devices. Use /usr/sbin/libusb-uninstall for
uninstalling
them (it is performed at package removal).

/Ulf


From: [email protected]main.invalid
[mailto:[email protected]main.invalid] On
Behalf Of Paul M.
Sent: den 9 september 2008 21:43
To: [email protected]
Subject: [Discuss-gnuradio] basic usrp cygwin install questions

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:

[[email protected] ~]$ 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:

http://sourceforge.net/project/showfiles.php?group_id=153722&package_id=
174259
<http://sourceforge.net/project/showfiles.php?group_id=153722&package_id
=174259>

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.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs