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 01-15-2017, 05:07 AM   #1
jrfr
Member
 
Registered: Sep 2012
Posts: 34

Rep: Reputation: Disabled
Slackbuilds digikam-4.14.0 compile errors


After the latest updates, I have tried to compile digikam-4.14.0 using slackbuilds

I have the following compile errors :
Generating slideshowsettingswidget.moc
usr/include/boost/type_traits/detail/has_prefix_operator.hp:46: Parse error at "BOOST_JOIN"
automoc4: process for /instsrc/digikam/digikam-4.14.0/build/extra/kipi-plugins/videoslideshow/slideshowsettingswidget.moc failed: Unknown error
pid to wait for: 0
Generating encoderdecoder.moc
usr/include/boost/type_traits/detail/has_prefix_operator.hp:46: Parse error at "BOOST_JOIN"
automoc4: process for /instsrc/digikam/digikam-4.14.0/build/extra/kipi-plugins/videoslideshow/encoderdecoder.moc failed: Unknown error
pid to wait for: 0
Generating myimagelist.moc
Generating plugin_videoslideshow.moc
Generating actionthread.moc
usr/include/boost/type_traits/detail/has_prefix_operator.hp:46: Parse error at "BOOST_JOIN"
automoc4: process for /instsrc/digikam/digikam-4.14.0/build/extra/kipi-plugins/videoslideshow/actionthread.moc failed: Unknown error
pid to wait for: 0
returning failed..

However if I replace
boost-1.63.0-x86_64-1.txz
by
boost-1.59.0-x86_64-1.txz
the compilation is ok

Is there a patch to compile digikam with the boost latest version ?

Thanks for any information
 
Old 01-15-2017, 09:19 AM   #2
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
Arch is using digikam-5.4.0. Can you try updating it to see if the problem is resolved? Also be sure to let the maintainer know if he doesn't see this thread.
 
Old 01-15-2017, 10:22 AM   #3
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,670

Rep: Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786
i saw it

I'm not sure about patching digikam 4 with latest boost (not yet tried) since upstream now focused on digiKam 5. They will no longer give support to digiKam 4.

i do have a working digiKam5 SlackBuild outside SBo (it's on my personal SlackHacks repository) but you will need to install KDE Framework 5 and libkipi5 from my SlackHacks or from AlienBOB's KDE 5 packages.
 
1 members found this post helpful.
Old 01-16-2017, 04:20 AM   #4
jrfr
Member
 
Registered: Sep 2012
Posts: 34

Original Poster
Rep: Reputation: Disabled
digikam-5.4.0

I have installed :
- libkipi-16.08.3-x86_64-1alien.txz
- frameworkintegration-5.28.0-x86_64-1alien.txz

I dont know if these versions are the good ones

I have tried to install digikam-5.4.0 but
this release requires also qt5, ecm... and perhaps a lot of other packages

So I prefer to stay with official slackware 14.2 distribution and slackbuilds
 
Old 01-16-2017, 05:16 AM   #5
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,670

Rep: Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786
yes, like i said, it requires KDE 5 which in turns requires Qt5.

If you prefer to stay with 14.2, you will not move on to current and upgrade your boost
 
Old 01-20-2017, 06:18 AM   #6
jrfr
Member
 
Registered: Sep 2012
Posts: 34

Original Poster
Rep: Reputation: Disabled
[SOLVED] digikam compile error

I have seen on internet some other packages have a similar problem.

So I have dapated the solution do digikam.

In /usr/include/boost/type_traits/detail I have added
#ifndef Q_MOC_RUN at begining and
#endif" at end of file to
has_prefix_operator.hpp and has_postfix_operator.hpp
 
2 members found this post helpful.
  


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
[SOLVED] Slackbuilds digikam 4.14.0 compile error Contrak Slackware 9 08-24-2016 06:16 PM
[SOLVED] DigiKam compile failed StreamThreader Slackware 11 02-03-2014 05:36 AM
[SOLVED] digikam not starting after installing kde4.10.5 - unable to compile digikam now. camorri Slackware 19 07-25-2013 04:43 PM
digikam no compile micder Slackware 2 02-13-2009 09:10 AM
digikam no compile micder Linux - Software 2 02-12-2009 09:06 AM

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

All times are GMT -5. The time now is 06:31 AM.

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