Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 01-05-2024, 09:09 PM   #1
retiredbiker
Addict
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: 387
Karma: 1638210
Join Date: May 2013
Location: Ontario, Canada
Device: Kindle KB, Oasis, Pop_Os!, Jutoh, 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, 26 views)
File Type: txt CMakeOutput.txt (64.0 KB, 25 views)
retiredbiker is offline   Reply With Quote
Old 01-05-2024, 10:45 PM   #2
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 7,647
Karma: 5433388
Join Date: Nov 2009
Device: many
Here is the actual error from your log file.

The imported target "Qt6::qwebengine_convert_dict" references the file

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

but this file does not exist.


Some Qt6 related package needs to provide this qwebengine_convert_dict executable.
Use your package manager to determine which Qt6 package provides that executable file and install that package.

If that executable file is already provided but not installed in /usr/libqt6/libexec/ then copying it to that location or creating a symlink should be enough to continue the build.

Sigil itself does not use this particular executable but PageEdit does and it should exist in a proper qt6 installation. cmake is looking for it.
KevinH is offline   Reply With Quote
Advert
Old 01-06-2024, 08:18 AM   #3
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
In another thread, philja mentioned their trials and tribulations that can offer you a lot of insight into building Sigil on Ubuntu (on which Pop OS is based). The snags you mentioned so far were both mentioned (and resolved) in that thread.

The seemingly missing qt6-5compat-dev package on older Ubuntu distros like Jammy was solved by using the libqt6core5compat6-dev package instead. See the following post in that other thread:

https://www.mobileread.com/forums/sh...80#post4372580

The Qt6::qwebengine_convert_dict issue was solved by installing the qt6-webengine-dev-tools package. See:

https://www.mobileread.com/forums/sh...98#post4372798

I expect your build will follow their Ubuntu Jammy experience so you would do well to follow that thread from the 2nd page on : https://www.mobileread.com/forums/sh...=357115&page=2

The github instructions for building Sigil with Qt6 on Linux are still based on newer versions of Ubuntu (23.04 and higher) than you're using. Jammy (22.04) will work, but there's some massaging necessary. Linux Qt6 packaging changed pretty drastically after 22.04.

Last edited by DiapDealer; 01-06-2024 at 09:05 AM.
DiapDealer is online now   Reply With Quote
Old 01-06-2024, 11:54 AM   #4
retiredbiker
Addict
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: 387
Karma: 1638210
Join Date: May 2013
Location: Ontario, Canada
Device: Kindle KB, Oasis, Pop_Os!, Jutoh, Kobo Forma
Thanks for the quick replies.

I actually did follow the philja experience. This morning after some sleep and a reboot, I double-checked that the various packages in the philja thread were installed, and tried the configuration again. Now it seems to not complain about the files missing, but throws a completely new error:

Spoiler:
chris@pop-os:~/sigil-src$ cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release ../sigil-src
-- CMake version in use: 3.22.1
-- Using older findpython cmake module
-- Using Bundled ZLIB
-- Using Bundled MiniZip
-- Using Bundled Hunspell
-- Using Bundled PCRE2
CMake Warning at src/qt5sigil.cmake:34 (find_package):
By not providing "FindQt5.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Qt5", but
CMake did not find one.

Could not find a package configuration file provided by "Qt5" (requested
version 5.10) with any of the following names:

Qt5Config.cmake
qt5-config.cmake

Add the installation prefix of "Qt5" to CMAKE_PREFIX_PATH or set "Qt5_DIR"
to a directory containing one of the above files. If "Qt5" provides a
separate development package or SDK, be sure it has been installed.
Call Stack (most recent call first):
src/CMakeLists.txt:674 (include)


CMake Error at src/qt5sigil.cmake:81 (qt5_wrap_ui):
Unknown CMake command "qt5_wrap_ui".
Call Stack (most recent call first):
src/CMakeLists.txt:674 (include)


-- Configuring incomplete, errors occurred!
See also "/home/chris/sigil-src/CMakeFiles/CMakeOutput.log".
See also "/home/chris/sigil-src/CMakeFiles/CMakeError.log".


Seems to suddenly be looking for qt5 things? I did try the qt5 command (cmake -G "Unix Makefiles" -DUSE_QT5=1 -DCMAKE_BUILD_TYPE=Release ../sigil-src) last night just to see if it would work - no - did that set something that is now getting in the way?
retiredbiker is offline   Reply With Quote
Old 01-06-2024, 12:08 PM   #5
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 7,647
Karma: 5433388
Join Date: Nov 2009
Device: many
You were building with Qt6 previously right? Everything you posted was about Qt6.


If instead you arw building with Qt5 you add the -DUSE_QT5=1 otherwise do not use it.
KevinH is offline   Reply With Quote
Advert
Old 01-06-2024, 12:47 PM   #6
retiredbiker
Addict
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: 387
Karma: 1638210
Join Date: May 2013
Location: Ontario, Canada
Device: Kindle KB, Oasis, Pop_Os!, Jutoh, Kobo Forma
That is right, Qt6.

I ran it with "-DUSE_QT5=1" just once as an experiment.

Now running it as "cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release ../sigil-src" I'm getting the Qt5 errors.
retiredbiker is offline   Reply With Quote
Old 01-06-2024, 12:51 PM   #7
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
If you did not clean out the cmake build directory, it would still use the cached Qt5 stuff (-DUSE_QT5=1) the next go around. Just clean out the build directory you're using and reconfigure with cmake again (without the -DUSE_QT5=1 bit). At the very least, you need to delete the CMakeCache.txt file, but I'd remove it all.

I updated the build notes on Github just a bit ago to accommodate the things learned from philja's build experience on 22.04. Namely the qt6 packages needed to build (and run) Sigil.
DiapDealer is online now   Reply With Quote
Old 01-06-2024, 01:15 PM   #8
retiredbiker
Addict
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: 387
Karma: 1638210
Join Date: May 2013
Location: Ontario, Canada
Device: Kindle KB, Oasis, Pop_Os!, Jutoh, Kobo Forma
Found a package I had missed in the philja thread -- qt6-l10n-tools

So I installed this, and now have a whole new set of errors in configure:

Spoiler:
chris@pop-os:~/sigil-src$ cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release ../sigil-src
-- CMake version in use: 3.22.1
-- Using older findpython cmake module
-- Using Bundled ZLIB
-- Using Bundled MiniZip
-- Using Bundled Hunspell
-- Using Bundled PCRE2
-- Could NOT find OpenGL (missing: OPENGL_INCLUDE_DIR)
-- Could NOT find WrapOpenGL (missing: WrapOpenGL_FOUND)
CMake Warning at /usr/share/cmake-3.22/Modules/CMakeFindDependencyMacro.cmake:47 (find_package):
Found package configuration file:

/usr/lib/x86_64-linux-gnu/cmake/Qt6Gui/Qt6GuiConfig.cmake

but it set Qt6Gui_FOUND to FALSE so package "Qt6Gui" is considered to be
NOT FOUND. Reason given by package:

Qt6Gui could not be found because dependency WrapOpenGL could not be found.

Call Stack (most recent call first):
/usr/lib/x86_64-linux-gnu/cmake/Qt6/QtPublicDependencyHelpers.cmake:14 (find_dependency)
/usr/lib/x86_64-linux-gnu/cmake/Qt6WebEngineCore/Qt6WebEngineCoreDependencies.cmake:96 (_qt_internal_find_dependencies)
/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. Reason given by package:

Qt6WebEngineCore could not be found because dependency Qt6Gui could not be
found.

Call Stack (most recent call first):
src/qt6sigil.cmake:27 (find_package)
src/CMakeLists.txt:685 (include)


-- Could NOT find OpenGL (missing: OPENGL_INCLUDE_DIR)
-- Could NOT find WrapOpenGL (missing: WrapOpenGL_FOUND)
CMake Warning at /usr/share/cmake-3.22/Modules/CMakeFindDependencyMacro.cmake:47 (find_package):
Found package configuration file:

/usr/lib/x86_64-linux-gnu/cmake/Qt6Gui/Qt6GuiConfig.cmake

but it set Qt6Gui_FOUND to FALSE so package "Qt6Gui" is considered to be
NOT FOUND. Reason given by package:

Qt6Gui could not be found because dependency WrapOpenGL could not be found.

Call Stack (most recent call first):
/usr/lib/x86_64-linux-gnu/cmake/Qt6/QtPublicDependencyHelpers.cmake:14 (find_dependency)
/usr/lib/x86_64-linux-gnu/cmake/Qt6WebEngineWidgets/Qt6WebEngineWidgetsDependencies.cmake:96 (_qt_internal_find_dependencies)
/usr/lib/x86_64-linux-gnu/cmake/Qt6WebEngineWidgets/Qt6WebEngineWidgetsConfig.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/Qt6WebEngineWidgets/Qt6WebEngineWidgetsConfig.cmake

but it set Qt6WebEngineWidgets_FOUND to FALSE so package
"Qt6WebEngineWidgets" is considered to be NOT FOUND. Reason given by
package:

Qt6WebEngineWidgets could not be found because dependency Qt6Gui could not
be found.

Call Stack (most recent call first):
src/qt6sigil.cmake:27 (find_package)
src/CMakeLists.txt:685 (include)


-- Could NOT find OpenGL (missing: OPENGL_INCLUDE_DIR)
-- Could NOT find WrapOpenGL (missing: WrapOpenGL_FOUND)
CMake Warning at /usr/share/cmake-3.22/Modules/CMakeFindDependencyMacro.cmake:47 (find_package):
Found package configuration file:

/usr/lib/x86_64-linux-gnu/cmake/Qt6Gui/Qt6GuiConfig.cmake

but it set Qt6Gui_FOUND to FALSE so package "Qt6Gui" is considered to be
NOT FOUND. Reason given by package:

Qt6Gui could not be found because dependency WrapOpenGL could not be found.

Call Stack (most recent call first):
/usr/lib/x86_64-linux-gnu/cmake/Qt6/QtPublicDependencyHelpers.cmake:14 (find_dependency)
/usr/lib/x86_64-linux-gnu/cmake/Qt6Widgets/Qt6WidgetsDependencies.cmake:96 (_qt_internal_find_dependencies)
/usr/lib/x86_64-linux-gnu/cmake/Qt6Widgets/Qt6WidgetsConfig.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/Qt6Widgets/Qt6WidgetsConfig.cmake

but it set Qt6Widgets_FOUND to FALSE so package "Qt6Widgets" is considered
to be NOT FOUND. Reason given by package:

Qt6Widgets could not be found because dependency Qt6Gui could not be found.

Call Stack (most recent call first):
src/qt6sigil.cmake:27 (find_package)
src/CMakeLists.txt:685 (include)


-- Could NOT find OpenGL (missing: OPENGL_INCLUDE_DIR)
-- Could NOT find WrapOpenGL (missing: WrapOpenGL_FOUND)
CMake Warning at /usr/share/cmake-3.22/Modules/CMakeFindDependencyMacro.cmake:47 (find_package):
Found package configuration file:

/usr/lib/x86_64-linux-gnu/cmake/Qt6Gui/Qt6GuiConfig.cmake

but it set Qt6Gui_FOUND to FALSE so package "Qt6Gui" is considered to be
NOT FOUND. Reason given by package:

Qt6Gui could not be found because dependency WrapOpenGL could not be found.

