LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Slackbuilds digikam-4.14.0 compile errors (https://www.linuxquestions.org/questions/slackware-14/slackbuilds-digikam-4-14-0-compile-errors-4175597491/)

jrfr 01-15-2017 05:07 AM

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

orbea 01-15-2017 09:19 AM

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. :)

willysr 01-15-2017 10:22 AM

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.

jrfr 01-16-2017 04:20 AM

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

willysr 01-16-2017 05:16 AM

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 :)

jrfr 01-20-2017 06:18 AM

[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


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