|
|
#1 |
|
Enthusiast
![]() Posts: 36
Karma: 10
Join Date: Apr 2016
Device: none
|
Sigil compilation error with 2.2.1 on Linux Mint 21.1
I installed all the needed packages specified here https://github.com/Sigil-Ebook/Sigil...Linux_older.md. This cmake command fails on version 2.2.1:
cmake -DUSE_SYSTEM_LIBS=1 -DUSE_QT5=1 -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release ../sigil-src The error is: Code:
$ cmake -DUSE_SYSTEM_LIBS=1 -DUSE_QT5=1 -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release ../sigil-src
-- Trying to use System Libraries...
-- CMake version in use: 3.22.1
-- Using older findpython cmake module
-- Using System ZLIB
-- Using System MiniZip
-- Using System Hunspell
-- Using System PCRE2
-- Could NOT find Qt5Svg (missing: Qt5Svg_DIR)
CMake Warning at src/qt5sigil.cmake:38 (find_package):
Found package configuration file:
/usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake
but it set Qt5_FOUND to FALSE so package "Qt5" is considered to be NOT
FOUND. Reason given by package:
Failed to find Qt5 component "Svg" config file at
"/usr/lib/x86_64-linux-gnu/cmake/Qt5Svg/Qt5SvgConfig.cmake"
Call Stack (most recent call first):
src/CMakeLists.txt:676 (include)
-- Using older PYTHON_LIBRARIES CMAKE variable to link to Python
-- Configuring done
CMake Error at src/qt5sigil.cmake:230 (add_executable):
Target "sigil" links to target "Qt5::Svg" but the target was not found.
Perhaps a find_package() call is missing for an IMPORTED target, or an
ALIAS target is missing?
Call Stack (most recent call first):
src/CMakeLists.txt:676 (include)
-- Generating done
CMake Generate step failed. Build files cannot be regenerated correctly.
|
|
|
|
|
|
#2 |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,074
Karma: 6361556
Join Date: Nov 2009
Device: many
|
Yes you are missing the package that supplies QtSvg and its headers.
|
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,899
Karma: 207182180
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
libqt5svg5-dev should get both.
I'll make sure to add that to the Older Linux build documentation since the latest is now Qt6-only. QtSvg was only a runtime requirement up to (and including) Sigil 2.0.2. It became a build requirement starting with Sigil 2.1.0 EDIT: I'm sorry. Changed to reflect the need for Qt5 Last edited by DiapDealer; 10-18-2024 at 11:56 AM. |
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Linux - Not able to install Sigil 0.9.9 on Mint 20 | jaber | Sigil | 4 | 07-16-2020 03:05 PM |
| bad database error in linux mint 10 after reinstall | gbowlds | Calibre | 2 | 10-14-2011 01:57 AM |
| compilation error | iomari | Calibre | 1 | 10-04-2011 10:01 AM |
| sigil and linux mint katya problem | Suffolk Punch | Sigil | 7 | 06-09-2011 12:28 PM |
| linux kernel module compilation + insertion | gdkags | Kindle Developer's Corner | 3 | 09-21-2010 06:27 PM |