Call Stack (most recent call first):
/usr/lib/x86_64-linux-gnu/cmake/Qt6/QtPublicDependencyHelpers.cmake:14 (find_dependency)
/usr/lib/x86_64-linux-gnu/cmake/Qt6PrintSupport/Qt6PrintSupportDependencies.cmake:96 (_qt_internal_find_dependencies)
/usr/lib/x86_64-linux-gnu/cmake/Qt6PrintSupport/Qt6PrintSupportConfig.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/Qt6PrintSupport/Qt6PrintSupportConfig.cmake

but it set Qt6PrintSupport_FOUND to FALSE so package "Qt6PrintSupport" is
considered to be NOT FOUND. Reason given by package:

Qt6PrintSupport could not be found because dependency Qt6Gui could not be
found.

Call Stack (most recent call first):
src/qt6sigil.cmake:27 (find_package)
src/CMakeLists.txt:685 (include)


CMake Error at src/qt6sigil.cmake:27 (find_package):
Found package configuration file:

/usr/lib/x86_64-linux-gnu/cmake/Qt6/Qt6Config.cmake

but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT
FOUND. Reason given by package:

Failed to find Qt component "WebEngineCore".

Expected Config file at
"/usr/lib/x86_64-linux-gnu/cmake/Qt6WebEngineCore/Qt6WebEngineCoreConfig.cmake"
exists

Failed to find Qt component "WebEngineWidgets".

Expected Config file at
"/usr/lib/x86_64-linux-gnu/cmake/Qt6WebEngineWidgets/Qt6WebEngineWidgetsConfig.cmake"
exists

Failed to find Qt component "Widgets".

Expected Config file at
"/usr/lib/x86_64-linux-gnu/cmake/Qt6Widgets/Qt6WidgetsConfig.cmake" exists

Failed to find Qt component "PrintSupport".

Expected Config file at
"/usr/lib/x86_64-linux-gnu/cmake/Qt6PrintSupport/Qt6PrintSupportConfig.cmake"
exists



Call Stack (most recent call first):
src/CMakeLists.txt:685 (include)


-- Configuring incomplete, errors occurred!
See also "/home/chris/sigil-src/CMakeFiles/CMakeOutput.log".
See also "/home/chris/sigil-src/CMakeFiles/CMakeError.log"
.


And magically, all the Qt5 messages are gone again.
retiredbiker is offline   Reply With Quote
Old 01-06-2024, 01:32 PM   #9
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
What kind of video card/driver do you have installed? Qt6 will require a fairly decent video card and newer drivers (much more so than Qt5). With no OPEN_GL support discovered, I'm not sure there's much hope. The missing opengl is the source of all your errors, starting with the Qt6Gui module. It cascades from there.
DiapDealer is online now   Reply With Quote
Old 01-06-2024, 01:37 PM   #10
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Just thought of something: try installing the libgl1-mesa-dev package before trying to configure again. That package should get you the open_gl headers and includes that cmake is looking for.
DiapDealer is online now   Reply With Quote
Old 01-06-2024, 02:25 PM   #11
retiredbiker
Addict
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: 387
Karma: 1638210
Join Date: May 2013
Location: Ontario, Canada
Device: Kindle KB, Oasis, Pop_Os!, Jutoh, Kobo Forma
Quote:
Originally Posted by DiapDealer View Post
Just thought of something: try installing the libgl1-mesa-dev package before trying to configure again. That package should get you the open_gl headers and includes that cmake is looking for.

What kind of video card/driver do you have installed?
Now that is magic. After installing libgl1-mesa-dev, it configured without error, then make and make install ran perfectly.

It Runs! Not only that, I kept the data directory from the flatpak installation, copied it in, and it all seems to work--even epubcheck.

Thank You!

