LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-25-2016, 09:38 AM   #1
3rensho
Senior Member
 
Registered: Mar 2008
Location: Deutschland
Distribution: Slackware64-current
Posts: 1,019

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
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
 
Old 09-26-2016, 03:10 AM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
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.
 
Old 09-26-2016, 05:55 AM   #3
3rensho
Senior Member
 
Registered: Mar 2008
Location: Deutschland
Distribution: Slackware64-current
Posts: 1,019

Original Poster
Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slack64-Current / Mplayer slackass Slackware 4 04-02-2011 10:42 AM
[SOLVED] emacs 23.1 slack64-current sycamorex Slackware 9 03-05-2010 02:56 PM
Thunderbird 3, Slack64 current, and Lightning redray8 Slackware 1 12-16-2009 09:58 AM
[SOLVED] Cannot build apcups on slack64-current tux_dude Slackware 5 12-15-2009 06:42 AM
slack64 -current won't upgrade wingevil Slackware 6 08-17-2009 11:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration