Il 14/11/18 15:45, Bill Somerville ha scritto: > 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 Hello Bill,
Many thanks to enlighten me on these rules. Here we go with step by step results of the commands you indicated: marco@linux-turion64:~/WSJT-X_build/jtsource/wsjtx-2.0.0-rc4> mkdir -p ~/WSJT-X_build/build marco@linux-turion64:~/WSJT-X_build/jtsource/wsjtx-2.0.0-rc4> cd !$ cd ~/WSJT-X_build/build marco@linux-turion64:~/WSJT-X_build/build> cmake -D CMAKE_INSTALL_PREFIX=../.wsjtx ../jtsource/wsjtx-2.0.0-rc4 CMake Warning (dev) at CMakeLists.txt:165 (add_custom_target): Policy CMP0037 is not set: Target names should not be reserved and should match a validity pattern. Run "cmake --help-policy CMP0037" for policy details. Use the cmake_policy command to set the policy and suppress this warning. The target name "install" is reserved or not valid for certain CMake features, such as generator expressions, and may result in undefined behavior. This warning is for project developers. Use -Wno-dev to suppress it. -- Configuring done -- Generating done -- Build files have been written to: /home/marco/WSJT-X_build/jtsource/wsjtx-2.0.0-rc4 marco@linux-turion64:~/WSJT-X_build/build> marco@linux-turion64:~/WSJT-X_build/build> cmake --build . --target install Error: could not load cache marco@linux-turion64:~/WSJT-X_build/build> -- 73 de Marco, PY1ZRJ _______________________________________________ wsjt-devel mailing list wsjt-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wsjt-devel