(Brand new Thelio-3 from System76, it has bog-standard AMD video as far as I know, here are details --
Spoiler:
chris@pop-os:~$ glxinfo -B
name of display: :0
display: :0 screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
Vendor: AMD (0x1002)
Device: RAPHAEL_MENDOCINO (radeonsi, raphael_mendocino, LLVM 15.0.7, DRM 3.54, 6.6.6-76060606-generic) (0x164e)
Version: 23.3.0
Accelerated: yes
Video memory: 512MB
Unified memory: no
Preferred profile: core (0x1)
Max core profile version: 4.6
Max compat profile version: 4.6
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.2
Memory info (GL_ATI_meminfo):
VBO free memory - total: 101 MB, largest block: 101 MB
VBO free aux. memory - total: 15469 MB, largest block: 15469 MB
Texture free memory - total: 101 MB, largest block: 101 MB
Texture free aux. memory - total: 15469 MB, largest block: 15469 MB
Renderbuffer free memory - total: 101 MB, largest block: 101 MB
Renderbuffer free aux. memory - total: 15469 MB, largest block: 15469 MB
Memory info (GL_NVX_gpu_memory_info):
Dedicated video memory: 512 MB
Total available memory: 16132 MB
Currently available dedicated video memory: 101 MB
OpenGL vendor string: AMD
OpenGL renderer string: RAPHAEL_MENDOCINO (radeonsi, raphael_mendocino, LLVM 15.0.7, DRM 3.54, 6.6.6-76060606-generic)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 23.3.0-1pop0~1702935939~22.04~67e417a
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6 (Compatibility Profile) Mesa 23.3.0-1pop0~1702935939~22.04~67e417a
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 23.3.0-1pop0~1702935939~22.04~67e417a
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
)
retiredbiker is offline   Reply With Quote
Old 01-06-2024, 02:39 PM   #12
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
You're welcome! I've noted the libgl1-mesa-dev package in the official github build instructions, so thanks for reporting your errors. Hopefully the efforts of people like you and philja will make things easier for others.

Your video card should be fine. I just forgot that the OpenGL dev headers and includes might not be present on systems that don't do a lot of building. Especially on those distros that split the dev stuff out by default in their packaging.

Note that some plugins will be looking for PySide6 when used with Qt6-built Sigil. We left PyQt behind on our other platforms when we switched to Qt6. Unfortunately most Debian/Ubuntu-based distros don't have Pyside6 packages in their repos. There are a few workarounds for this if you run into any problems.

Last edited by DiapDealer; 01-06-2024 at 02:44 PM.
DiapDealer is online now   Reply With Quote
Old 01-07-2024, 09:17 AM   #13
retiredbiker
Addict
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: 387
Karma: 1638210
Join Date: May 2013
Location: Ontario, Canada
Device: Kindle KB, Oasis, Pop_Os!, Jutoh, Kobo Forma
PySide6 and DOCXImport

Quote:
Originally Posted by DiapDealer View Post
Note that some plugins will be looking for PySide6 when used with Qt6-built Sigil. We left PyQt behind on our other platforms when we switched to Qt6. Unfortunately most Debian/Ubuntu-based distros don't have Pyside6 packages in their repos. There are a few workarounds for this if you run into any problems.
So I hit this pretty quickly, using the DOCXImport plugin. The first error simply said it needed PySide6, so I got that installed as follows:

