AnsweredAssumed Answered

Gnuradio blocks/drivers for CentOS

Question asked by andy_f on Jan 8, 2016
Latest reply on Jan 8, 2016 by andy_f

Hi, I'm trying to set up the gnuradio blocks on CentOS 7.

Following the steps located at What is libiio? [Analog Devices Wiki]

I am able to setup build and install libiio.

Then I can build, and install the AD9361 drivers from analogdevicesinc/libad9361-iio · GitHub.

 

However when I go through the cmake + build + install process to install the gnuradio blocks

 

It fails with the following errors:

 

-- checking for module 'libiio'

--   package 'libiio' not found

CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:279 (message):

  A required package was not found

Call Stack (most recent call first):

  /usr/share/cmake/Modules/FindPkgConfig.cmake:333 (_pkg_check_modules_internal)

  CMakeLists.txt:106 (pkg_check_modules)

 

 

-- checking for module 'libad9361'

--   package 'libad9361' not found

CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:279 (message):

  A required package was not found

Call Stack (most recent call first):

  /usr/share/cmake/Modules/FindPkgConfig.cmake:333 (_pkg_check_modules_internal)

  CMakeLists.txt:108 (pkg_check_modules)

 

It seems to me that after installing the lines in the gnuradio/CMakeLists.txt

lines 105/106 can't locate the package configs

 

105 -- pkg_check_modules(IIO REQUIRED libiio)

106 -- pkg_check_modules(AD9361 REQUIRED libad9361)

 

but when I do

$ locate libiio.pc

/usr/lib/pkgconfig/libiio.pc

 

$ locate libad9361.pc

/usr/local/lib/pkgconfig/libad9361.pc

 

They are definitely there.

Do you know where pkg_check_modules looks?

Any help would be much appreciated

--Andy

Outcomes