Skip to content

Instantly share code, notes, and snippets.

@cyberkni
Created June 7, 2012 14:28
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save cyberkni/2eb4ff8e240164d0f751 to your computer and use it in GitHub Desktop.
Save cyberkni/2eb4ff8e240164d0f751 to your computer and use it in GitHub Desktop.
Installing GNURadio 3.6.0 on Mac OS X 10.7 with Macports
This setup was what I did before building librtlsdr and gr-osmocomm to make my EZTv 668 work. Thanks to waveguide and christ0ph on /r/RTLSDR for providing helpful tips which led to these directions.
Setup Dependencies:
1) sudo port install py27-wxpython-devel wxWidgets-devel py27-pyqwt cmake py27-gtk py27-lxml py27-cheetah py27-pyqt4 py27-numpy py27-pyfftw3 boost swig-python cppunit py27-gsl libusb +universal
2) export CMAKE_PREFIX_PATH=/opt/local:/usr/local
3) export PYTHONPATH=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages
4) sudo port select --set python python27
Get GNURadio:
1) curl -O http://gnuradio.org/redmine/attachments/download/326/gnuradio-3.6.0.tar.gz
2) tar -zxvf gnuradio-3.6.0.tar.gz
3) cd gnuradio-3.6.0
4) mkdir build
5) cd build
6) cmake ../ -DPYTHON_LIBRARY=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config/libpython2.7.dylib -DPYTHON_INCLUDE_DIR=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -DPYTHON_EXECUTABLE=/opt/local/bin/python2.7
7) make
8) sudo make install
9) export PYTHONPATH=/usr/local/lib/python2.7/site-packages/
You'll want to add this to your .bashrc.
10) Try running: gnuradio-companion
Note that this will get installed in /usr/local/bin so if you do not have that in your PATH you'll want to add it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment