# Building gr-osmosdr - cannot find gnuradio

**URL:** <https://www.ruby-forum.com/t/building-gr-osmosdr-cannot-find-gnuradio/231912>\
**Category:** GNU Radio\
**Created:** [September 5, 2014, 5:21pm UTC](https://www.ruby-forum.com/t/building-gr-osmosdr-cannot-find-gnuradio/231912 "2014-09-05T17:21:53Z")\
**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 5, 2014, 5:21pm UTC](https://www.ruby-forum.com/t/building-gr-osmosdr-cannot-find-gnuradio/231912/1 "2014-09-05T17:21:53Z")

</div>

i’m trying to build the gnuradio block from osmocon so i can use an  
rtlsdr with gnuradio

have installed gnuradio for ubuntu 14.04 using apt-get

then when i try and build gr-osmosdr i get the following:

– Build type not specified: defaulting to release.  
– Extracting version information from git describe…  
– Configuring Boost C++ Libraries…  
– Boost version: 1.54.0  
– Found the following Boost libraries:  
– thread  
– system  
CMake Error at CMakeLists.txt:151 (find\_package):  
By not providing “FindGnuradio.cmake” in CMAKE\_MODULE\_PATH this  
project has  
asked CMake to find a package configuration file provided by  
“Gnuradio”,  
but CMake did not find one.

Could not find a package configuration file provided by “Gnuradio”  
(requested version 3.7.3) with any of the following names:

```
GnuradioConfig.cmake
gnuradio-config.cmake

```

Add the installation prefix of “Gnuradio” to CMAKE\_PREFIX\_PATH or set  
“Gnuradio\_DIR” to a directory containing one of the above files. If  
“Gnuradio” provides a separate development package or SDK, be sure it  
has  
been installed.

– Configuring incomplete, errors occurred!  
See also “/home/ben/gr-osmosdr/build/CMakeFiles/CMakeOutput.log”.

can’t find any reference to gnuradio in /opt or /usr/local

echo $PKG\_CONFIG\_PATH returns nothing

I can’t find gnuradio-runtime.pc anywhere on my machine

I did find a mail list thread from Jordan J. from Apr 10 2014  
outlining a similar issue

he suggested building from source, tried this using the marcus leech  
script but this failed after running for 2hours

Is the apt-get package broken for ubuntu 14.04 and gnuradio 3.7.2.1?

I will try the build script again with verbose turned on but have run  
out of time today to try it again

Is this a common problem with a simple workaround?

would really like to be able to get the rtl stick talking to gnuradio  
but without the source block i don’t think i can make much further  
progress…

- ben

---

<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 5, 2014, 5:36pm UTC](https://www.ruby-forum.com/t/building-gr-osmosdr-cannot-find-gnuradio/231912/2 "2014-09-05T17:36:07Z")

</div>

I haven’t used those packages, but is there a gnuradio-dev, and did you  
install it? And which version of gnuradio do you have?

M
