https://github.com/JakubMelka/PDF4QT#readme
Under my xfce desktop environment, the only missing library was ft2demos-2.11.1-x86_64-1salix15.0.
After a first run there was an error message at the end only:
Code: Select all
The package zlib is compatible with built-in CMake targets:
find_package(ZLIB REQUIRED)
target_link_libraries(main PRIVATE ZLIB::ZLIB)
The package libpng is compatible with built-in CMake targets:
find_package(PNG REQUIRED)
target_link_libraries(main PRIVATE PNG::PNG)
freetype is compatible with built-in CMake targets:
find_package(Freetype REQUIRED)
target_link_libraries(main PRIVATE Freetype::Freetype) # since CMake 3.10
The package lcms provides CMake targets:
find_package(lcms2 CONFIG REQUIRED)
target_link_libraries(main PRIVATE lcms2::lcms2)
openjpeg provides CMake targets:
# this is heuristically generated, and may not be correct
find_package(OpenJPEG CONFIG REQUIRED)
target_link_libraries(main PRIVATE openjp2)
The package openssl is compatible with built-in CMake targets:
find_package(OpenSSL REQUIRED)
target_link_libraries(main PRIVATE OpenSSL::SSL OpenSSL::Crypto)
tbb provides CMake targets:
# this is heuristically generated, and may not be correct
find_package(TBB CONFIG REQUIRED)
target_link_libraries(main PRIVATE TBB::tbb TBB::tbbmalloc)
-- Running vcpkg install - done
-- The CXX compiler identification is GNU 11.2.0
-- 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 Error at /home/guest/vcpkg/scripts/buildsystems/vcpkg.cmake:859 (_find_package):
By not providing "FindQt6.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Qt6", but
CMake did not find one.
Could not find a package configuration file provided by "Qt6" with any of
the following names:
Qt6Config.cmake
qt6-config.cmake
Add the installation prefix of "Qt6" to CMAKE_PREFIX_PATH or set "Qt6_DIR"
to a directory containing one of the above files. If "Qt6" provides a
separate development package or SDK, be sure it has been installed.
Call Stack (most recent call first):
CMakeLists.txt:46 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/guest/PDF4QT/build/CMakeFiles/CMakeOutput.log".
However, it seems that PDF4QT needs QT6 also.
According to spman sbo builder and package manager, it needed the following dependencies which I fetch with getmod and activated in my module folder:
-double-conversion-3.2.0-x86_64-1gv
-html5lib-1.0.1-x86_64-2salix15.0
-md4c-0.4.8-x86_64-1salix15.0
-nodejs-17.9.0-x86_64-1salix15.0
-python3-webencodings-0.5.1-x86_64-2salix15.0
Trying to build qt6 with spman, I get the following error:
Code: Select all
spman -q --install
...
...
x libclang/bin/llvm-pdbutil
x libclang/bin/llvm-profdata
x libclang/bin/llvm-profgen
x libclang/bin/llvm-rc
x libclang/bin/llvm-readobj
x libclang/bin/llvm-reduce
x libclang/bin/llvm-rtdyld
x libclang/bin/llvm-sim
x libclang/bin/llvm-size
x libclang/bin/llvm-split
x libclang/bin/llvm-stress
x libclang/bin/llvm-strings
x libclang/bin/llvm-symbolizer
x libclang/bin/llvm-tapi-diff
x libclang/bin/llvm-tblgen
x libclang/bin/llvm-undname
x libclang/bin/llvm-xray
x libclang/bin/modularize
x libclang/bin/opt
x libclang/bin/pp-trace
x libclang/bin/sancov
x libclang/bin/sanstats
x libclang/bin/split-file
x libclang/bin/verify-uselistorder
chown: invalid group: ‘root:root’
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Package qt6: build error. Continue? (y/n): n