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: Marcus Müller
Subject: Re: [Discuss-gnuradio] buildroot installation not generating/placing .pc files
Date: Thu, 17 Nov 2016 18:15:27 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0

Hi Gustelfuldeath,

this looks like the environment in which you try to build gr-iio doesn't see the packageconfig files. You might want to set the PKG_CONFIG_PATH environment variable to include the path where the GNU Radio installation put the gnuradio-xxxx.pc files.


Best regards,

Marcus


On 17.11.2016 18:11, Marcus Müller 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]