Locked Re: problem with cmake


Bill Somerville
 

On 18/11/2020 02:19, Greg Cook via groups.io wrote:
Have edited CMakeLists.txt in ../src/wsjtx dir, but it's still finding a 3.9 clause so perhaps I should edit other instances of this file...
-- extracting... [tar xfz]
-- extracting... [analysis]
-- extracting... [rename]
-- extracting... [clean up]
-- extracting... done
[ 76%] Performing patch step for 'wsjtx'
[ 84%] No update step for 'wsjtx'
[ 92%] Performing configure step for 'wsjtx'
CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
  CMake 3.9 or higher is required.  You are running version 3.7.2
-- Configuring incomplete, errors occurred!
CMakeFiles/wsjtx-build.dir/build.make:67: recipe for target 'wsjtx-prefix/src/wsjtx-stamp/wsjtx-configure' failed
make[2]: *** [wsjtx-prefix/src/wsjtx-stamp/wsjtx-configure] Error 1
CMakeFiles/Makefile2:388: recipe for target 'CMakeFiles/wsjtx-build.dir/all' failed
make[1]: *** [CMakeFiles/wsjtx-build.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
pi@raspberrypi:~/Downloads/build $
Hi Greg,

because of the way we provide a combined Hamlib and WSJT-X build in out sources package you have to generate a patch file if you want to modify the sources of either of those packages. The sources tarball comes with a pair of empty patch files (wsjtx.patch and hamlib.patch) try substituting the wsjtx.patch file with the attached file. I recommend starting again with a freshly unzipped sources tarball.

73
Bill
G4WJS.

Join {main@WSJTX.groups.io to automatically receive all group messages.