Difference between revisions of "WSPR: Compile"
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
Onnowpurbo (talk | contribs)  | 
				Onnowpurbo (talk | contribs)   | 
				||
| Line 1: | Line 1: | ||
Instalasi aplikasi pendukung  | Instalasi aplikasi pendukung  | ||
| + | |||
| + | Di Ubuntu 14.04  | ||
  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 63: | Line 65: | ||
==Run==  | ==Run==  | ||
| − | Bisa langsung dari shell  | + | Bisa langsung dari shell sebagai superuser.  | 
| + |  sudo su  | ||
| + | |||
  wspr  |   wspr  | ||
| + | Kita butuh akses superuser agar wspr dapat dengan mudah mengakses /dev/ttyUSB0 untuk   | ||
| + | menswitch PTT  | ||
Cara lama  | Cara lama  | ||
| Line 72: | Line 78: | ||
  cd /usr/bin/  |   cd /usr/bin/  | ||
  ./wspr  |   ./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==  | ==Referensi==  | ||
Revision as of 18:46, 7 November 2014
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
Di Ubuntu 12.04
- 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
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
untuk Ubuntu 12.04
cd /usr/bin cp f2py3.2 f2py3
untuk Ubuntu 14.04
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 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
- http://www.george-smart.co.uk/wiki/Compiling_WSPR
 - http://blog.marxy.org/2012/05/build-wspr-on-ubuntu-1204.html