Difference between revisions of "WSJT-Z: Compile"

From OnnoWiki
Jump to navigation Jump to search
(Created page with "==Download== Download source wsjt-z https://sourceforge.net/projects/wsjt-z/ ==Buka== mv wsjtz-2.3.0-mod-0.81.zip /usr/local/src/ cd /usr/local/src unzip wsjtz-2.3.0-m...")
 
 
(27 intermediate revisions by the same user not shown)
Line 1: Line 1:
==Download==
+
Sumber: https://aaron-brown.net/blog/?p=203
 +
 
 +
==Install Aplikasi Pendukung==
 +
 
 +
sudo apt update
 +
sudo apt -y install build-essential gfortran autoconf automake libtool cmake git
 +
sudo apt -y install asciidoctor libfftw3-dev qtdeclarative5-dev texinfo libqt5multimedia5 \
 +
libqt5multimedia5-plugins qtmultimedia5-dev libqt5serialport5-dev asciidoc libusb-1.0-0-dev \
 +
libboost-dev libboost-filesystem-dev libboost-log-dev portaudio19-dev \
 +
qttools5-dev-tools qttools5-dev libudev-dev libudev1
 +
 
 +
 
 +
==Compile==
 +
 
 +
Sebagai USER BIASA, compile hamlib
 +
 
 +
cd ~
 +
mkdir hamlib
 +
cd hamlib
 +
git clone git://git.code.sf.net/u/bsomervi/hamlib src
 +
cd src
 +
git checkout integration
 +
./bootstrap
 +
mkdir ../build
 +
cd ../build
 +
  ../src/configure --prefix=$HOME/hamlib-prefix \
 +
  --disable-shared --enable-static \
 +
  --without-cxx-binding --disable-winradio \
 +
  CFLAGS="-g -O2 -fdata-sections -ffunction-sections" \
 +
  LDFLAGS="-Wl,--gc-sections"
 +
make -j4
 +
make install-strip
 +
cd ../../
 +
 
 +
 
 +
Sebagai user biasa, compile WSJT-Z
 +
 
 +
Download
 +
 
 +
https://sourceforge.net/projects/wsjt/files/
 +
https://sourceforge.net/projects/wsjt/files/wsjtx-2.3.0/wsjtx-2.3.0.tgz/download
 +
 
 +
mkdir -p ~/wsjtx-prefix/build
 +
mkdir -p ~/wsjtx-prefix/src
 +
 
 +
cd ~/Downloads
 +
tar zxvf wsjtx-2.3.0.tgz
 +
cd ~/Downloads/wsjtx-2.3.0/src
 +
tar zxvf wsjtx.tgz
 +
 
 +
