Hi group. I had some issues building wsjtx-2.0-rc4 on CentOS7.5. First note that I have fldigi and the standard hamlib RPM installed on that VM. My understanding is that there is an incompatibility between that version and the one wsjtx-2.0 uses. In trying to build wsjtx with the version of hamlib provided, the build couldn’t find the local hamlib:
-- checking for module 'hamlib' -- package 'hamlib' not found -- Found hamlib CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:108 (message): Could NOT find hamlib (missing: hamlib_LIBRARY_DIRS) (Required is at least version "3") Call Stack (most recent call first): /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE) CMake/Modules/Findhamlib.cmake:81 (find_package_handle_standard_args) CMakeLists.txt:853 (find_package) I couldn’t make things build seamlessly, so I ended up using (from my build directory): 1036 cmake .. 1037 cmake --build . --target hamlib 1038 cmake -D hamlib_LIBRARY_DIRS=./hamlib-prefix/lib --build . 1039 cmake --build . I then ran into a compilation error: [ 87%] Building CXX object CMakeFiles/wsjt_qt.dir/models/FoxLog.cpp.o In file included from /home/mklein/Documents/Software/wsjtx-2.0.0-rc4/build-2/wsjtx-prefix/src/wsjtx/models/FoxLog.cpp:13:0: /home/mklein/Documents/Software/wsjtx-2.0.0-rc4/build-2/wsjtx-prefix/src/wsjtx/qt_db_helpers.hpp: In constructor â: /home/mklein/Documents/Software/wsjtx-2.0.0-rc4/build-2/wsjtx-prefix/src/wsjtx/qt_db_helpers.hpp:29:24: error: invalid initialization of non-const reference of type â from an rvalue of type â , submitted_ {false} ^ gmake[5]: *** [CMakeFiles/wsjt_qt.dir/models/FoxLog.cpp.o] Error 1 gmake[4]: *** [CMakeFiles/wsjt_qt.dir/all] Error 2 gmake[3]: *** [all] Error 2 gmake[2]: *** [wsjtx-prefix/src/wsjtx-stamp/wsjtx-build] Error 2 gmake[1]: *** [CMakeFiles/wsjtx-build.dir/all] Error 2 gmake: *** [all] Error 2 [mklein@km6aow build-2]$ and applied the following patch: *** wsjtx-prefix/src/wsjtx/qt_db_helpers.hpp- 2018-11-14 09:45:22.032214892 -0800 --- wsjtx-prefix/src/wsjtx/qt_db_helpers.hpp 2018-11-14 09:45:37.784214917 -0800 *************** *** 25,32 **** { public: explicit ConditionalTransaction (QSqlTableModel& model) ! : model_ {model} ! , submitted_ {false} { model_.database ().transaction (); } --- 25,32 ---- { public: explicit ConditionalTransaction (QSqlTableModel& model) ! : model_ (model) ! , submitted_ (false) { model_.database ().transaction (); } After that, I was successful in the build. I managed to make one QSO on 40M. I’ll play around more over the next few days. Here’s the details from my CentOS7 VM: [mklein@km6aow build-2]$ cat /etc/centos-release CentOS Linux release 7.5.1804 (Core) [mklein@km6aow build-2]$ uname -a Linux km6aow 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux [mklein@km6aow build-2]$ c++ --version c++ (GCC) 4.8.5 20150623 (Red Hat 4.8.5-28) Copyright (C) 2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 73 de km6aow --- Mark Klein
signature.asc
Description: Message signed with OpenPGP
_______________________________________________ wsjt-devel mailing list wsjt-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wsjt-devel