Gr-air-modes - what dependencies?

Hi,

When I want to install gr-air-modes, what dependencies are needed, what
gnuradio-version? Should it work with 3.7? It does not compile on my
machine, with some not very meaningful error message…can post it later
when back at home.

Or what else is recommended for ADS-B / Mode-S, when having gnuradio 3.7
/
gr-osmosdr / uhd and an USRP1 and a bladeRF available? I have an
airport
(NUE) almost in sight, and when tuning a hand scanner with rubber duck
to
1030 resp. 1090 MHz AM, I can hear lots of requests and answers just
with my
plain ears, so it really should work to decode at least something.

With best regards

Ralph.

Aah, some googling showed me that I need to select gnuradio-3.7 branch.
Guess this will fix it.

Ralph.

When I want to install gr-air-modes, what dependencies are needed, what
gnuradio-version? Should it work with 3.7? It does not compile on my
machine, with some not very meaningful error message…can post it later
when back at home.

Or what else is recommended for ADS-B / Mode-S, when having gnuradio 3.7
/ gr-osmosdr / uhd and an USRP1 and a bladeRF available? I have an
airport

Hi Ralph,

Yes, pyBombs installs the latest GNU Radio 3.7 master branch by default,
as
does running ‘build-gnuradio -m’.

http://gnuradio.org/redmine/projects/gnuradio/wiki/InstallingGR

Regards,

Mike


Mike J. M0MIK BSc MIET
Ettus R. Technical Support
Email: [email protected]
Web: http://www.ettus.com http://www.ettus.com

On Tue, Sep 17, 2013 at 2:38 PM, Ralph A. Schmid, dk5ras

Hi Ralph,

I’ve found that the following prevents issues building gr-air-modes.

In ‘pybombs/templates/cmake.lwt’, change:

make -j4

to:

make -j1

Regards,

Mike


Mike J. M0MIK BSc MIET
Ettus R. Technical Support
Email: [email protected]
Web: http://www.ettus.com http://www.ettus.com

On Tue, Sep 17, 2013 at 2:18 PM, Ralph A. Schmid, dk5ras

try sudo ldconfig

On Tue, Sep 17, 2013 at 9:43 PM, Ralph A. Schmid, dk5ras

Keep in mind you should be using the next branch of gr-air-modes as it
has
been ported over to 3.7 while master hasn’t. It also has lots of new
development – it’ll get merged into master sometime this week or next.

–n

On Tue, Sep 17, 2013 at 6:38 AM, Ralph A. Schmid, dk5ras

Hi,

I deleted the folder, did a fresh “git clone . -b next”, the usual cmake
make stuff, and I think that the make process looks normal, but starts
over
and over again when I repeat it. It produces some output, but it does
not
run.

Here some output from building and running it:

[email protected]:~$ cd gr-air-modes/

[email protected]:~/gr-air-modes$ cd build/

[email protected]:~/gr-air-modes/build$ cmake …

– Build type not specified: defaulting to release.

– Found PyQt4 version: 4.9.1

– Found pyuic4: /usr/bin/pyuic4

– Configuring done

– Generating done

– Build files have been written to: /home/ras/gr-air-modes/build

[email protected]:~/gr-air-modes/build$ make

Linking CXX shared library libair_modes.so

[ 15%] Built target air_modes

[ 20%] Built target _air_modes_swig_swig_tag

[ 25%] Swig source

[ 30%] Building CXX object
swig/CMakeFiles/_air_modes_swig.dir/air_modesPYTHON_wrap.cxx.o

Linking CXX shared module _air_modes_swig.so

[ 35%] Built target _air_modes_swig

[ 40%] Generating air_modes_swig.pyc

[ 45%] Generating air_modes_swig.pyo

[ 45%] Built target pygen_swig_826c5

[ 55%] Built target pygen_python_e99eb

[ 70%] Built target pygen_apps_dc9fb

[ 90%] Built target pygen_res_9409a

[100%] Built target rx_ui

[email protected]:~/gr-air-modes/build$ sudo make install

[sudo] password for ras:

[ 15%] Built target air_modes

[ 20%] Built target _air_modes_swig_swig_tag

