# Installing gnuradio and gr-osmosdr

**URL:** <https://www.ruby-forum.com/t/installing-gnuradio-and-gr-osmosdr/231943>\
**Category:** GNU Radio\
**Created:** [September 8, 2014, 4:10pm UTC](https://www.ruby-forum.com/t/installing-gnuradio-and-gr-osmosdr/231943 "2014-09-08T16:10:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![addis\_a](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/c4cdca/32.png) [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Post date:** [September 8, 2014, 4:10pm UTC](https://www.ruby-forum.com/t/installing-gnuradio-and-gr-osmosdr/231943/1 "2014-09-08T16:10:50Z")

</div>

having a hard time getting gnuradio to work with my dvb-t usb stick

latest attempt has been to move to using pybomb, e.g.

> **[How to install GNU Radio, FFTW, RTL SDR, GrOsmoSDR, and more using PyBombs...](https://smyl.es/how-to-install-gnu-radio-fftw-rtl-sdr-grosmosdr-and-more-using-pybombs-with-dependencies-by-rpmdeb-or-build-from-source/)**

originally i installed gnuradio and gnuradio-dev via apt-get install,  
under ubuntu 14.04 which gave me gnuradio v2.7.2.1

i then tried to build gr-osomosdr but it failed (i took the cmake route  
as per: [GrOsmoSDR - gr-osmosdr - Open Source Mobile Communications](http://sdr.osmocom.org/trac/wiki/GrOsmoSDR))

maybe i don’t need to build gr-osmosdr if it is already packaged up with  
gnuradio, how could i see if the block is there, i.e. what dir would it  
be in if it existed?

unfortunately pybomb fails with the following error:  
$sudo ./pybombs install gnuradio

[29%] Built target \_wavelet\_swig\_swig\_tag  
make[2]: \*\*\* No rule to make target  
`/usr/include/gnuradio/blocks/vector_sink_c.h', needed by `gr-blocks/swig/blocks\_swig1\_gr\_blocks\_swig\_a6e57.cpp’. Stop.  
make[1]: \*\*\*  
[gr-blocks/swig/CMakeFiles/blocks\_swig1\_gr\_blocks\_swig\_a6e57.dir/all]  
Error 2  
make[1]: \*\*\* Waiting for unfinished jobs…  
[29%] Built target pmt\_swig\_gnuradio\_runtime\_swig\_7dd5e  
[29%] Built target blocks\_swig0\_gr\_blocks\_swig\_a6e57  
[33%] Built target gnuradio-runtime  
make: \*\*\* [all] Error 2  
ERROR:root:PyBOMBS Make step failed for package (gnuradio) please see  
bash output above for a reason (hint: look for the word Error)

also gr-osmosdr also fails:  
$sudo ./pybombs install gr-osmosdr

Built target \_wxgui\_swig\_swig\_tag  
make[2]: \*\*\* No rule to make target  
`/usr/include/gnuradio/blocks/vector_sink_c.h', needed by `gr-blocks/swig/blocks\_swig1\_gr\_blocks\_swig\_a6e57.cpp’. Stop.  
make[1]: \*\*\*  
[gr-blocks/swig/CMakeFiles/blocks\_swig1\_gr\_blocks\_swig\_a6e57.dir/all]  
Error 2  
make[1]: \*\*\* Waiting for unfinished jobs…  
[29%] Built target pmt\_swig\_gnuradio\_runtime\_swig\_7dd5e  
[29%] Built target blocks\_swig0\_gr\_blocks\_swig\_a6e57  
[33%] Built target gnuradio-runtime  
make: \*\*\* [all] Error 2  
ERROR:root:PyBOMBS Make step failed for package (gnuradio) please see  
bash output above for a reason (hint: look for the word Error)

anyone else seen this sort of issue?

---

<div class="post-metadata">

**Author:** ![benhiller](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/8e7dd6/32.png) [@benhiller](https://www.ruby-forum.com/u/benhiller)\
**Post date:** [September 8, 2014, 4:34pm UTC](https://www.ruby-forum.com/t/installing-gnuradio-and-gr-osmosdr/231943/2 "2014-09-08T16:34:57Z")

</div>

I too had a lot of problems with getting gnuradio, gnrradio-companion to  
work with my RTL-SDR device.

After asking a ton of questions on this list and getting a lot of good  
help I got it working great.

One thing that seems to missing from the internet is a good step-by-step  
series of instructions on compiling from source & getting the gr-osmodr  
source blocks.

On this forum I posted my step by step commands that worked for me, I  
even repeated it a few times and it has worked every time:

> **[Easy Way to Install from Source GNURadio & RTL Source Blocks.](https://forums.hak5.org/index.php?%2Ftopic%2F33506-easy-way-to-install-from-source-gnuradio-rtl-source-blocks%2F)**
>
> I've spent countless hours trying to get GNURadio-Companion to install along with the needed "source blocks" to make an RTL-SDR Dongle work.Online documention on this is very poor.But I've got it to work, and just for fun I did it twice!This How-To...

Good luck and keep trying.  
George  
[www.MilAirComms.com](http://www.MilAirComms.com)

* * *

From: Ben H. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
To: discuss gnuradio [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
Sent: Monday, September 8, 2014 10:09 AM  
Subject: [Discuss-gnuradio] installing gnuradio and gr-osmosdr

having a hard time getting gnuradio to work with my dvb-t usb stick

latest attempt has been to move to using pybomb, e.g.

> **[How to install GNU Radio, FFTW, RTL SDR, GrOsmoSDR, and more using PyBombs...](https://smyl.es/how-to-install-gnu-radio-fftw-rtl-sdr-grosmosdr-and-more-using-pybombs-with-dependencies-by-rpmdeb-or-build-from-source/)**

originally i installed gnuradio and gnuradio-dev via apt-get install,  
under ubuntu 14.04 which gave me gnuradio v2.7.2.1

i then tried to build gr-osomosdr but it failed (i took the cmake route  
as per: [GrOsmoSDR - gr-osmosdr - Open Source Mobile Communications](http://sdr.osmocom.org/trac/wiki/GrOsmoSDR))

maybe i don’t need to build gr-osmosdr if it is already packaged up with  
gnuradio, how could i see if the block is there, i.e. what dir would it  
be in if it existed?

unfortunately pybomb fails with the following error:  
$sudo ./pybombs install gnuradio

[29%] Built target \_wavelet\_swig\_swig\_tag  
make[2]: \*\*\* No rule to make target  
`/usr/include/gnuradio/blocks/vector_sink_c.h', needed by `gr-blocks/swig/blocks\_swig1\_gr\_blocks\_swig\_a6e57.cpp’. Stop.  
make[1]: \*\*\*  
[gr-blocks/swig/CMakeFiles/blocks\_swig1\_gr\_blocks\_swig\_a6e57.dir/all]  
Error 2  
make[1]: \*\*\* Waiting for unfinished jobs…  
[29%] Built target pmt\_swig\_gnuradio\_runtime\_swig\_7dd5e  
[29%] Built target blocks\_swig0\_gr\_blocks\_swig\_a6e57  
[33%] Built target gnuradio-runtime  
make: \*\*\* [all] Error 2  
ERROR:root:PyBOMBS Make step failed for package (gnuradio) please see  
bash output above for a  
reason (hint: look for the word Error)

also gr-osmosdr also fails:  
$sudo ./pybombs install gr-osmosdr

Built target \_wxgui\_swig\_swig\_tag  
make[2]: \*\*\* No rule to make target  
`/usr/include/gnuradio/blocks/vector_sink_c.h', needed by `gr-blocks/swig/blocks\_swig1\_gr\_blocks\_swig\_a6e57.cpp’. Stop.  
make[1]: \*\*\*  
[gr-blocks/swig/CMakeFiles/blocks\_swig1\_gr\_blocks\_swig\_a6e57.dir/all]  
Error 2  
make[1]: \*\*\* Waiting for unfinished jobs…  
[29%] Built target pmt\_swig\_gnuradio\_runtime\_swig\_7dd5e  
[29%] Built target blocks\_swig0\_gr\_blocks\_swig\_a6e57  
[33%] Built target gnuradio-runtime  
make: \*\*\* [all] Error 2  
ERROR:root:PyBOMBS Make step failed for package (gnuradio) please see  
bash output  
above for a reason (hint: look for the word Error)

anyone else seen this sort of issue?
