Saturday, June 16, 2012

Compiling wspr & wsjt etc. on (x/k/l/)ubuntu

See here, excellent guide. This is on a i386 env based on that guide. Tested on Ubuntu 12.04.

Warning, this checks out trunk code so it might not work some days. Check out the development mailing lists / raise a bug / go have a cuppa and try a couple of days later.


sudo apt-get install subversion python-dev python-numpy python-imaging-tk python-pmw libportaudio2 portaudio19-dev libsamplerate0-dev gfortran cl-fftw3 python-dev build-essential


svn checkout http://svn.berlios.de/svnroot/repos/wsjt/trunk wsjt-code
svn checkout http://svn.berlios.de/svnroot/repos/wsjt/branches/wspr wspr-code
svn checkout http://svn.berlios.de/svnroot/repos/wsjt/branches/wsjt8 wsjt8-code
svn checkout http://svn.berlios.de/svnroot/repos/wsjt/branches/map65 map65-code
svn checkout http://svn.berlios.de/svnroot/repos/wsjt/branches/map65iq map65iq-code

cd ~/wsjt-code

./configure --with-portaudio-lib-dir=/usr/lib/i386-linux-gnu --with-portaudio-include-dir=/usr/include && make && sudo make install



cd ~/wspr-code
./configure  --with-portaudio-lib-dir=/usr/lib/i386-linux-gnu --with-portaudio-include-dir=/usr/include  && make && sudo make install

but unfortunately it ignores the prefix for Python stuff. In the end I gave up on the prefix etc. and compiled it on the Eee 701 directly, wasting space on the packages. The original idea was to compile it on a 32-bit "development" VM and then copy stuff around. Anyhooow... The going is very slow on Eee, esp. with the fldigi running and decoding bpsk31 14.070 in the background. A lot of warnings are generated during the build.

I haven't compiled the rest. Maybe they will work.

Anyway, I have had problems running it off the installed path, also wsjt's startup script has some logic problems.

Simply run python wsjt.py or python wspr.py from the source directory and it all works fine!

No comments: