Re: [Discuss-gnuradio] Error in installation of gqrx

2013-10-10 Thread Alexandru Csete
On Thu, Oct 10, 2013 at 7:00 AM, Manu T S manu.t.s...@gmail.com wrote:
 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?

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

___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] Error in installation of gqrx

2013-10-09 Thread Alexandru Csete
On Wed, Oct 9, 2013 at 12:22 PM, Manu T S manu.t.s...@gmail.com wrote:
 Hello all,

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

 manu@radio1:bin$ ./gnuradio-config-info -v
 3.7.2git-0-gd19aa281


 Then I did

 manu@radio1: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 module
 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?

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

___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] Error in installation of gqrx

2013-10-09 Thread Manu T S
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 Wed, Oct 9, 2013 at 11:33 PM, Alexandru Csete oz9...@gmail.com wrote:

 On Wed, Oct 9, 2013 at 12:22 PM, Manu T S manu.t.s...@gmail.com wrote:
  Hello all,
 
  I tried to install gqrx using PyBOMBS. I have GNU Radio 3.7 installed
 using
  PyBOMBS.
 
  manu@radio1:bin$ ./gnuradio-config-info -v
  3.7.2git-0-gd19aa281
 
 
  Then I did
 
  manu@radio1: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 module
  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?

 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




-- 
Manu T S
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio