[Digikam-devel] Building on Ubuntu Wily (was Re: [Digikam-users] Mysql/MariaDb database expert needs...)

Richard Mortimer richm+digikam at oldelvet.org.uk
Thu Nov 19 16:40:46 GMT 2015


Note - I switched to -devel to stop clogging up -users with compilation
related things.

On 18/11/2015 14:15, Gilles Caulier wrote:
> In fact when i started to port code to Qt5, i used 5.4, but i'm sure
> that 5.2 will work as well. 
> 
It looked too scary to update 14.04 to get kf5 so I created a schroot
image for Wily (15.10).

I'm having a bit of trouble identifying all of the packages that are
required. At present I'm stuck at the following error. If anyone can
point me in the right direction (even if it means building a minimal
version) that will be appreciated so that I can get something to test.

Regards

Richard

(wily)laptop at duncow:~/Git/digikam/digikam-software-compilation$
./bootstrap.local
Qt      Install Path : /usr
KF5     Install Path : /usr
digiKam Install Path : /tmp/digikam
--
----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam-software-collection
-- Local shared libkipi will be compiled.......... NO (library source
code not available)
-- Local shared libksane will be compiled.......... NO (library source
code not available)
-- Local shared libmediawiki will be compiled.......... NO (library
source code not available)
-- Local shared libkvkontakte will be compiled.......... NO (library
source code not available)
-- Extract translations files..................... NO
-- Translations will be compiled.................. NO
-- Handbooks will be compiled..................... NO
-- Tests code will be compiled.................... YES
--
----------------------------------------------------------------------------------
-- Starting CMake configuration for: kipi-plugins
-- Found KF5: success (found suitable version "5.15.0", minimum required
is "5.1.0") found components:  Config WindowSystem XmlGui I18n KIO
Service IconThemes
CMake Warning at /usr/share/ECM/find-modules/FindKF5.cmake:74
(find_package):
  Could not find a configuration file for package "KF5CalendarCore" that is
  compatible with requested version "5.1.0".

  The following configuration files were considered but not accepted:


/usr/lib/x86_64-linux-gnu/cmake/KF5CalendarCore/KF5CalendarCoreConfig.cmake,
version: 4.82.0

Call Stack (most recent call first):
  extra/kipi-plugins/CMakeLists.txt:116 (find_package)


-- Could NOT find KF5CalendarCore , checked the following files:

/usr/lib/x86_64-linux-gnu/cmake/KF5CalendarCore/KF5CalendarCoreConfig.cmake
(version 4.82.0)

-- Found KF5: success (found suitable version "5.15.0", minimum required
is "5.1.0") found components:  Archive ThreadWeaver missing components:
 CalendarCore
-- libkipi : search system based library
CMake Error at extra/kipi-plugins/cmake/modules/MacroLocalLibs.cmake:13
(find_package):
  Could not find a package configuration file provided by "KF5Kipi"
  (requested version 5.0.0) with any of the following names:

    KF5KipiConfig.cmake
    kf5kipi-config.cmake

  Add the installation prefix of "KF5Kipi" to CMAKE_PREFIX_PATH or set
  "KF5Kipi_DIR" to a directory containing one of the above files.  If
  "KF5Kipi" provides a separate development package or SDK, be sure it has
  been installed.
Call Stack (most recent call first):
  extra/kipi-plugins/CMakeLists.txt:125 (DETECT_LIBKIPI)


-- Configuring incomplete, errors occurred!
See also
"/home/laptop/Git/digikam/digikam-software-compilation/build/CMakeFiles/CMakeOutput.log".
Could not find drkonqi at /usr/lib/x86_64-linux-gnu/libexec/drkonqi
kbuildsycoca5 running...
Reusing existing ksycoca
Recreating ksycoca file ("/tmp/digikam/var/tmp/kde-laptop/ksycoca5",
version 303)
Still in the time dict (i.e. deleted files) ("apps")
Menu "applications-kmenuedit.menu" not found.
Saving
To run your local installation after building it, add this to your .bashrc:

 DIGIKAMROOT=/tmp/digikam
 alias digikam-dev="KDESYCOCA=$DIGIKAMROOT/var/tmp/kde-laptop/ksycoca5
XDG_DATA_DIRS=$DIGIKAMROOT/share
QT_PLUGIN_PATH=$DIGIKAMROOT/lib64/plugins:$DIGIKAMROOT/lib/plugins:$QT_PLUGIN_PATH
$DIGIKAMROOT/bin/digikam"

Then open a new shell (or source .bashrc) and run "digikam-dev".



More information about the Digikam-devel mailing list