Hi All,

further to Greg's post about the Ubuntu 14.04 LTS release and my other 
posts helping David VK4BDJ getting back up to speed building WSJT-X on 
Linux; I have taken the opportunity to build a pair of Ubuntu 14.04 
systems (one 64-bit and the other 32-bit) and document all the steps 
required to get a running WSJT-X application.

The steps are virtually identical between 32 & 64-bit with a small 
difference in the pre-requisite packages. The build of Ubuntu I used was 
the Desktop edition which I installed from the ISO and applied all 
updates. Default options were chosen throughout.

The following instructions use the Qt5 available from the Ubuntu 
repository which is Qt 5.2.1 so there is no need to install the Qt 
package from qt-project.org unless you want to try Qt 5.3.

I prefer clang as my C++ compiler, either it or g++ can be used. clang 
IMHO gives better error diagnostics.

In a terminal do the following.

for 64-bit:

sudo apt-get install cmake subversion clang-3.5 gfortran \
libfftw3-dev git libgfortran3:i386 libusb-dev autoconf libtool \
texinfo qt5-default qtmultimedia5-dev libqt5multimedia5-plugins

for 32-bit:

sudo apt-get install cmake subversion clang-3.5 gfortran \
   libfftw3-dev git libusb-dev autoconf libtool texinfo \
qt5-default qtmultimedia5-dev libqt5multimedia5-plugins

from now on the steps are the same for both 32 & 64-bit systems, adjust 
paths to your preferences if required.

mkdir ~/src
cd ~/src/
git clone git://git.code.sf.net/u/bsomervi/hamlib u-bsomervi-hamlib
cd u-bsomervi-hamlib/
git checkout integration
mkdir -p ~/build/hamlib
cd ~/build/hamlib/
~/src/u-bsomervi-hamlib/autogen.sh --prefix=$HOME/local/hamlib 
--disable-shared
make && make install
cd ~/src/
svn checkout svn://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx wsjtx
mkdir -p ~/build/wsjtx/Release
cd ~/build/wsjtx/Release/
cmake -D CMAKE_PREFIX_PATH:PATH=~/local/hamlib \
-D CMAKE_INSTALL_PREFIX=~/local/wsjtx/Release \
~/src/wsjtx
cmake --build . --target install -- -kj

That's it, you should have a runnable WSJT-X, to test:

~/local/wsjtx/Release/bin/wsjtx

If you plan to join the development effort; then you might want to ask 
for developer access to the WSJT repository on SourceForge and then 
change the checkout URL above to a personal read-write one or even use 
git-svn which is my preference. git-svn users may use the 
'--standard-layout' option when cloning the repository if they wish but 
the repository layout isn't currently optimal for that.

73
Bill
G4WJS.

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel

Reply via email to