Difference between revisions of "WSJT: Compile"
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
| Onnowpurbo (talk | contribs)  (New page: 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 libsamp...) | Onnowpurbo (talk | contribs)  | ||
| (8 intermediate revisions by the same user not shown) | |||
| Line 5: | Line 5: | ||
|   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 \ | ||
|   python3-pil libportaudio2 portaudio19-dev libsamplerate0-dev gfortran cl-fftw3 \ |   python3-pil libportaudio2 portaudio19-dev libsamplerate0-dev gfortran cl-fftw3 \ | ||
| − |   python-dev autoconf | + |   python-dev autoconf git libtool qt5-default qtmultimedia5-dev libqt5multimedia5-plugins cmake \ | 
| + |  libhamlib2 libhamlib-dev | ||
| − | + | Buat hamlib | |
| + |  apt-get install git | ||
|   cd /usr/local/src |   cd /usr/local/src | ||
| − | + |   mkdir hamlib-prefix | |
| − | + |  cd hamlib-prefix | |
| − | + |  git clone git://git.code.sf.net/u/bsomervi/hamlib src | |
| − | + |  cd src | |
| − |   cd / | + |  git checkout integration | 
| − |   ./autogen.sh | + |  mkdir -p ../build | 
| − | + |   cd ../build | |
| − | + |   ../src/autogen.sh --prefix=$HOME/hamlib-prefix \ | |
| − | + |        --disable-shared --enable-static \ | |
| − | + |        --without-cxx-binding --disable-winradio \ | |
| − | + |        CFLAGS="-fdata-sections -ffunction-sections" \ | |
| − | + |        LDFLAGS="-Wl,--gc-sections" | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | = | ||
| − | |||
| − | |||
|   make |   make | ||
| − | + |   make install | |
| − | |||
| − | + | Compile | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| + |  mkdir -p /usr/local/src/wsjtx/build | ||
| + |  cd /usr/local/src/wsjtx | ||
| + |  svn co svn://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx src | ||
| + |  cd /usr/local/src/wsjtx/build | ||
| + |  cmake ../src | ||
| + |  cmake --build . | ||
| + |  cmake --build . --target install | ||
Latest revision as of 17:17, 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 git libtool qt5-default qtmultimedia5-dev libqt5multimedia5-plugins cmake \ libhamlib2 libhamlib-dev
Buat hamlib
apt-get install git cd /usr/local/src mkdir hamlib-prefix cd hamlib-prefix git clone git://git.code.sf.net/u/bsomervi/hamlib src cd src git checkout integration mkdir -p ../build cd ../build ../src/autogen.sh --prefix=$HOME/hamlib-prefix \ --disable-shared --enable-static \ --without-cxx-binding --disable-winradio \ CFLAGS="-fdata-sections -ffunction-sections" \ LDFLAGS="-Wl,--gc-sections" make make install
Compile
mkdir -p /usr/local/src/wsjtx/build cd /usr/local/src/wsjtx svn co svn://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx src cd /usr/local/src/wsjtx/build cmake ../src cmake --build . cmake --build . --target install
Referensi
- http://www.george-smart.co.uk/wiki/Compiling_WSPR
- http://blog.marxy.org/2012/05/build-wspr-on-ubuntu-1204.html