[ 25%] Swig source

[ 30%] Building CXX object
swig/CMakeFiles/_air_modes_swig.dir/air_modesPYTHON_wrap.cxx.o

Linking CXX shared module _air_modes_swig.so

[ 35%] Built target _air_modes_swig

[ 40%] Generating air_modes_swig.pyc

[ 45%] Generating air_modes_swig.pyo

[ 45%] Built target pygen_swig_826c5

[ 55%] Built target pygen_python_e99eb

[ 70%] Built target pygen_apps_dc9fb

[ 90%] Built target pygen_res_9409a

[100%] Built target rx_ui

Install the project…

– Install configuration: “Release”

– Installing: /usr/local/include/gr_air_modes/preamble.h

– Installing: /usr/local/include/gr_air_modes/slicer.h

– Installing: /usr/local/include/gr_air_modes/types.h

– Installing: /usr/local/include/gr_air_modes/api.h

– Installing: /usr/local/lib/libair_modes.so.0.0

– Installing: /usr/local/lib/libair_modes.so.0

– Installing: /usr/local/lib/libair_modes.so

– Removed runtime path from “/usr/local/lib/libair_modes.so.0.0”

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/_air_modes_swig.so

– Removed runtime path from
“/usr/local/lib/python2.7/dist-packages/air_modes/_air_modes_swig.so”

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/air_modes_swig.py

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/air_modes_swig.pyc

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/air_modes_swig.pyo

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/init.py

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/altitude.py

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/az_map.py

– Installing: /usr/local/lib/python2.7/dist-packages/air_modes/cpr.py

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/html_template.py

– Installing: /usr/local/lib/python2.7/dist-packages/air_modes/mlat.py

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/exceptions.py

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/flightgear.py

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/gui_model.py

– Installing: /usr/local/lib/python2.7/dist-packages/air_modes/kml.py

– Installing: /usr/local/lib/python2.7/dist-packages/air_modes/parse.py

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/msprint.py

– Installing: /usr/local/lib/python2.7/dist-packages/air_modes/radio.py

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/raw_server.py

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/rx_path.py

– Installing: /usr/local/lib/python2.7/dist-packages/air_modes/sbs1.py

– Installing: /usr/local/lib/python2.7/dist-packages/air_modes/sql.py

– Installing: /usr/local/lib/python2.7/dist-packages/air_modes/types.py

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/zmq_socket.py

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/Quaternion.py

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/init.pyc

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/altitude.pyc

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/az_map.pyc

– Installing: /usr/local/lib/python2.7/dist-packages/air_modes/cpr.pyc

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/html_template.pyc

– Installing: /usr/local/lib/python2.7/dist-packages/air_modes/mlat.pyc

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/exceptions.pyc

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/flightgear.pyc

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/gui_model.pyc

– Installing: /usr/local/lib/python2.7/dist-packages/air_modes/kml.pyc

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/parse.pyc

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/msprint.pyc

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/radio.pyc

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/raw_server.pyc

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/rx_path.pyc

– Installing: /usr/local/lib/python2.7/dist-packages/air_modes/sbs1.pyc

– Installing: /usr/local/lib/python2.7/dist-packages/air_modes/sql.pyc

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/types.pyc

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/zmq_socket.pyc

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/Quaternion.pyc

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/init.pyo

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/altitude.pyo

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/az_map.pyo

– Installing: /usr/local/lib/python2.7/dist-packages/air_modes/cpr.pyo

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/html_template.pyo

– Installing: /usr/local/lib/python2.7/dist-packages/air_modes/mlat.pyo

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/exceptions.pyo

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/flightgear.pyo

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/gui_model.pyo

– Installing: /usr/local/lib/python2.7/dist-packages/air_modes/kml.pyo

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/parse.pyo

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/msprint.pyo

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/radio.pyo

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/raw_server.pyo

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/rx_path.pyo

– Installing: /usr/local/lib/python2.7/dist-packages/air_modes/sbs1.pyo

– Installing: /usr/local/lib/python2.7/dist-packages/air_modes/sql.pyo

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/types.pyo

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/zmq_socket.pyo

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/Quaternion.pyo

