On 11/07/2014 21:30, Juraj Buliscak wrote:
Hi DUro,
This way is described in official page
http://physics.princeton.edu/pulsar/K1JT/wsjtx-doc/wsjt-dev-guide.html
Hmm, that has some good info but mostly out of date.

The first big issue is the source has moved to a new repo because BerliOS has closed down for source hosting. The project is now on SourceForge.

So, how to correctly compile wsjtx from source or where is it described?
It has been described a few times on this list, I assume you are on Linux, try something like this:

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 checkoutsvn://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




TNX,

Duro, OM0XA
73
Bill
G4WJS.


On Pi, 2014-07-11 at 20:46 +0100, Bill Somerville wrote:
On 11/07/2014 19:47, Juraj Buliscak wrote:
Hi.
Hi Duro,
In file:
[r4201]: branches / doc / dev-guide / scripts / wsjtx-compile.sh
I'm not sure this script is the correct way to build WSJT-X. Revision
number detection is handled fully by the CMake scripts and that is the
preferred way to build WSJT-X. Anything that uses the Subversion keyword
substitution to determine product revision is unreliable.
Must be changed:


diff wsjtx-compile_old.sh wsjtx-compile.sh

18c18
< rev_num=$(grep -i "rev=" mainwindow.cpp |awk '{print $3}')
---
rev_num=$(grep -i "rev:" mainwindow.cpp |awk '{print $4}')

because in mainwindow.cpp in line 72 is:

    m_revision {revision ("$Rev: 4182 $")},







Duro, OM0XA
73
Bill
G4WJS.

------------------------------------------------------------------------------
_______________________________________________
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel


------------------------------------------------------------------------------
_______________________________________________
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel

------------------------------------------------------------------------------
_______________________________________________
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel

Reply via email to