From: Bill S. <g4...@cl...> - 2018-11-15 01:08:50
|
On 15/11/2018 00:49, Mark Klein wrote: > Hi Bill, > >> hanks for the info. I have a CentOS VM up now and am investigating why the Hamlib package find is failing. We have a home brew CMake package finder for Hamlib as no one has contributed the required CMake scripts to ship with Hamlib. I really should sort that out and contribute upstream;) > Don’t forget to install the hamlib RPMs too to match my config. > >> Your CMake configure line could include '-DWSJT_SKIP_MANPAGES=ON -DWSJT_GENERATE_DOCS=OFF' which saves having to install many dependencies not needed for the core application build. > Thanks for the hints … I’ll add the to my notes for the next build! > > > 73 de km6aow > --- > Mark Klein > > > Hi Mark, any Hamlib RPMs installed have no bearing on a WSJT-X build from our source tarball. I am now able to build on CentOS 7 with the following recipe: My starting point was a VM install of CentOS 7 with the GNOME Desktop group installed, the system was fully updated with 'sudo yum update'. 1) Install required dependencies to build Hamlib and WST-X (without manpages and manual): sudo yum install gcc-gfortran cmake fftw3-devel libudev-devel libusbx-devel qt5-qtserialport-devel git gcc-c++ make autoconf automake patch libtool texinfo qt5-qtmultimedia-devel 2) Fetch the source tarball: mkdir -p ~/wsjtx-prefix/build cd !$/.. wget https://sourceforge.net/projects/wsjt/files/wsjtx-2.0.0-rc4/wsjtx-2.0.0-rc4.tgz tar xf wsjtx-2.0.0-rc4.tgz 3) Insert patches: copy the attached patch to ~/wsjtx-prefix/wsjtx-2.0.0-rc4/ overwriting the empty file with the same name. 4) Configure the build tree: cd build cmake -DCMAKE_INSTALL_PREFIX=.. -DWSJT_SKIP_MANPAGES=ON -DWSJT_GENERATE_DOCS=OFF ../wsjtx-2.0.0-rc4 5) Build and install the application: cmake --build . --target install -- -j 6) Run WSJT-X (I found that the default native GUI widgets were nasty so I selected the Qt cross platform fusion sytle, YMMV): ~/wsjtx-prefix/bin/wstx -style fusion The patch file is only necessary for WSJT-X v2.0.0 RC4 and earlier, I will apply the changes to our repo so the next release will not require them. 73 Bill G4WJS. |