Spoiler:
chris@pop-os:~$ sudo pip3 install pyside6
[sudo] password for chris:
Collecting pyside6
Downloading PySide6-6.6.1-cp38-abi3-manylinux_2_28_x86_64.whl (77 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 77.9/77.9 KB 1.1 MB/s eta 0:00:00
Collecting PySide6-Addons==6.6.1
Downloading PySide6_Addons-6.6.1-cp38-abi3-manylinux_2_28_x86_64.whl (125.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 125.2/125.2 MB 3.3 MB/s eta 0:00:00
Collecting shiboken6==6.6.1
Downloading shiboken6-6.6.1-cp38-abi3-manylinux_2_28_x86_64.whl (245 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 245.2/245.2 KB 4.5 MB/s eta 0:00:00
Collecting PySide6-Essentials==6.6.1
Downloading PySide6_Essentials-6.6.1-cp38-abi3-manylinux_2_28_x86_64.whl (82.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 82.3/82.3 MB 3.3 MB/s eta 0:00:00
Installing collected packages: shiboken6, PySide6-Essentials, PySide6-Addons, pyside6
Successfully installed PySide6-Addons-6.6.1 PySide6-Essentials-6.6.1 pyside6-6.6.1 shiboken6-6.6.1
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
chris@pop-os:~$


But I guess that is not sufficient, since I now get a message about an undefined symbol:

Spoiler:
DOCXImport
Status: failed

Traceback (most recent call last):
File "/usr/local/share/sigil/plugin_launchers/python/launcher.py", line 142, in launch
self.exitcode = target_script.run(container)
File "/home/chris/.local/share/sigil-ebook/sigil/plugins/DOCXImport/plugin.py", line 82, in run
from qtdialogs import launch_qt_gui as launch_gui
File "/home/chris/.local/share/sigil-ebook/sigil/plugins/DOCXImport/qtdialogs.py", line 10, in <module>
from plugin_utils import PluginApplication, iswindows, _t as _translate
File "/home/chris/.local/share/sigil-ebook/sigil/plugins/DOCXImport/plugin_utils.py", line 40, in <module>
from PySide6 import QtCore, QtGui, QtNetwork, QtPrintSupport, QtSvg, QtWebChannel, QtWidgets # noqa: F401
ImportError: /usr/lib/x86_64-linux-gnu/libQt6DBus.so.6: undefined symbol: _ZN9QtPrivate23CompatPropertySafePointC1EP14QBindi ngStatusP20QUntypedPropertyData, version Qt_6
Error: /usr/lib/x86_64-linux-gnu/libQt6DBus.so.6: undefined symbol: _ZN9QtPrivate23CompatPropertySafePointC1EP14QBindi ngStatusP20QUntypedPropertyData, version Qt_6


Any pointers on where to go from here? (And this isn't at all urgent, since I use LO Writer and the ODT Import works well.)
retiredbiker is offline   Reply With Quote
Old 01-07-2024, 01:18 PM   #14
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 7,647
Karma: 5433388
Join Date: Nov 2009
Device: many
I think you are seeing the same error as:

https://www.mobileread.com/forums/sh...9&postcount=21

The solution is that I think something is missing from the LD_LIBRARY_PATH setting that causes a conflict between PySide6 and Sigil that prevents PySide6 from finding the pieces it needs.

DiapDealer will probably know more. See his followups in that thread.

I build my own PySide6 on my Manjaro Linux box and have never seen this error.
KevinH is offline   Reply With Quote
Old 01-07-2024, 03:02 PM   #15
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Yes. It's the same problem.

Either comment out the setting of QTLIB_DIR in Sigil's launch script (/usr/local/bin/sigil) as described here: https://www.mobileread.com/forums/sh...73#post4373073

Or use my self-contained Python AppImage for Sigil's plugin interpreter that has all of Sigil's needs installed. Download sigil-qt6-python3.11_x86_64.AppImage from the asset list at https://github.com/dougmassay/appima...ag/2023.11.2-1, save it somewhere you'll remember, mark it as executable and set it as the interpreter in Sigil's plugin preferences.

The 2nd solution will work after rebuilds/updates/reinstalls, but the first solution will need to be redone after every new rebuild/update/reinstall.

I really wish Debian/Ubuntu would commit to providing a PySide6 package in their repos like other distros are doing. It would make all of this unnecessary.
DiapDealer is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Seeking help in building Sigil on linux philja Sigil 66 11-18-2023 05:10 PM
Difficulty with building sigil 0.9.0 on linux philja Sigil 36 11-25-2015 04:38 PM
sigil 0.8.1 building on linux blackest Sigil 9 10-15-2014 06:22 PM
Building Sigil from source on Linux xingenter Sigil 10 04-29-2013 01:18 PM
Building Sigil under Linux st_albert Sigil 1 08-07-2011 03:19 PM


All times are GMT -4. The time now is 06:11 PM.


MobileRead.com is a privately owned, operated and funded community.