Error in installation of gqrx

Hello all,

I tried to install gqrx using PyBOMBS. I have GNU Radio 3.7 installed
using
PyBOMBS.

*[email protected]:bin$ ./gnuradio-config-info -v
3.7.2git-0-gd19aa281

Then I did

*[email protected]:pybombs$ ./pybombs install gqrx
*
But I got the following output.

===========================================================
g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG
-DQT_NO_DEBUG_OUTPUT -DVERSION="“v2.2.0-33-gb15ec”" -DWITH_PULSEAUDIO
-D_REENTRANT -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_GUI_LIB -DQT_CORE_LIB
-DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g+±64 -I.
-I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui
-I/usr/include/qt4/QtSvg
-I/usr/include/qt4 -I/usr/local/include -I/usr/local/include/gnuradio
-I/usr/local/include/osmosdr -I. -I. -o lpf.o dsp/lpf.cpp
dsp/lpf.cpp:24:35: fatal error: gnuradio/io_signature.h: No such file or
directory
compilation terminated.
applications/gqrx/receiver.cpp:27:28: fatal error: gnuradio/prefs.h: No
such file or directory
compilation terminated.
make: *** [lpf.o] Error 1
make: *** Waiting for unfinished jobs…
make: *** [receiver.o] Error 1
In file included from applications/gqrx/mainwindow.h:44:0,
from applications/gqrx/main.cpp:30:
./applications/gqrx/receiver.h:32:32: fatal error: gnuradio/top_block.h:
No
such file or directory
compilation terminated.
In file included from applications/gqrx/mainwindow.h:44:0,
from applications/gqrx/mainwindow.cpp:34:
./applications/gqrx/receiver.h:32:32: fatal error: gnuradio/top_block.h:
No
such file or directory
compilation terminated.
make: *** [main.o] Error 1
make: *** [mainwindow.o] Error 1
bash return val = 2
Traceback (most recent call last):
File “./pybombs”, line 124, in
install(p, not opts.force);
File “/home/manu/gr/pybombs/mod_pybombs/pybombs_ops.py”, line 101, in
install
global_recipes[pkg].install();
File “/home/manu/gr/pybombs/mod_pybombs/recipe.py”, line 537, in
install
st = self.install_src();
File “/home/manu/gr/pybombs/mod_pybombs/recipe.py”, line 602, in
install_src
self.install_order[step]1;
File “/home/manu/gr/pybombs/mod_pybombs/recipe.py”, line 650, in make
assert(st == 0);
AssertionError

I’m sorry if this has been discussed before. Any thoughts?

On Wed, Oct 9, 2013 at 12:22 PM, Manu T S [email protected] wrote:

-I/usr/include/qt4 -I/usr/local/include -I/usr/local/include/gnuradio
In file included from applications/gqrx/mainwindow.h:44:0,
make: *** [mainwindow.o] Error 1
install_src
self.install_order[step]1;
File “/home/manu/gr/pybombs/mod_pybombs/recipe.py”, line 650, in make
assert(st == 0);
AssertionError

I’m sorry if this has been discussed before. Any thoughts?

I have no idea how such error messages occur …
Can you check to see if the missing headers are in
/usr/local/include/gnuradio/ or really missing?

Alex

Hi Alex,

I am using PyBOMBS for installation. PyBOMBS installed GNU Radio(3.7) to
a
local directory instead of /usr/local. In my case this directory is
“/home/manu/gr/target/”. The files missing are there in
“/home/manu/gr/target/include/gnuradio”, while they are not found in my
old
installation (3.6.* inside /usr/local). I want gqrx also to work with
the
new (3.7), and I used PyBOMBS to install.

So it could be that the qmake is not able to locate the header files in
“~/gr/target/include/gnuradio”. Is there a way to specify that in the
recipes?

On Thu, Oct 10, 2013 at 7:00 AM, Manu T S [email protected] wrote:

“~/gr/target/include/gnuradio”. Is there a way to specify that in the
recipes?

The gqrx build system based on qmake uses pkg-config to find the
gnuradio dependencies. The environment to find the pkg-config scripts
is set up by pybombs; however, if you have gnuradio 3.6 installed
system wide in /usr/local/ the old pkg-config files may interfere with
pybombs.

I see no other safe option than to remove gnuradio 3.6 from
/usr/local. If you still need gnuradio 3.6 you can install it under a
prefix other than /usr/local. As long as you have gnuradio 3.6 in
/usr/local it will interfere, not only with gqrx but other
applications as well.

Alex

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs