Problem when building Tellico 4.0.1 on Ubuntu

Sven Linux sven2bangkok at gmail.com
Wed Nov 27 18:37:28 GMT 2024


It got a lot further along but there were LOTS of CMake warnings and then
finally an actual error that stopped the process again:

-- Found Poppler_Core: /usr/lib/x86_64-linux-gnu/libpoppler.so (found
version "0.86.1")
CMake Warning (dev) at
/usr/share/cmake-3.29/Modules/FindPackageHandleStandardArgs.cmake:438
(message):
  The package name passed to `find_package_handle_standard_args`
  (Poppler_Qt5) does not match the name of the calling package (Poppler).
  This can lead to problems in calling code that expects `find_package`
  result variables (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  /usr/share/ECM/modules/ECMFindModuleHelpers.cmake:248
(find_package_handle_standard_args)
  /usr/share/ECM/find-modules/FindPoppler.cmake:112
(ecm_find_package_handle_library_components)
  CMakeLists.txt:185 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found Poppler_Qt5: /usr/lib/x86_64-linux-gnu/libpoppler-qt5.so (found
version "0.86.1")
-- Found Poppler:
/usr/lib/x86_64-linux-gnu/libpoppler.so;/usr/lib/x86_64-linux-gnu/libpoppler-qt5.so
(found version "0.86.1") found components: Qt5
-- Checking for module 'exempi-2.0'
--   Found exempi-2.0, version 2.5.1
-- Found Exempi: /usr/include/exempi-2.0 (Required is at least version
"2.0")
-- Found Btparse: /usr/include
-- Checking for modules 'libcdio;libiso9660'
--   No package 'libiso9660' found
-- Found CDIO: /usr/include
-- Found Csv: /usr/include (found suitable version "3.0.3", minimum
required is "3.0")
CMake Error at src/gui/CMakeLists.txt:47 (qt_wrap_ui):
  qt_wrap_ui called with incorrect number of arguments


CMake Error at src/newstuff/CMakeLists.txt:7 (qt_add_dbus_adaptor):
  Unknown CMake command "qt_add_dbus_adaptor".

I redirected the output to a file and can supply that file if needed.
It shows all of the CMake warnings that occurred prior to the above error.
That file is a 41K uncompressed text file.



On Tue, Nov 26, 2024 at 7:47 PM Robby Stephenson <robby at periapsis.org>
wrote:

> On Tue, Nov 26, 2024 at 2:17 PM Sven Linux <sven2bangkok at gmail.com> wrote:
>
>> OK, I did the suggested apt command and 143 extra packages were installed
>> as a result of running the "sudo apt build-dep tellico" command
>> but when I try rerunning the tellico cmake command I still get the same
>> error:
>>
>> root at zbook1:/usr/local/src/tellico-4.0.1/build# cmake ..
>> -DCMAKE_INSTALL_PREFIX=`kf5-config --prefix`
>> QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
>> QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
>> CMake Error at CMakeLists.txt:71 (find_package):
>>   Could not find a package configuration file provided by "Qt" (requested
>>   version 5.12.0) with any of the following names:
>>
>>     QtConfig.cmake
>>     qt-config.cmake
>>
>
> For some reason, it looks like the Qt version isn't being set. Can you try
>
>  cmake .. -DCMAKE_INSTALL_PREFIX=`kf5-config --prefix` -DQT_MAJOR_VERSION=5
>
> and see if that helps?
>
> Robby
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/tellico-users/attachments/20241127/10af35f3/attachment.htm>


More information about the tellico-users mailing list