Skip to content

Instantly share code, notes, and snippets.

@oogali
Last active August 29, 2015 14:09
Show Gist options
  • Save oogali/7b84d2b0fd330be2fc3c to your computer and use it in GitHub Desktop.
Save oogali/7b84d2b0fd330be2fc3c to your computer and use it in GitHub Desktop.
Installing GNU Radio on Yosemite (in progress)
sudo pip install virtualenv
brew install boost cppunit fftw gsl libusb orc qt qwt sdl sip swig zeromq wxpython
( cd /usr/local/include && curl -LO https://github.com/zeromq/cppzmq/raw/master/zmq.hpp)
curl -L http://sourceforge.net/projects/pyqt/files/PyQt4/PyQt-4.11.2/PyQt-mac-gpl-4.11.2.tar.gz | tar zxvf -
cd PyQt-mac-gpl-4.11.2/
python configure-ng.py
make -j2
sudo make install
cd
git clone git://github.com/EttusResearch/uhd.git
cd uhd
virtualenv venv
source venv/bin/activate
pip install Cheetah docutils
cd host
mkdir build
cd build
CC=/usr/bin/llvm-gcc CXX=/usr/bin/llvm-g++ cmake -DPYTHON_INCLUDE_DIR=../venv/include -DPYTHON_LIBRARY=../venv/lib ..
make -j2
make install
git clone http://git.gnuradio.org/git/gnuradio.git
cd gnuradio
mkdir build
cd build
virtualenv venv
source venv/bin/activate
pip install Cheetah Sphinx docutils lxml numpy scipy
CC=/usr/bin/llvm-gcc CXX=/usr/bin/llvm-g++ \
PYTHONPATH=${HOME}/gnuradio/build/venv/lib/python2.7/site-packages:/usr/local/lib/python2.7/site-packages:${PYTHONPATH} \
cmake -DPYTHON_EXECUTABLE=/System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 \
-DPYTHON_INCLUDE_DIR=/System/Library/Frameworks/Python.framework/Versions/2.7/Headers \
-DPYTHON_LIBRARY=/System/Library/Frameworks/Python.framework/Versions/2.7/lib/libpython2.7.dylib \
-DZEROMQ_INCLUDE_DIRS=/usr/local/include \
..
PYTHONPATH=${HOME}/gnuradio/build/venv/lib/python2.7/site-packages:/usr/local/lib/python2.7/site-packages:${PYTHONPATH} make -j2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment