Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
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
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
You can’t perform that action at this time.