LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Slack64-current and Digikam-5.2.0 (https://www.linuxquestions.org/questions/slackware-14/slack64-current-and-digikam-5-2-0-a-4175590118/)

3rensho 09-25-2016 09:38 AM

Slack64-current and Digikam-5.2.0
 
I'm running Slack64-current and also Alien Bob's latest kde5. I've tried building Digikam-5.20 that Willy Sudiarto Raharjo posted on his slackbuilds site and the build crashes at about 55% completion. I've found these two errors in the build log that I captured -

root@missi:/data/patches/digikam$ cat build.txt|grep Error
make[2]: *** [core/utilities/kdesupport/akonadi/CMakeFiles/akonadiiface_src.dir/akonadiiface.cpp.o] Error 1
make[1]: *** [core/utilities/kdesupport/akonadi/CMakeFiles/akonadiiface_src.dir/all] Error 2
make: *** [all] Error 2

Is this down to the version of KDE (and akonadi) I'm running? If so, any fixes? Thanks in advance

Tom

Alien Bob 09-26-2016 03:10 AM

The actual error will have occurred earlier.
You could try my checkpkg script to get some more insight into the failure of this build.
Code:

sh checkpkg -l build.txt
If I would guess: the akonadi package may be causing this.
One of the akonadi header files contains a hardcoded compiler version. Check the file
Code:

/usr/include/KF5/AkonadiCore/std_exception.h
and make sure that the version number in
Code:

#include "/usr/include/c++/5.4.0/exception"
matches the version of the compiler you are using. Slackware-current comes with gcc-5.4.0 by default but perhaps you are using gcc-6.2.0 from the /testing directory.

3rensho 09-26-2016 05:55 AM

Ahh, you nailed it Alien Bob. Many thanks for your help.

sh checkpkg.sh -l build.txt
++ Checking logfile 'build.txt' (no news is good news):
7452 :Call Stack (most recent call first):
7490 :Call Stack (most recent call first):
7513 :Call Stack (most recent call first):
7554 :Call Stack (most recent call first):
7590 :-- Looking for pthread_create - not found
7592 :-- Looking for pthread_create in pthreads - not found
7750 :-- OpenMP not found
13995 :/usr/include/KF5/AkonadiCore/std_exception.h:1:44: fatal error: /usr/include/c++/5.3.0/exception: No such file or directory
13998 :make[2]: *** [core/utilities/kdesupport/akonadi/CMakeFiles/akonadiiface_src.dir/akonadiiface.cpp.o] Error 1
14001 :make[1]: *** [core/utilities/kdesupport/akonadi/CMakeFiles/akonadiiface_src.dir/all] Error 2
14577 :make: *** [all] Error 2

Changed the compiler version to 5.4 (slack64-current version) and it built fine and runs nicely. Thank you again.


All times are GMT -5. The time now is 07:20 PM.