[kmymoney] [Bug 403156] Cmake fails on Fedora 28 looking for LibAlkimia and Qt4 Core and DBus

Ian Neal bugzilla_noreply at kde.org
Mon Jan 14 08:56:43 GMT 2019


https://bugs.kde.org/show_bug.cgi?id=403156

--- Comment #12 from Ian Neal <iann_bugzilla at blueyonder.co.uk> ---
(In reply to Ian Neal from comment #11)
> (In reply to Ralf Habacker from comment #10)
> > (In reply to Rex Dieter from comment #9)
> > > Thanks for the clarification.
> > > 
> > > I'd jumped to that conclusion seeing the output:
> > > 
> > > "  The following configuration files were considered but not accepted:
> > >     /usr/lib64/cmake/LibAlkimia5-7.0/LibAlkimia5Config.cmake, version: 7.0.1
> > The alkimia check in
> > https://cgit.kde.org/kmymoney.git/tree/CMakeLists.txt?h=5.0#n73 is hardcoded
> > to a single alkimia version and need to be fixed. As workaround in top level
> > CMakeLists.txt chane from 
> >   find_package(LibAlkimia5 7.0.0 REQUIRED)
> > to 
> >   find_package(LibAlkimia5 7.0 REQUIRED)
> 
> Under my Fedora 28, the location is:
> /usr/lib64/cmake/LibAlkimia-7.0/LibAlkimiaConfig.cmake
> Note LibAlkimia instead of LibAlkimia5 in both cases

Okay found my problem. I had install the RPM:
libalkimia-devel-7.0.1-2.fc28.x86_64
Hence the location of the cmake file, once I installed
libalkimia-qt5-devel-7.0.1-2.fc28.x86_64
cmake found the correct LibAlkimia5Config.cmake and stopped complaining about
Qt4::Core and Qt4::DBus

Still needed Ralf's suggested change though to CMakeLists.txt for it to not
complain about libalkimia version 7.0.1

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list