Difference between revisions of "WSPR: Compile"

From OnnoWiki
Jump to navigation Jump to search
Line 2: Line 2:
  
 
Di Ubuntu 14.04
 
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 asciidoc
  
 
  sudo apt-get install subversion python3-dev python3-numpy python3-imaging-tk python3-tk \
 
  sudo apt-get install subversion python3-dev python3-numpy python3-imaging-tk python3-tk \
Line 12: Line 16:
  
 
  cd /usr/local/src
 
  cd /usr/local/src
  wget https://sourceforge.net/projects/wsjt/files/wsjtx-1.6.0/wsjtx-1.6.0.tgz
+
  svn co svn://svn.code.sf.net/p/wsjt/wsjt/branches/wspr
  
 
Lakukan
 
Lakukan
Line 18: Line 22:
 
  sudo su -
 
  sudo su -
 
  sudo chmod -Rf 777 /usr/local/src
 
  sudo chmod -Rf 777 /usr/local/src
  cd /usr/local/src/
+
  cd /usr/local/src/wspr
  tar zxvf wsjtx-1.6.0.tgz
+
  ./autogen.sh
mkdir build
+
  make
cd build
+
  make install
cmake ../wsjtx-1.6.0
+
 
  sudo cmake --build .
 
  sudo cmake --build . --target install
 
  
 
==Run==
 
==Run==

Revision as of 15:40, 11 April 2016

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 asciidoc
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 texinfo libqt5widgets5 qtbase5-dev libqt5x11extras5-dev \
asciidoc


Download

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

Lakukan

sudo su -
sudo chmod -Rf 777 /usr/local/src
cd /usr/local/src/wspr
./autogen.sh
make
make 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