[WIP] kb3gtn's bladeRF libusb setup guide (ubuntu 13.04)

Follow our development of DSP and SDR tutorials

Moderator: robert.ghilduta

jynik
Posts: 455
Joined: Thu Jun 06, 2013 8:15 pm

Re: [WIP] kb3gtn's bladeRF libusb setup guide (ubuntu 13.04)

Post by jynik » Mon Feb 24, 2014 8:16 pm

carrotface013 wrote:What is meant by "Assuming you added /opt/bladeRF/bin to your path or system path."?
How do I know if I have done this or not?
Assuming you're using bash, echo $PATH. Items you've added to your binary search path in your .bashrc or via the system wide configurations (e.g., /etc/profile.d/ items) should appear in the list. Library search paths are configured via the ldconfig command and items in the /etc/ld.so.conf.d/ directory).

Note that this thread is very dated. The details here have been migrated to the "Getting Started" guides on the wiki. If you run into problems with those guides on the wiki, feel free to ask questions on IRC or start a new thread in the Troubleshooting forum.

Note that the Troubleshooting wiki page also has some common "gotchas" and issues people encounter.

andrew77
Posts: 28
Joined: Mon Mar 02, 2015 2:02 pm

Re: [WIP] kb3gtn's bladeRF libusb setup guide (ubuntu 13.04)

Post by andrew77 » Wed Mar 04, 2015 1:58 pm

Unfortunately I couldn't build this version of gnuradio because:

sudo -u giorgio ./build-gnuradio -m prereqs gitfetch

This script will install Gnu Radio from current GIT sources
You will require Internet access from the computer on which this
script runs. You will also require SUDO access. You will require
approximately 500MB of free disk space to perform the build.

This script will, as a side-effect, remove any existing Gnu Radio
installation that was installed from your Linux distribution packages.
It must do this to prevent problems due to interference between
a linux-distribution-installed Gnu Radio/UHD and one installed from GIT source.

The whole process may take up to two hours to complete, depending on the
capabilities of your system.

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
NOTE: if you run into problems while running this script, you can re-run it with
the --verbose option to produce lots of diagnostic output to help debug problems.
This script has been written to anticipate some of the more common problems one might
encounter building ANY large, complex software package. But it is not pefect, and
there are certainly some situations it could encounter that it cannot deal with
gracefully. Altering the system configuration from something reasonably standard,
removing parts of the filesystem, moving system libraries around arbitrarily, etc,
it likely cannot cope with. It is just a script. It isn't intuitive or artificially
intelligent. It tries to make life a little easier for you, but at the end of the day
if it runs into trouble, a certain amount of knowledge on your part about
system configuration and idiosyncrasies will inevitably be necessary.


Proceed?y
SUDO privileges are required
Do you have SUDO privileges?y
Continuing with script
./build-gnuradio: line 1411: tmp5291: Permission denied
cat: tmp5291: No such file or directory

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.

[sudo] password for giorgio:
Installing prerequisites.
====> THIS MAY TAKE QUITE SOME TIME <=====
Unsupported Debian version Kali Linux 1.0.6

Any suggestions? Thanks

andrew77
Posts: 28
Joined: Mon Mar 02, 2015 2:02 pm

Re: [WIP] kb3gtn's bladeRF libusb setup guide (ubuntu 13.04)

Post by andrew77 » Thu Mar 05, 2015 5:24 am

Solved!
I replaced in Debiad distro file with Kali Linux 6.0 instead of Kali Linux 1.1.0,
but I have another question:
"on some 64 bit systems, you might need a lib64 directory in this file as well"
How can I do that?
and when I type: ldconfig -v | grep gnuradio
this is the output:
ldconfig: Can't stat /lib/i486-linux-gnu: No such file or directory
ldconfig: Can't stat /usr/lib/i486-linux-gnu: No such file or directory
ldconfig: Path `/lib/x86_64-linux-gnu' given more than once
ldconfig: Path `/usr/lib/x86_64-linux-gnu' given more than once
/opt/gnuradio-3.7.6.1/lib:
libgnuradio-runtime-3.7.6.1.so.0.0.0 -> libgnuradio-runtime.so
libgnuradio-wavelet-3.7.6.1.so.0.0.0 -> libgnuradio-wavelet.so
libgnuradio-filter-3.7.6.1.so.0.0.0 -> libgnuradio-filter.so
libgnuradio-fcd-3.7.6.1.so.0.0.0 -> libgnuradio-fcd.so
libgnuradio-pager-3.7.6.1.so.0.0.0 -> libgnuradio-pager.so
libgnuradio-fec-3.7.6.1.so.0.0.0 -> libgnuradio-fec.so
libgnuradio-digital-3.7.6.1.so.0.0.0 -> libgnuradio-digital.so
libgnuradio-noaa-3.7.6.1.so.0.0.0 -> libgnuradio-noaa.so
libgnuradio-wxgui-3.7.6.1.so.0.0.0 -> libgnuradio-wxgui.so
libgnuradio-qtgui-3.7.6.1.so.0.0.0 -> libgnuradio-qtgui.so
libgnuradio-pmt-3.7.6.1.so.0.0.0 -> libgnuradio-pmt.so
libgnuradio-atsc-3.7.6.1.so.0.0.0 -> libgnuradio-atsc.so
libgnuradio-analog-3.7.6.1.so.0.0.0 -> libgnuradio-analog.so
libgnuradio-trellis-3.7.6.1.so.0.0.0 -> libgnuradio-trellis.so
libgnuradio-video-sdl-3.7.6.1.so.0.0.0 -> libgnuradio-video-sdl.so
libgnuradio-channels-3.7.6.1.so.0.0.0 -> libgnuradio-channels.so
libgnuradio-dtv-3.7.6.1.so.0.0.0 -> libgnuradio-dtv.so
libgnuradio-audio-3.7.6.1.so.0.0.0 -> libgnuradio-audio.so
libgnuradio-vocoder-3.7.6.1.so.0.0.0 -> libgnuradio-vocoder.so
libgnuradio-blocks-3.7.6.1.so.0.0.0 -> libgnuradio-blocks.so
libgnuradio-fft-3.7.6.1.so.0.0.0 -> libgnuradio-fft.so
ldconfig: Cannot stat /usr/lib/x86_64-linux-gnu/libjackserver.so: No such file or directory

how can I proceed? I'm new of linux
thanks

Post Reply