WSPR on a Raspberry PI

Wooo hoo..... Thanks Soren!

Soren OZ9U found my earlier blog posting from 1/25/2015 that had a partial recipe. He looked at the error and figured out that the gcc parameters that were being specified needed GCC v4.9. He sent me an updated install recipe that worked for him but only got me about 98% there.  I then pulled out my previous notes and was able to bridge the last couple of errors.

My testing uses versions:
WSPR build: 4912

// 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 install subversion python3-dev python3-numpy autoconf 
sudo nano /etc/apt/sources.list
<use jessie in /etc/apt/sources.list>
sudo apt-get update
sudo apt-get install python3-pil.imagetk
sudo nano /etc/apt/sources.list
<use wheezy in /etc/apt/sources.list>
sudo apt-get update
sudo apt-get install libportaudio2 portaudio19-dev libsamplerate0-dev cl-fftw3
sudo nano /etc/apt/sources.list
<use jessie in /etc/apt/sources.list>
sudo apt-get update
sudo apt-get install gcc-4.9 g++-4.9 gfortran-4.9
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
sudo apt-get install tk8.6-dev tcl8.6-dev
sudo apt-get install python3-pip
sudo apt-get install --reinstall python3-pillow
sudo pip3 install -I pillow==2.5.3
sudo apt-get install libjack-jackd2-0
sudo apt-get install portaudio19-dev
cd /home/pi
svn co svn://
cd wspr
nano Makefile
< edit Makefile: change f2py to f2py3.4 and -DF2PY=\"/usr/bin/f2py\" to -DF2PY=\"/usr/bin/f2py3.4\" >
sudo make install

I was able to bring up the WSPR gui after those steps were completed. It has been sitting there idle for an hour without any issues. I don't currently have a radio hooked up to the RPi so that will limit my testing short term.

I am going to run a couple more installs with fresh images to make sure that my notes are good and then I will try to hook up a radio and to a little testing of transmit and receive operations. I will also try to install a few other ham radio related packages to make sure that they don't break this install.

Thanks to Soren and the folks before us that have contributed to get us to this point.

73 de NG0R