discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] buildroot installation not generating/placing .pc


From: gutelfuldead .
Subject: Re: [Discuss-gnuradio] buildroot installation not generating/placing .pc files
Date: Fri, 18 Nov 2016 13:57:17 -0500

Hey gwenj,

I resolved the issue though I'm not entirely sure why this worked. Previously I installed everything in bulk sans the gr-iio recipe. Then I attempted to make that separately and install it. Leading to the issue of the original make not placing the pkg-config files in staging. 

The fix: 

Install gnuradio with block support alone on the image. Then add gr-analog (and dependencies) and use

$ make gnuradio-reconfigure

This successfully placed the .pc file in the path. I still don't know why it was an issue when I ran it in bulk and why it wasn't generating the proper files.

If anyone is interested and runs into the same problems I threw the libad9361-iio and gr-iio config and mk files up in github - https://github.com/gutelfuldead/buildroot_packages for my own use later.

Thanks

PS Sorry for awful formatting Marcus; my mailer uses a MarkDown converter plugin. I assumed when I did not use the conversion it would print out plain text (I couldn't have been more wrong)

> Hi,
> 
> Could you sent your package config and .mk (and maybe the defconfig) to
> be able to reproduce this error?
> Your issue may be a problem with gnuradio package or something missing
> in your .mk (dependency to host-gnuradio for example). Thanks
> 
> Gwenhael
> 
>  On Thu, 17 Nov 2016 18:11:07 +0100
> Marcus Müller <address@hidden> wrote:
> 
> > Hi Gustelfuldeath,
> > 
> > the plain text version of your Email is utterly broken, and my mail
> > program (and other sensible mail programs) won't display the HTML
> > version if that contains a mean user tracking image (like yours does).
> > So, in other words, thanks to your mail application, your email is
> > pretty impossible to read. I got your original text from the HTML
> > source code (and, see below, it's not sensible HTML, which is why the
> > plain text version is all messed up). I've taken the freedom to paste
> > it here, so you can get help. Please talk to your mail system
> > admistrator to give you a less broken client.
> > 
> > Hey,
> > I am working on an embedded system build (zedboard) using buildroot
> > that is installing GNURadio and a handful of OOT Modules. The entire
> > system builds without errors with options:
> > 
> >  * gnuradio
> >       * blocks support
> >       * ctrlport support
> >       * gr-fec support
> >       * python support
> >               * gr-utils support
> >       * gr-analog support
> >       * gr-channels support
> >       * gr-digital support
> >       * gr-fft support
> >       * gr-filter support
> >       * gr-flex support
> >       * gr-trellis support
> > 
> > I then created the config and mk files to install gr-iio. However as
> > buildroot attempts to make and install it to the target system I
> > receive the following error:
> > 
> >                       Checking for GNU Radio Module: RUNTIME
> >                       -- Checking for module 'gnuradio-runtime'
> >                       --   Found gnuradio-runtime, version 3.7.9.1
> >                        *
> > INCLUDES=/home/afx/zedboard/buildroot-2016.08.1/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include
> >                        *
> > LIBS=/home/afx/zedboard/buildroot-2016.08.1/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libgnuradio-runtime.so;/home/afx/zedboard/buildroot-2016.08.1/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libgnuradio-pmt.so
> > -- Found
> > GNURADIO_RUNTIME: 
> > /home/afx/zedboard/buildroot-2016.08.1/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libgnuradio-runtime.so;/home/afx/zedboard/buildroot-2016.08.1/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libgnuradio-pmt.so
> > GNURADIO_RUNTIME_FOUND = TRUE Checking for GNU Radio Module: ANALOG
> > -- Checking for module 'gnuradio-analog' --   Package gnuradio-analog
> > was not found in the pkg-config search path. Perhaps you should add
> > the directory containing `gnuradio-analog.pc' to the PKG_CONFIG_PATH
> > environment variable Package 'gnuradio-analog', required by 'world',
> > not found
> >                        *
> > INCLUDES=GNURADIO_ANALOG_INCLUDE_DIRS-NOTFOUND
> >                        *
> > LIBS=GNURADIO_ANALOG_LIBRARIES_gnuradio-analog-NOTFOUND -- Could NOT
> > find GNURADIO_ANALOG (missing:  GNURADIO_ANALOG_LIBRARIES
> > GNURADIO_ANALOG_INCLUDE_DIRS) GNURADIO_ANALOG_FOUND = FALSE CMake
> > Error
> > at 
> > /home/afx/zedboard/buildroot-2016.08.1/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/cmake/gnuradio/GnuradioConfig.cmake:110
> > (message): Required GNU Radio Component: ANALOG missing! Call Stack
> > (most recent call
> > first): 
> > /home/afx/zedboard/buildroot-2016.08.1/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/cmake/gnuradio/GnuradioConfig.cmake:118
> > (GR_MODULE) CMakeLists.txt:120 (find_package)
> > 
> > 
> > The closest solution I can find to this problem is in (
> > https://github.com/gnuradio/gr-tutorial/issues/8 ) which was resolved
> > by updating GNU Radio to a version that is downstream of my current
> > version (3.7.9.1). Has anyone experienced similar issues or know how
> > to force GNU Radio to generate and place the appropriate .so files?
> > 
> > Thanks.
> > 
> > 
> > On 17.11.2016 15:44, gutelfuldead wrote:
> > > Hey, I am working on an embedded system build (zedboard) using
> > > buildroot that is installing GNURadio and a handful of OOT Modules.
> > > The entire system builds without errors with options: * gnuradio *
> > > blocks support * ctrlport support * gr-fec support * python support
> > > * gr-utils support * gr-analog support * gr-channels support *
> > > gr-digital support * gr-fft support * gr-filter support * gr-flex
> > > support * gr-trellis support I then created the config and mk files
> > > to install gr-iio. However as buildroot attempts to make and
> > > install it to the target system I receive the following error:
> > > Checking for GNU Radio Module: RUNTIME -- Checking for module
> > > 'gnuradio-runtime' -- Found gnuradio-runtime, version 3.7.9.1 *
> > > INCLUDES=/home/afx/zedboard/buildroot-2016.08.1/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include
> > > *
> > > LIBS=/home/afx/zedboard/buildroot-2016.08.1/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libgnuradio-runtime.so;/home/afx/zedboard/buildroot-2016.08.1/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libgnuradio-pmt.so
> > > -- Found GNURADIO_RUNTIME:
> > > /home/afx/zedboard/buildroot-2016.08.1/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libgnuradio-runtime.so;/home/afx/zedboard/buildroot-2016.08.1/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libgnuradio-pmt.so
> > > GNURADIO_RUNTIME_FOUND = TRUE Checking for GNU Radio Module: ANALOG
> > > -- Checking for module 'gnuradio-analog' -- Package gnuradio-analog
> > > was not found in the pkg-config search path. Perhaps you should add
> > > the directory containing `gnuradio-analog.pc' to the PKG_CONFIG_PATH
> > > environment variable Package 'gnuradio-analog', required by 'world',
> > > not found * INCLUDES=GNURADIO_ANALOG_INCLUDE_DIRS-NOTFOUND *
> > > LIBS=GNURADIO_ANALOG_LIBRARIES_gnuradio-analog-NOTFOUND -- Could NOT
> > > find GNURADIO_ANALOG (missing: GNURADIO_ANALOG_LIBRARIES
> > > GNURADIO_ANALOG_INCLUDE_DIRS) GNURADIO_ANALOG_FOUND = FALSE CMake
> > > Error at
> > > /home/afx/zedboard/buildroot-2016.08.1/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/cmake/gnuradio/GnuradioConfig.cmake:110
> > > (message): Required GNU Radio Component: ANALOG missing! Call Stack
> > > (most recent call first):
> > > /home/afx/zedboard/buildroot-2016.08.1/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/cmake/gnuradio/GnuradioConfig.cmake:118
> > > (GR_MODULE) CMakeLists.txt:120 (find_package) The closest solution I
> > > can find to this problem is in (
> > > https://github.com/gnuradio/gr-tutorial/issues/8 ) which was
> > > resolved by updating GNU Radio to a version that is downstream of
> > > my current version (3.7.9.1). Has anyone experienced similar issues
> > > or know how to force GNU Radio to generate and place the
> > > appropriate .so files? Thanks.
> > >
> > >
> > > _______________________________________________
> > > Discuss-gnuradio mailing list
> > > address@hidden
> > > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio  
> > 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]