cp -Rf ~/Downloads/wsjtx-2.3.0/src/wsjtx/* ~/wsjtx-prefix/src/
 +
cd ~/wsjtx-prefix/build
 +
cmake -D CMAKE_PREFIX_PATH=~/hamlib-prefix \
 +
  -DWSJT_SKIP_MANPAGES=ON -DWSJT_GENERATE_DOCS=OFF \
 +
  -D CMAKE_INSTALL_PREFIX=~/wsjtx-prefix ../src
 +
cmake --build .
 +
cmake --build .
 +
cmake --target install
  
Download source wsjt-z
 
https://sourceforge.net/projects/wsjt-z/
 
  
 +
'''NOT RECOMMENDED:''' Alternative
  
==Buka==
+
cd ~
 +
mkdir -p ~/wsjtx-prefix/build
 +
cd ~/wsjtx-prefix
 +
git clone git://git.code.sf.net/p/wsjt/wsjtx src
 +
cd ~/wsjtx-prefix/build
 +
cmake -D CMAKE_PREFIX_PATH=~/hamlib-prefix \
 +
  -DWSJT_SKIP_MANPAGES=ON -DWSJT_GENERATE_DOCS=OFF \
 +
  -D CMAKE_INSTALL_PREFIX=~/wsjtx-prefix ../src
 +
cmake --build .
 +
cmake --build . --target install
  
mv wsjtz-2.3.0-mod-0.81.zip /usr/local/src/
+
==Download & Buka source code WSJT-Z==
cd /usr/local/src
 
unzip wsjtz-2.3.0-mod-0.81.zip
 
  
 +
Download source wsjt-z
  
==Compile==
+
https://sourceforge.net/projects/wsjt-z/
  
Compile hamlin
 
  
  $ mkdir ~/hamlib-prefix
+
  mkdir -p ~/wsjtx-prefix/build
$ cd ~/hamlib-prefix
+
  mkdir -p ~/wsjtx-prefix/src
$ git clone git://git.code.sf.net/u/bsomervi/hamlib src
 
  $ cd src
 
$ git checkout integration
 
$ ./bootstrap
 
$ mkdir ../build
 
$ cd ../build
 
$ ../src/configure --prefix=$HOME/hamlib-prefix \
 
    --disable-shared --enable-static \
 
    --without-cxx-binding --disable-winradio \
 
    CFLAGS="-g -O2 -fdata-sections -ffunction-sections" \
 
    LDFLAGS="-Wl,--gc-sections"
 
$ make
 
$ make install-strip
 
  
 +
cd ~/Downloads/
 +
unzip wsjtz-2.3.0-mod-0.81.zip
 +
cp -Rf ~/Downloads/wsjtx/* ~/wsjtx-prefix/src/
  
 +
cd ~/wsjtx-prefix/build
 +
cmake -D CMAKE_PREFIX_PATH=~/hamlib-prefix \
 +
  -DWSJT_SKIP_MANPAGES=ON -DWSJT_GENERATE_DOCS=OFF \
 +
  -D CMAKE_INSTALL_PREFIX=~/wsjtx-prefix ../src
 +
cmake --build .
 +
cmake --build . --target install
  
Compile WSJT-Z
+
==Referensi==
  
$ cd ~/wsjtx-prefix/build
+
* https://aaron-brown.net/blog/?p=203
$ cmake -D CMAKE_PREFIX_PATH=~/hamlib-prefix \
 
    -DWSJT_SKIP_MANPAGES=ON -DWSJT_GENERATE_DOCS=OFF \
 
    -D CMAKE_INSTALL_PREFIX=~/wsjtx-prefix ../src
 
$ cmake --build .
 
$ cmake --build . --target install
 

Latest revision as of 15:59, 19 November 2021

Sumber: https://aaron-brown.net/blog/?p=203

Install Aplikasi Pendukung

sudo apt update
sudo apt -y install build-essential gfortran autoconf automake libtool cmake git
sudo apt -y install asciidoctor libfftw3-dev qtdeclarative5-dev texinfo libqt5multimedia5 \
libqt5multimedia5-plugins qtmultimedia5-dev libqt5serialport5-dev asciidoc libusb-1.0-0-dev \
libboost-dev libboost-filesystem-dev libboost-log-dev portaudio19-dev \
qttools5-dev-tools qttools5-dev libudev-dev libudev1


Compile

Sebagai USER BIASA, compile hamlib

cd ~
mkdir hamlib 
cd hamlib
git clone git://git.code.sf.net/u/bsomervi/hamlib src
cd src 
git checkout integration
./bootstrap
mkdir ../build
cd ../build
  ../src/configure --prefix=$HOME/hamlib-prefix \
  --disable-shared --enable-static \
  --without-cxx-binding --disable-winradio \
  CFLAGS="-g -O2 -fdata-sections -ffunction-sections" \
  LDFLAGS="-Wl,--gc-sections"
make -j4 
make install-strip
cd ../../


Sebagai user biasa, compile WSJT-Z

Download

https://sourceforge.net/projects/wsjt/files/
https://sourceforge.net/projects/wsjt/files/wsjtx-2.3.0/wsjtx-2.3.0.tgz/download
mkdir -p ~/wsjtx-prefix/build
mkdir -p ~/wsjtx-prefix/src
cd ~/Downloads
tar zxvf wsjtx-2.3.0.tgz
cd ~/Downloads/wsjtx-2.3.0/src
tar zxvf wsjtx.tgz
cp -Rf ~/Downloads/wsjtx-2.3.0/src/wsjtx/* ~/wsjtx-prefix/src/
cd ~/wsjtx-prefix/build
cmake -D CMAKE_PREFIX_PATH=~/hamlib-prefix \
  -DWSJT_SKIP_MANPAGES=ON -DWSJT_GENERATE_DOCS=OFF \
  -D CMAKE_INSTALL_PREFIX=~/wsjtx-prefix ../src
cmake --build .
cmake --build .
cmake --target install


NOT RECOMMENDED: Alternative

cd ~
mkdir -p ~/wsjtx-prefix/build
cd ~/wsjtx-prefix
git clone git://git.code.sf.net/p/wsjt/wsjtx src
cd ~/wsjtx-prefix/build
cmake -D CMAKE_PREFIX_PATH=~/hamlib-prefix \
  -DWSJT_SKIP_MANPAGES=ON -DWSJT_GENERATE_DOCS=OFF \
  -D CMAKE_INSTALL_PREFIX=~/wsjtx-prefix ../src
cmake --build .
cmake --build . --target install

Download & Buka source code WSJT-Z

Download source wsjt-z

https://sourceforge.net/projects/wsjt-z/


mkdir -p ~/wsjtx-prefix/build
mkdir -p ~/wsjtx-prefix/src
cd ~/Downloads/
unzip wsjtz-2.3.0-mod-0.81.zip
cp -Rf ~/Downloads/wsjtx/* ~/wsjtx-prefix/src/
cd ~/wsjtx-prefix/build
cmake -D CMAKE_PREFIX_PATH=~/hamlib-prefix \
  -DWSJT_SKIP_MANPAGES=ON -DWSJT_GENERATE_DOCS=OFF \
  -D CMAKE_INSTALL_PREFIX=~/wsjtx-prefix ../src
cmake --build .
cmake --build . --target install

Referensi