Difference between revisions of "WSPR: Compile"

From OnnoWiki
Jump to navigation Jump to search
Line 6: Line 6:
 
  python3-pil libportaudio2 portaudio19-dev libsamplerate0-dev gfortran cl-fftw3 \
 
  python3-pil libportaudio2 portaudio19-dev libsamplerate0-dev gfortran cl-fftw3 \
 
  python-dev autoconf cmake libtool
 
  python-dev autoconf cmake libtool
 
Di Ubuntu 12.04
 
* Compile [[Autoconf: Compile | Autoconf versi yang paling baru]]
 
 
sudo apt-get install subversion python3-dev python3-numpy python3-tk \
 
libportaudio2 portaudio19-dev libsamplerate0-dev gfortran cl-fftw3 \
 
python-dev cmake libtool
 
  
 
Download
 
Download
Line 28: Line 21:
 
  cmake ../wsjtx-1.5.0
 
  cmake ../wsjtx-1.5.0
 
  sudo cmake --build . --target install
 
  sudo cmake --build . --target install
 
 
==untuk Ubuntu 12.04==
 
 
cd /usr/bin
 
cp f2py3.2 f2py3
 
 
 
 
==untuk Ubuntu 14.04==
 
 
Tidak perlu di apa-apa kan,
 
bisa langsung
 
 
make && make install
 
 
==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==
 
==Run==

Revision as of 07:16, 20 July 2015

Instalasi aplikasi pendukung

Di Ubuntu 14.04

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 cmake libtool

Download

cd /usr/local/src
wget http://sourceforge.net/projects/wsjt/files/wsjtx-1.5.0/wsjtx-1.5.0.tgz

Sebagai user biasa, lakukan

sudo chmod -Rf 777 /usr/local/src
cd /usr/local/src/
tar zxvf wsjtx-1.5.0.tgz
mkdir build
cd build
cmake ../wsjtx-1.5.0
sudo cmake --build . --target install

Run

Bisa langsung dari shell sebagai superuser.

sudo su

wspr

Kita butuh akses superuser agar wspr dapat dengan mudah mengakses /dev/ttyUSB0 untuk menswitch PTT

Cara lama

cd /usr/bin/
./wspr

Buang Secara Periodik File Audio

Ternyata default wspr akan menyimpan file audio. Sebaiknya di buang secara periodik.

crontab -e

Isi dengan

0 * * * * rm -Rf /home/username/.wspr/save/* &


Referensi


Pranala Menarik