– Installing: /usr/local/bin/modes_rx

– Installing: /usr/local/bin/modes_gui

– Installing: /usr/local/bin/uhd_modes.py

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/modes_rx_ui.py

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/modes_rx_ui.pyc

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/modes_rx_ui.pyo

[email protected]:~/gr-air-modes/apps$ modes_rx

Traceback (most recent call last):

File “/usr/local/bin/modes_rx”, line 28, in

import air_modes

File “/usr/local/lib/python2.7/dist-packages/air_modes/init.py”,
line
50, in

from air_modes_swig import *

File
“/usr/local/lib/python2.7/dist-packages/air_modes/air_modes_swig.py”,
line 26, in

_air_modes_swig = swig_import_helper()

File
“/usr/local/lib/python2.7/dist-packages/air_modes/air_modes_swig.py”,
line 22, in swig_import_helper

_mod = imp.load_module('_air_modes_swig', fp, pathname, description)

ImportError: libair_modes.so.0: cannot open shared object file: No such
file
or directory

[email protected]:~/gr-air-modes/apps$

From: Nick F. [mailto:[email protected]]
Sent: Tuesday, 17 September, 2013 16:32
To: Ralph A. Schmid, dk5ras
Cc: GNURadio D.ion List
Subject: Re: [Discuss-gnuradio] gr-air-modes - what dependencies?

Keep in mind you should be using the next branch of gr-air-modes as it
has
been ported over to 3.7 while master hasn’t. It also has lots of new
development – it’ll get merged into master sometime this week or next.

–n

On Tue, Sep 17, 2013 at 6:38 AM, Ralph A. Schmid, dk5ras
[email protected]
wrote:

Aah, some googling showed me that I need to select gnuradio-3.7 branch.
Guess this will fix it.

Ralph.

-----Original Message-----
From: [email protected]lid
[mailto:discuss-gnuradio-bounces+ralph
mailto:discuss-gnuradio-bounces%2Bralph [email protected]] On Behalf
Of
when back at home.

Or what else is recommended for ADS-B / Mode-S, when having gnuradio 3.7
/ gr-osmosdr / uhd and an USRP1 and a bladeRF available? I have an
airport

OK, now everything is fine, thank you for the assistance!

Ralph.

From: Nick F. [mailto:[email protected]]
Sent: Wednesday, 18 September, 2013 07:31
To: Ralph A. Schmid dk5ras
Subject: RE: [Discuss-gnuradio] gr-air-modes - what dependencies?

sudo apt-get install libzmq1 python-zmq

On Sep 17, 2013 10:23 PM, “Ralph A. Schmid, dk5ras” [email protected]
wrote:

Then it looks like this, but at the moment I have no hardware connected.

[email protected]:~/gr-air-modes/apps$ modes_rx

Traceback (most recent call last):

File “/usr/local/bin/modes_rx”, line 28, in

import air_modes

File “/usr/local/lib/python2.7/dist-packages/air_modes/init.py”,
line
55, in

from zmq_socket import zmq_pubsub_iface

File “/usr/local/lib/python2.7/dist-packages/air_modes/zmq_socket.py”,
line 28, in

import zmq

ImportError: No module named zmq

[email protected]:~/gr-air-modes/apps$

From: Nick F. [mailto:[email protected]]
Sent: Wednesday, 18 September, 2013 07:01
To: Ralph A. Schmid, dk5ras
Cc: GNURadio D.ion List
Subject: Re: [Discuss-gnuradio] gr-air-modes - what dependencies?

try sudo ldconfig

On Tue, Sep 17, 2013 at 9:43 PM, Ralph A. Schmid, dk5ras
[email protected]
wrote:

Hi,

I deleted the folder, did a fresh “git clone . -b next”, the usual cmake
make stuff, and I think that the make process looks normal, but starts
over
and over again when I repeat it. It produces some output, but it does
not
run.

Here some output from building and running it:

[email protected]:~$ cd gr-air-modes/

[email protected]:~/gr-air-modes$ cd build/

[email protected]:~/gr-air-modes/build$ cmake …

– Build type not specified: defaulting to release.

