[Digikam-devel] Digikam 4 or 5 on Debian stretch

Jens Holzhäuser Jens.Holzhaeuser at gmx.net
Sun Nov 29 22:25:47 GMT 2015


Hi,

like a few others here, I am missing Digikam on Debian stretch.

I was able to compile the latest V5 beta version without opencv (I can live
without it for now) from git. I used bootstrap.local to install it into
/usr/local/digikam, and am starting via a shellscript that takes care of
the KDE/KDESYCOCADIR variables etc.

When starting digikam, I see fairly at the begining (amongst many other messages):


| digikam.general: Database Parameters:
|    Type:                 "QSQLITE"
|    DB Core Name:         "/home/jens/Pics/digikam4.db"
|    DB Thumbs Name:       "/home/jens/Pics/thumbnails-digikam.db"
|    DB Face Name:         "/home/jens/Pics/recognition.db"
|    Connect Options:      ""
|    Host Name:            ""
|    Host port:            -1
|    Internal Server:      false
|    Internal Server Path: ""
|    Username:             ""
|    Password:             ""
|
| digikam.dbengine: Loading SQL code from config file ""
| digikam.dbengine: "Could not open the configuration file <b></b>. This file is installed with
| the digikam application and is absolutely required to run digikam. Please check your installation."


What am I missing? Where do I get the config file with the SQL code
from and where does it go?
The list DB files are the ones from my prior Digikam 4 use.

I also see no splash window on startup; digikam shows all the folders
and subfolders in the configured directory, without any pictures though.
Plus messages like "digikam.dbengine: Attempt to execute null action".


I would be fine with Digikam 4 as well, but when trying to bootstrap the 
source from the official digikam-4.14.0.tar.bz2 archive, cmake fails with

|   -- Adjusting compilation flags for GCC version (5.2.1 )
|   -- Configuring incomplete, errors occurred!
|   See also "/usr/src/digikam/digikam-4.14.0/build/CMakeFiles/CMakeOutput.log".
|   See also "/usr/src/digikam/digikam-4.14.0/build/CMakeFiles/CMakeError.log".

Last lines in
/usr/src/digikam/digikam-4.14.0/build/CMakeFiles/CMakeError.log:

| Performing C++ SOURCE FILE Test HAVE_LQR_0_4 failed with the following output:
| Change Dir: /usr/src/digikam/digikam-4.14.0/build/CMakeFiles/CMakeTmp
|
| Run Build Command:"/usr/bin/make" "cmTC_2e20f/fast"
| /usr/bin/make -f CMakeFiles/cmTC_2e20f.dir/build.make CMakeFiles/cmTC_2e20f.dir/build
| make[1]: Entering directory '/usr/src/digikam/digikam-4.14.0/build/CMakeFiles/CMakeTmp'
| Building CXX object CMakeFiles/cmTC_2e20f.dir/src.cxx.o
| /usr/bin/c++    -pedantic -Werror=return-type -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -Werror=return-type -fvisibility-inlines-hidden -DHAVE_LQR_0_4 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include    -o CMakeFiles/cmTC_2e20f.dir/src.cxx.o -c /usr/src/digikam/digikam-4.14.0/build/CMakeFiles/CMakeTmp/src.cxx
| /usr/src/digikam/digikam-4.14.0/build/CMakeFiles/CMakeTmp/src.cxx:2:21: fatal error: lqr.h: No such file or directory
| compilation terminated.
| CMakeFiles/cmTC_2e20f.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_2e20f.dir/src.cxx.o' failed
| make[1]: Leaving directory '/usr/src/digikam/digikam-4.14.0/build/CMakeFiles/CMakeTmp'
| make[1]: *** [CMakeFiles/cmTC_2e20f.dir/src.cxx.o] Error 1
| Makefile:126: recipe for target 'cmTC_2e20f/fast' failed
| make: *** [cmTC_2e20f/fast] Error 2
| Source file was:
| 
|     #include <lqr.h>
| 
|     int main()
|     {
|     LqrImageType t = LQR_RGB_IMAGE;
|     return 0;
|     }

How do I tell cmake to call the compiler with -I/usr/include/lqr-1 ,
which I think would be solution to that? I have liblqr-1-0-dev 0.4.2-2
installed, which puts the includes there.


Thanks,

	Jens


-- 
Jens Holzhäuser                                jens.holzhaeuser at gmx.net
Richmond, Virginia (USA)



More information about the Digikam-devel mailing list