Difference between revisions of "WSPR: Compile"

From OnnoWiki
Jump to navigation Jump to search
Line 6: Line 6:
  
 
Di Ubuntu 12.04
 
Di Ubuntu 12.04
 
+
* Compile [[Autoconf: Compile | Autoconf versi yang paling baru]]
sudo add-apt-repository ppa:costamagnagianfranco/autoconf
 
apt-get update
 
apt-get install autoconf
 
  
 
  sudo apt-get install subversion python3-dev python3-numpy python3-tk \
 
  sudo apt-get install subversion python3-dev python3-numpy python3-tk \

Revision as of 19:27, 4 October 2014

Instalasi aplikasi pendukung

sudo apt-get install subversion python3-dev python3-numpy python3-imaging-tk python3-tk \
python3-pil libportaudio2 portaudio19-dev libsamplerate0-dev gfortran cl-fftw3 \
python-dev autoconf

Di Ubuntu 12.04

sudo apt-get install subversion python3-dev python3-numpy python3-tk \
libportaudio2 portaudio19-dev libsamplerate0-dev gfortran cl-fftw3 \
python-dev autoconf

Download

cd /usr/local/src
svn co svn://svn.code.sf.net/p/wsjt/wsjt/branches/wspr

Siapkan

cd /usr/local/src/wspr
./autogen.sh

Edit

cd /usr/local/src/wspr
vi Makefile

Pastikan

f2py menjadi f2py3.4


Compile

make clean
make
sudo make install

Cara Lama

Untuk i386

./configure \
--with-portaudio-include-dir=/usr/include \
--with-portaudio-lib-dir=/usr/lib/i386-linux-gnu
make

Untuk amd64

./configure \
--with-portaudio-include-dir=/usr/include \ 
--with-portaudio-lib-dir=/usr/lib/x86_64-linux-gnu

Run

Bisa langsung dari shell

wspr


Cara lama

cd /usr/bin/
./wspr

Referensi


Pranala Menarik