– Found PyQt4 version: 4.9.1

– Found pyuic4: /usr/bin/pyuic4

– Configuring done

– Generating done

– Build files have been written to: /home/ras/gr-air-modes/build

[email protected]:~/gr-air-modes/build$ make

Linking CXX shared library libair_modes.so

[ 15%] Built target air_modes

[ 20%] Built target _air_modes_swig_swig_tag

[ 25%] Swig source

[ 30%] Building CXX object
swig/CMakeFiles/_air_modes_swig.dir/air_modesPYTHON_wrap.cxx.o

Linking CXX shared module _air_modes_swig.so

[ 35%] Built target _air_modes_swig

[ 40%] Generating air_modes_swig.pyc

[ 45%] Generating air_modes_swig.pyo

[ 45%] Built target pygen_swig_826c5

[ 55%] Built target pygen_python_e99eb

[ 70%] Built target pygen_apps_dc9fb

[ 90%] Built target pygen_res_9409a

[100%] Built target rx_ui

[email protected]:~/gr-air-modes/build$ sudo make install

[sudo] password for ras:

[ 15%] Built target air_modes

[ 20%] Built target _air_modes_swig_swig_tag

[ 25%] Swig source

[ 30%] Building CXX object
swig/CMakeFiles/_air_modes_swig.dir/air_modesPYTHON_wrap.cxx.o

Linking CXX shared module _air_modes_swig.so

[ 35%] Built target _air_modes_swig

[ 40%] Generating air_modes_swig.pyc

[ 45%] Generating air_modes_swig.pyo

[ 45%] Built target pygen_swig_826c5

[ 55%] Built target pygen_python_e99eb

[ 70%] Built target pygen_apps_dc9fb

[ 90%] Built target pygen_res_9409a

[100%] Built target rx_ui

Install the project…

– Install configuration: “Release”

– Installing: /usr/local/include/gr_air_modes/preamble.h

– Installing: /usr/local/include/gr_air_modes/slicer.h

– Installing: /usr/local/include/gr_air_modes/types.h

– Installing: /usr/local/include/gr_air_modes/api.h

– Installing: /usr/local/lib/libair_modes.so.0.0

– Installing: /usr/local/lib/libair_modes.so.0

– Installing: /usr/local/lib/libair_modes.so

– Removed runtime path from “/usr/local/lib/libair_modes.so.0.0”

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/_air_modes_swig.so

– Removed runtime path from
“/usr/local/lib/python2.7/dist-packages/air_modes/_air_modes_swig.so”

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/air_modes_swig.py

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/air_modes_swig.pyc

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/air_modes_swig.pyo

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/init.py

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/altitude.py

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/az_map.py

– Installing: /usr/local/lib/python2.7/dist-packages/air_modes/cpr.py

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/html_template.py

– Installing: /usr/local/lib/python2.7/dist-packages/air_modes/mlat.py

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/exceptions.py

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/flightgear.py

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/gui_model.py

– Installing: /usr/local/lib/python2.7/dist-packages/air_modes/kml.py

– Installing: /usr/local/lib/python2.7/dist-packages/air_modes/parse.py

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/msprint.py

– Installing: /usr/local/lib/python2.7/dist-packages/air_modes/radio.py

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/raw_server.py

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/rx_path.py

– Installing: /usr/local/lib/python2.7/dist-packages/air_modes/sbs1.py

– Installing: /usr/local/lib/python2.7/dist-packages/air_modes/sql.py

– Installing: /usr/local/lib/python2.7/dist-packages/air_modes/types.py

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/zmq_socket.py

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/Quaternion.py

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/init.pyc

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/altitude.pyc

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/az_map.pyc

– Installing: /usr/local/lib/python2.7/dist-packages/air_modes/cpr.pyc

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/html_template.pyc

– Installing: /usr/local/lib/python2.7/dist-packages/air_modes/mlat.pyc

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/exceptions.pyc

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/flightgear.pyc

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/gui_model.pyc

– Installing: /usr/local/lib/python2.7/dist-packages/air_modes/kml.pyc

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/parse.pyc

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/msprint.pyc

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/radio.pyc

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/raw_server.pyc

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/rx_path.pyc

