bistromath / gr-ais

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

Fix build scripts to work with GNU Radio 3.6 #4

Closed csete closed 11 years ago

csete commented 11 years ago

Trying to build gr-ais on a recent Linux system using the latest GNU Radio from git I ran into several issues tat are fixed by these commits:

  1. Cmake could find my gruel and gnuradio-core installed in /opt/gnuradio/current/ (first commit).
  2. Compilation fails with 'Unable to find gruel_common.i' error. This issue was discussed on the GNU Radio mailing list back in April and was due to moving some files in gnuradio 3.6 (second commit).
  3. Swig files are installed in the wrong place (third commit).
  4. Python import statements (fourth commit).
bistromath commented 11 years ago

Thanks for doing my homework for me. =) Can you talk to Tom about upstreaming these? The CMake work is mostly straight out of gr-howto-write-a-block.

--n

On Fri, Sep 14, 2012 at 2:42 PM, Alexandru Csete notifications@github.comwrote:

Trying to build gr-ais on a recent Linux system using the latest GNU Radio from git I ran into several issues tat are fixed by these commits:

  1. Cmake could find my gruel and gnuradio-core installed in /opt/gnuradio/current/ (first commit).
  2. Compilation fails with 'Unable to find gruel_common.i' error. This issue was discussed on the GNU Radio mailing list back in April and was due to moving some files in gnuradio 3.6 (second commit).
  3. Swig files are installed in the wrong place (third commit).
  4. Python import statements (fourth commit).

You can merge this Pull Request by running:

git pull https://github.com/csete/gr-ais master

Or view, comment on, or merge it at:

https://github.com/bistromath/gr-ais/pull/4 Commit Summary

  • Correctly detect gruel and gnuradio-core.
  • Update gruel include path to work with gnuradio 3.6.
  • Use correct swig destination.
  • Fix import errors as per asirinelli/gr-ais

File Changes

  • M cmake/Modules/FindGnuradioCore.cmake (2)
  • M cmake/Modules/FindGruel.cmake (4)
  • M python/ais_demod.py (2)
  • M python/gmsk_sync.py (3)
  • M swig/CMakeLists.txt (6)

Patch Links

csete commented 11 years ago

Hi Nick, Thanks for applying the patches. The gr-howto-write-a-block code has already been updated some time ago, probably when the issues were discovered in April. Everything should be fine now :-)