bistromath / gr-ais

Automatic Information System decoder for shipborne position reporting for the Gnuradio project
134 stars 47 forks source link

Installation does not work with cmake #2

Closed reald closed 11 years ago

reald commented 11 years ago

After installation running ais_rx fails:


> ais_rx.py
Traceback (most recent call last):
  File "/usr/local/bin/ais_rx.py", line 13, in 
    from gr_ais.ais_demod import *
  File "/usr/local/lib/python2.6/dist-packages/gr_ais/ais_demod.py", line 15, in 
    from gnuradio import ais
ImportError: cannot import name ais

There is one suspicious directory after installing:

/usr/local/$(GR_INCLUDE_DIR)/gr_ais/swig

But even changing

DESTINATION $(GR_INCLUDE_DIR)/gr_ais/swig

to

DESTINATION ${GR_INCLUDE_DIR}/gr_ais/swig

in swig/CMakeLists.txt and rebuilding does not fix the first error.

reald commented 11 years ago

Issue seems to be fixed in https://github.com/chgans/gr-ais.git