discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] gr-air-modes - what dependencies?


From: Ralph A. Schmid, dk5ras
Subject: Re: [Discuss-gnuradio] gr-air-modes - what dependencies?
Date: Wed, 18 Sep 2013 07:23:31 +0200

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

 

address@hidden:~/gr-air-modes/apps$ modes_rx

Traceback (most recent call last):

  File "/usr/local/bin/modes_rx", line 28, in <module>

    import air_modes

  File "/usr/local/lib/python2.7/dist-packages/air_modes/__init__.py", line 55, in <module>

    from zmq_socket import zmq_pubsub_iface

  File "/usr/local/lib/python2.7/dist-packages/air_modes/zmq_socket.py", line 28, in <module>

    import zmq

ImportError: No module named zmq

address@hidden:~/gr-air-modes/apps$

 

From: Nick Foster [mailto:address@hidden
Sent: Wednesday, 18 September, 2013 07:01
To: Ralph A. Schmid, dk5ras
Cc: GNURadio Discussion 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 <address@hidden> 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:

 

address@hidden:~$ cd gr-air-modes/

address@hidden:~/gr-air-modes$ cd build/

address@hidden:~/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

address@hidden:~/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

address@hidden:~/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

 

 

address@hidden:~/gr-air-modes/apps$ modes_rx

Traceback (most recent call last):

  File "/usr/local/bin/modes_rx", line 28, in <module>

    import air_modes

  File "/usr/local/lib/python2.7/dist-packages/air_modes/__init__.py", line 50, in <module>

    from air_modes_swig import *

  File "/usr/local/lib/python2.7/dist-packages/air_modes/air_modes_swig.py", line 26, in <module>

    _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

address@hidden:~/gr-air-modes/apps$

 

 

From: Nick Foster [mailto:address@hidden]
Sent: Tuesday, 17 September, 2013 16:32
To: Ralph A. Schmid, dk5ras
Cc: GNURadio Discussion 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 <address@hidden> wrote:

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

Ralph.



> -----Original Message-----
> From: discuss-gnuradio-bounces+ralph=address@hidden
> [mailto:discuss-gnuradio-bounces+ralph=address@hidden] On Behalf Of
> Ralph A. Schmid, dk5ras
> Sent: Tuesday, September 17, 2013 3:19 PM
> To: address@hidden
> Subject: [Discuss-gnuradio] 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.
>
>
>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


_______________________________________________
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]