View Single Post
Old 01-05-2024, 09:09 PM   #1
retiredbiker
Evangelist
retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.
 
retiredbiker's Avatar
 
Posts: 451
Karma: 3886916
Join Date: May 2013
Location: Ontario, Canada
Device: Kindle KB, Oasis, Pop_Os!, Kobo Forma
Problem Building Sigil on Linux Pop!_os

I've been running a flatpack version and want to "do it right" and build from source.

Following the instructions here all is well in getting the needed files installed until I hit qt6-5compat-dev.

Can't find it anywhere, until I find a .deb of it in an Ubuntu site. Try and install that, get an error. Get led to other qt6-5 tools, wow is it complicated. But I get what looks like a current qt6-5 tool kit installed.

Configuration gives the following error output:

Spoiler:
chris@pop-os:~$ cd sigil-build
chris@pop-os:~/sigil-build$ cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release ../sigil-src
-- The C compiler identification is GNU 11.4.0
-- The CXX compiler identification is GNU 11.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- CMake version in use: 3.22.1
-- Using older findpython cmake module
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.10.12", minimum required is "3.4")
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.10.so (found suitable version "3.10.12", minimum required is "3.4")
-- Using Bundled ZLIB
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of off64_t
-- Check size of off64_t - failed
-- Looking for fseeko
-- Looking for fseeko - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Using Bundled MiniZip
-- Using Bundled Hunspell
-- Using Bundled PCRE2
-- Looking for dirent.h
-- Looking for dirent.h - found
-- Looking for inttypes.h
-- Looking for inttypes.h - found
-- Looking for sys/stat.h
-- Looking for sys/stat.h - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Looking for windows.h
-- Looking for windows.h - not found
-- Looking for C++ include type_traits.h
-- Looking for C++ include type_traits.h - not found
-- Looking for C++ include bits/type_traits.h
-- Looking for C++ include bits/type_traits.h - not found
-- Looking for bcopy
-- Looking for bcopy - found
-- Looking for memmove
-- Looking for memmove - found
-- Looking for strerror
-- Looking for strerror - found
-- Looking for strtoll
-- Looking for strtoll - found
-- Looking for strtoq
-- Looking for strtoq - found
-- Looking for _strtoi64
-- Looking for _strtoi64 - not found
-- Check size of long long
-- Check size of long long - done
-- Check size of unsigned long long
-- Check size of unsigned long long - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Performing Test HAVE_STDATOMIC
-- Performing Test HAVE_STDATOMIC - Success
-- Found WrapAtomic: 1
CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt6WebEngineCoreTools/Qt6WebEngineCoreToolsTargets.cmake:86 (message):
The imported target "Qt6::qwebengine_convert_dict" references the file

"/usr/lib/qt6/libexec/qwebengine_convert_dict"

but this file does not exist. Possible reasons include:

* The file was deleted, renamed, or moved to another location.

* An install or uninstall procedure did not complete successfully.

* The installation package was faulty and contained

"/usr/lib/x86_64-linux-gnu/cmake/Qt6WebEngineCoreTools/Qt6WebEngineCoreToolsTargets.cmake"

but not all the files it references.

Call Stack (most recent call first):
/usr/lib/x86_64-linux-gnu/cmake/Qt6WebEngineCoreTools/Qt6WebEngineCoreToolsConfig.cmake:47 (include)
/usr/lib/x86_64-linux-gnu/cmake/Qt6WebEngineCore/Qt6WebEngineCoreDependencies.cmake:76 (find_package)
/usr/lib/x86_64-linux-gnu/cmake/Qt6WebEngineCore/Qt6WebEngineCoreConfig.cmake:50 (include)
/usr/lib/x86_64-linux-gnu/cmake/Qt6/Qt6Config.cmake:219 (find_package)
src/qt6sigil.cmake:27 (find_package)
src/CMakeLists.txt:685 (include)


CMake Warning at /usr/lib/x86_64-linux-gnu/cmake/Qt6/Qt6Config.cmake:219 (find_package):
Found package configuration file:

/usr/lib/x86_64-linux-gnu/cmake/Qt6WebEngineCore/Qt6WebEngineCoreConfig.cmake

but it set Qt6WebEngineCore_FOUND to FALSE so package "Qt6WebEngineCore" is
considered to be NOT FOUND.
Call Stack (most recent call first):
src/qt6sigil.cmake:27 (find_package)
src/CMakeLists.txt:685 (include)


-- Configuring incomplete, errors occurred!
See also "/home/chris/sigil-build/CMakeFiles/CMakeOutput.log".
See also "/home/chris/sigil-build/CMakeFiles/CMakeError.log".
chris@pop-os:~/sigil-build$ ls
3rdparty CMakeCache.txt CMakeFiles internal src


I'll attach the log files as well.

So I'm now out of my depth for sure. Any assistance welcome!
Attached Files
File Type: txt CMakeError.txt (6.7 KB, 124 views)
File Type: txt CMakeOutput.txt (64.0 KB, 130 views)
retiredbiker is offline   Reply With Quote