On 14/11/2018 17:17, Marco Calistri wrote:
**************GOOD PROCEDURE***************************
  cd jtsource/wsjtx-2.0.0-rc4/
  /usr/bin/cmake -Dhamlib_INCLUDE_DIRS=/usr/include \
  -Dhamlib_LIBRARIES=/usr/lib64/libhamlib.so \
  -Dhamlib_LIBRARY_DIRS=/usr/lib64 \
  -DWSJT_GENERATE_DOCS=OFF \
  -DWSJT_SKIP_MANPAGES=ON \
  -D CMAKE_INSTALL_PREFIX=/home/marco/WSJT-X_build/.wsjtx .

   /usr/bin/cmake --build . --target install
********************************************************

Hi Marco,

this procedure is not recommended, you are directing WSJT-X to be built with your system Hamlib package but we ship WSJT-X with a snapshot of a recent Hamib sources which we recommend.

I see the issue in that our CMake script may not be taking proper account of the lib64 style library directory names. I can fix this. I need to know what the first error message is from the command sequence:

mkdir -p ~/WSJT-X_build/build
cd !$
cmake -D CMAKE_INSTALL_PREFIX=../.wsjtx ../jtsource/wsjtx-2.0.0-rc4
cmake --build . --target install

Also please do not build in the source directory, it is untested and not recommended.

Once you have the build working correctly with the correct sources for Hamlib, you can make an RPM package by making the package target.

73
Bill
G4WJS.



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

Reply via email to