Building gr-osmosdr - cannot find gnuradio

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
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:


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
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

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

  • ben

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?