– Installing: /usr/local/lib/python2.7/dist-packages/air_modes/sbs1.pyc

– Installing: /usr/local/lib/python2.7/dist-packages/air_modes/sql.pyc

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/types.pyc

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/zmq_socket.pyc

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/Quaternion.pyc

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/init.pyo

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/altitude.pyo

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/az_map.pyo

– Installing: /usr/local/lib/python2.7/dist-packages/air_modes/cpr.pyo

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/html_template.pyo

– Installing: /usr/local/lib/python2.7/dist-packages/air_modes/mlat.pyo

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/exceptions.pyo

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/flightgear.pyo

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/gui_model.pyo

– Installing: /usr/local/lib/python2.7/dist-packages/air_modes/kml.pyo

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/parse.pyo

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/msprint.pyo

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/radio.pyo

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/raw_server.pyo

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/rx_path.pyo

– Installing: /usr/local/lib/python2.7/dist-packages/air_modes/sbs1.pyo

– Installing: /usr/local/lib/python2.7/dist-packages/air_modes/sql.pyo

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/types.pyo

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/zmq_socket.pyo

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/Quaternion.pyo

– Installing: /usr/local/bin/modes_rx

– Installing: /usr/local/bin/modes_gui

– Installing: /usr/local/bin/uhd_modes.py

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/modes_rx_ui.py

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/modes_rx_ui.pyc

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/modes_rx_ui.pyo

[email protected]:~/gr-air-modes/apps$ modes_rx

Traceback (most recent call last):

File “/usr/local/bin/modes_rx”, line 28, in

import air_modes

File “/usr/local/lib/python2.7/dist-packages/air_modes/init.py”,
line
50, in

from air_modes_swig import *

File
“/usr/local/lib/python2.7/dist-packages/air_modes/air_modes_swig.py”,
line 26, in

_air_modes_swig = swig_import_helper()

File
“/usr/local/lib/python2.7/dist-packages/air_modes/air_modes_swig.py”,
line 22, in swig_import_helper

_mod = imp.load_module('_air_modes_swig', fp, pathname, description)

ImportError: libair_modes.so.0: cannot open shared object file: No such
file
or directory

[email protected]:~/gr-air-modes/apps$

From: Nick F. [mailto:[email protected]]
Sent: Tuesday, 17 September, 2013 16:32
To: Ralph A. Schmid, dk5ras
Cc: GNURadio D.ion List
Subject: Re: [Discuss-gnuradio] gr-air-modes - what dependencies?

Keep in mind you should be using the next branch of gr-air-modes as it
has
been ported over to 3.7 while master hasn’t. It also has lots of new
development – it’ll get merged into master sometime this week or next.

–n

On Tue, Sep 17, 2013 at 6:38 AM, Ralph A. Schmid, dk5ras
[email protected]
wrote:

Aah, some googling showed me that I need to select gnuradio-3.7 branch.
Guess this will fix it.

Ralph.

-----Original Message-----
From: [email protected]lid
[mailto:discuss-gnuradio-bounces+ralph
mailto:discuss-gnuradio-bounces%2Bralph [email protected]] On Behalf
Of
when back at home.

Or what else is recommended for ADS-B / Mode-S, when having gnuradio 3.7
/ gr-osmosdr / uhd and an USRP1 and a bladeRF available? I have an
airport

Then it looks like this, but at the moment I have no hardware connected.

[email protected]:~/gr-air-modes/apps$ modes_rx

Traceback (most recent call last):

File “/usr/local/bin/modes_rx”, line 28, in

import air_modes

File “/usr/local/lib/python2.7/dist-packages/air_modes/init.py”,
line
55, in

from zmq_socket import zmq_pubsub_iface

File “/usr/local/lib/python2.7/dist-packages/air_modes/zmq_socket.py”,
line 28, in

import zmq

ImportError: No module named zmq

[email protected]:~/gr-air-modes/apps$

From: Nick F. [mailto:[email protected]]
Sent: Wednesday, 18 September, 2013 07:01
To: Ralph A. Schmid, dk5ras
Cc: GNURadio D.ion List
Subject: Re: [Discuss-gnuradio] gr-air-modes - what dependencies?

