WSPR + RPi
I have been continuing to tweak the steps for installing WSPR on an RPi (ARM6) based upon feedback from folks on the internet.
My testing uses versions:
Image: 2014-12-24-wheezy-raspbian.zip
WSPR build: 4979
// WSPR installation procedure update on Raspberry Pi B by NG0R, John Hoaglun Feb 19th 2015 based upon some notes from Greg KI7MT
// WSPR installation procedure update on Raspberry Pi B by NG0R, John Hoaglun Feb 18th 2015
// WSPR installation procedure on Raspberry Pi 2 by OZ9U, Soeren Schmidt, Feb 16th 2015.
// Note: installation at your own risk.
sudo apt-get update
sudo apt-get install subversion python3-dev python3-numpy autoconf -y
sudo nano /etc/apt/sources.list
add deb http://mirrordirector.raspbian.org/raspbian/ jessie main contrib non-free rp
comment out wheezy
sudo apt-get update
sudo apt-get install python3-pil.imagetk -y
sudo nano /etc/apt/sources.list
comment out jessie
uncomment wheezy
sudo apt-get update
sudo apt-get install libportaudio2 portaudio19-dev libsamplerate0-dev libfftw3-dev -y
sudo nano /etc/apt/sources.list
uncomment jessie
comment out wheezy
sudo apt-get update
sudo apt-get install gcc-4.9 g++-4.9 gfortran-4.9 tk8.6-dev tcl8.6-dev python3-pip -y
//Note to self… manually removing and linking the compilers is less than desirable but pillow seems to break otherwise right now
cd /usr/bin
sudo rm gcc
sudo rm arm-linux-gnueabihf-gcc
sudo ln -s gcc-4.9 gcc
sudo ln -s gcc-4.9 arm-linux-gnueabihf-gcc
sudo rm g++
sudo ln -s g++-4.9 g++
sudo rm gfortran
sudo ln -s gfortran-4.9 gfortran
//Note to self… one of those pillow installs is not needed but I need to test it to figure out which one
sudo apt-get install --reinstall python3-pillow -y
sudo pip3 install -I pillow==2.5.3
sudo apt-get install libjack-jackd2-0 portaudio19-dev -y
cd /home/pi
svn co svn://svn.code.sf.net/p/wsjt/wsjt/branches/wspr
cd wspr
./autogen.sh CC=gcc-4.9 FC=gfortran-4.9 CXX=g++-4.9 --with-f2py='/usr/bin/f2py3.4’
make && sudo make install
--------------------
References:
http://www.hoaglun.com/blog/2015/wspr-on-a-raspberry-pi
http://www.george-smart.co.uk/wiki/Compiling_WSPR
http://Naomi.mountains.net.au/hamradio/digital/wsjt-wsjtx.html