try sudo ldconfig

On Tue, Sep 17, 2013 at 9:43 PM, Ralph A. Schmid, dk5ras
[email protected]
wrote:

Hi,

I deleted the folder, did a fresh “git clone . -b next”, the usual cmake
make stuff, and I think that the make process looks normal, but starts
over
and over again when I repeat it. It produces some output, but it does
not
run.

Here some output from building and running it:

[email protected]:~$ cd gr-air-modes/

[email protected]:~/gr-air-modes$ cd build/

[email protected]:~/gr-air-modes/build$ cmake …

– Build type not specified: defaulting to release.

– Found PyQt4 version: 4.9.1

– Found pyuic4: /usr/bin/pyuic4

– Configuring done

– Generating done

– Build files have been written to: /home/ras/gr-air-modes/build

[email protected]:~/gr-air-modes/build$ make

Linking CXX shared library libair_modes.so

[ 15%] Built target air_modes

[ 20%] Built target _air_modes_swig_swig_tag

[ 25%] Swig source

[ 30%] Building CXX object
swig/CMakeFiles/_air_modes_swig.dir/air_modesPYTHON_wrap.cxx.o

Linking CXX shared module _air_modes_swig.so

[ 35%] Built target _air_modes_swig

[ 40%] Generating air_modes_swig.pyc

[ 45%] Generating air_modes_swig.pyo

[ 45%] Built target pygen_swig_826c5

[ 55%] Built target pygen_python_e99eb

[ 70%] Built target pygen_apps_dc9fb

[ 90%] Built target pygen_res_9409a

[100%] Built target rx_ui

[email protected]:~/gr-air-modes/build$ sudo make install

[sudo] password for ras:

[ 15%] Built target air_modes

[ 20%] Built target _air_modes_swig_swig_tag

[ 25%] Swig source

[ 30%] Building CXX object
swig/CMakeFiles/_air_modes_swig.dir/air_modesPYTHON_wrap.cxx.o

Linking CXX shared module _air_modes_swig.so

[ 35%] Built target _air_modes_swig

[ 40%] Generating air_modes_swig.pyc

[ 45%] Generating air_modes_swig.pyo

[ 45%] Built target pygen_swig_826c5

[ 55%] Built target pygen_python_e99eb

[ 70%] Built target pygen_apps_dc9fb

[ 90%] Built target pygen_res_9409a

[100%] Built target rx_ui

Install the project…

– Install configuration: “Release”

– Installing: /usr/local/include/gr_air_modes/preamble.h

– Installing: /usr/local/include/gr_air_modes/slicer.h

– Installing: /usr/local/include/gr_air_modes/types.h

– Installing: /usr/local/include/gr_air_modes/api.h

– Installing: /usr/local/lib/libair_modes.so.0.0

– Installing: /usr/local/lib/libair_modes.so.0

– Installing: /usr/local/lib/libair_modes.so

– Removed runtime path from “/usr/local/lib/libair_modes.so.0.0”

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/_air_modes_swig.so

– Removed runtime path from
“/usr/local/lib/python2.7/dist-packages/air_modes/_air_modes_swig.so”

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/air_modes_swig.py

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/air_modes_swig.pyc

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/air_modes_swig.pyo

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/init.py

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/altitude.py

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/az_map.py

– Installing: /usr/local/lib/python2.7/dist-packages/air_modes/cpr.py

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/html_template.py

– Installing: /usr/local/lib/python2.7/dist-packages/air_modes/mlat.py

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/exceptions.py

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/flightgear.py

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/gui_model.py

– Installing: /usr/local/lib/python2.7/dist-packages/air_modes/kml.py

– Installing: /usr/local/lib/python2.7/dist-packages/air_modes/parse.py

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/msprint.py

– Installing: /usr/local/lib/python2.7/dist-packages/air_modes/radio.py

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/raw_server.py

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/rx_path.py

– Installing: /usr/local/lib/python2.7/dist-packages/air_modes/sbs1.py

– Installing: /usr/local/lib/python2.7/dist-packages/air_modes/sql.py

– Installing: /usr/local/lib/python2.7/dist-packages/air_modes/types.py

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/zmq_socket.py

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/Quaternion.py

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/init.pyc

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/altitude.pyc

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/az_map.pyc

– Installing: /usr/local/lib/python2.7/dist-packages/air_modes/cpr.pyc

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/html_template.pyc

– Installing: /usr/local/lib/python2.7/dist-packages/air_modes/mlat.pyc

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/exceptions.pyc

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/flightgear.pyc

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/gui_model.pyc

– Installing: /usr/local/lib/python2.7/dist-packages/air_modes/kml.pyc

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/parse.pyc

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/msprint.pyc

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/radio.pyc

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/raw_server.pyc

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/rx_path.pyc

– Installing: /usr/local/lib/python2.7/dist-packages/air_modes/sbs1.pyc

– Installing: /usr/local/lib/python2.7/dist-packages/air_modes/sql.pyc

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/types.pyc

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/zmq_socket.pyc

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/Quaternion.pyc

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/init.pyo

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/altitude.pyo

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/az_map.pyo

– Installing: /usr/local/lib/python2.7/dist-packages/air_modes/cpr.pyo

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/html_template.pyo

– Installing: /usr/local/lib/python2.7/dist-packages/air_modes/mlat.pyo

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/exceptions.pyo

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/flightgear.pyo

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/gui_model.pyo

– Installing: /usr/local/lib/python2.7/dist-packages/air_modes/kml.pyo

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/parse.pyo

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/msprint.pyo

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/radio.pyo

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/raw_server.pyo

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/rx_path.pyo

– Installing: /usr/local/lib/python2.7/dist-packages/air_modes/sbs1.pyo

– Installing: /usr/local/lib/python2.7/dist-packages/air_modes/sql.pyo

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/types.pyo

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/zmq_socket.pyo

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/Quaternion.pyo

– Installing: /usr/local/bin/modes_rx

– Installing: /usr/local/bin/modes_gui

– Installing: /usr/local/bin/uhd_modes.py

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/modes_rx_ui.py

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/modes_rx_ui.pyc

– Installing:
/usr/local/lib/python2.7/dist-packages/air_modes/modes_rx_ui.pyo

[email protected]:~/gr-air-modes/apps$ modes_rx

Traceback (most recent call last):

File “/usr/local/bin/modes_rx”, line 28, in

import air_modes

File “/usr/local/lib/python2.7/dist-packages/air_modes/init.py”,
line
50, in

from air_modes_swig import *

File
“/usr/local/lib/python2.7/dist-packages/air_modes/air_modes_swig.py”,
line 26, in

_air_modes_swig = swig_import_helper()

File
“/usr/local/lib/python2.7/dist-packages/air_modes/air_modes_swig.py”,
line 22, in swig_import_helper

_mod = imp.load_module('_air_modes_swig', fp, pathname, description)

ImportError: libair_modes.so.0: cannot open shared object file: No such
file
or directory

[email protected]:~/gr-air-modes/apps$

From: Nick F. [mailto:[email protected]]
Sent: Tuesday, 17 September, 2013 16:32
To: Ralph A. Schmid, dk5ras
Cc: GNURadio D.ion List
Subject: Re: [Discuss-gnuradio] gr-air-modes - what dependencies?

Keep in mind you should be using the next branch of gr-air-modes as it
has
been ported over to 3.7 while master hasn’t. It also has lots of new
development – it’ll get merged into master sometime this week or next.

–n

On Tue, Sep 17, 2013 at 6:38 AM, Ralph A. Schmid, dk5ras
[email protected]
wrote:

Aah, some googling showed me that I need to select gnuradio-3.7 branch.
Guess this will fix it.

Ralph.

-----Original Message-----
From: [email protected]lid
[mailto:discuss-gnuradio-bounces+ralph
mailto:discuss-gnuradio-bounces%2Bralph [email protected]] On Behalf
Of
when back at home.

Or what else is recommended for ADS-B / Mode-S, when having gnuradio 3.7
/ gr-osmosdr / uhd and an USRP1 and a bladeRF available? I have an
airport

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