LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-01-2014, 09:08 AM   #1
StreamThreader
Member
 
Registered: Mar 2012
Location: Ukraine/Odesa
Distribution: Slackware
Posts: 152

Rep: Reputation: 64
DigiKam compile failed


Hello!
Compile digikam on Slackware 14.1 x86_64 and have problem with lensfun library
lensfun ver. 0.2.8

Code:
cd /tmp/SBo/digikam-3.5.0/build/extra/kipi-plugins/dlnaexport/extra/avtest && /usr/bin/cmake -E cmake_link_script CMakeFiles/avtest.dir/link.txt --verbose=1
/usr/bin/c++    -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 -O2 -DNDEBUG -DQT_NO_DEBUG  -Wl,--enable-new-dtags   CMakeFiles/avtest.dir/avtest_automoc.cpp.o CMakeFiles/avtest.dir/controlpoint_navigator.cpp.o CMakeFiles/avtest.dir/dataitem_display.cpp.o CMakeFiles/avtest.dir/mediamanager_dialog.cpp.o CMakeFiles/avtest.dir/mediaserver_window.cpp.o CMakeFiles/avtest.dir/controlpoint_navigatoritem.cpp.o CMakeFiles/avtest.dir/main.cpp.o CMakeFiles/avtest.dir/mediarenderer_connectionwindow.cpp.o CMakeFiles/avtest.dir/rendererconnections.cpp.o CMakeFiles/avtest.dir/controlpoint_window.cpp.o CMakeFiles/avtest.dir/mainwindow.cpp.o CMakeFiles/avtest.dir/mediarenderer_window.cpp.o  -o avtest  -L/tmp/SBo/digikam-3.5.0/build/lib  -L/usr/lib64/qt/lib -rdynamic ../../../../../lib/libHUpnp.a ../../../../../lib/libHUpnpAv.a /usr/lib64/libkdeui.so.5.10.5 -lphonon /usr/lib64/qt/lib/libQtNetwork.so /usr/lib64/qt/lib/libQtXml.so /usr/lib64/qt/lib/libQtXmlPatterns.so ../../../../../lib/libHUpnp.a ../../../../../lib/libQtSoap.a /usr/lib64/qt/lib/libQtGui.so /usr/lib64/libkdecore.so.5.10.5 /usr/lib64/qt/lib/libQtCore.so -lpthread /usr/lib64/qt/lib/libQtDBus.so /usr/lib64/qt/lib/libQtSvg.so -Wl,-rpath,/usr/lib64/qt/lib 
cd /tmp/SBo/digikam-3.5.0/build/extra/kipi-plugins/dlnaexport/extra/avtest && /usr/bin/cmake -D_filename=/tmp/SBo/digikam-3.5.0/build/extra/kipi-plugins/dlnaexport/extra/avtest/avtest.shell -D_library_path_variable=LD_LIBRARY_PATH -D_ld_library_path="/tmp/SBo/digikam-3.5.0/build/lib/./:/usr/lib64:/usr/lib64:/usr/lib64/qt/lib" -D_executable=/tmp/SBo/digikam-3.5.0/build/extra/kipi-plugins/dlnaexport/extra/avtest/avtest -P /usr/share/apps/cmake/modules/kde4_exec_via_sh.cmake
make[2]: Leaving directory `/tmp/SBo/digikam-3.5.0/build'
/usr/bin/cmake -E cmake_progress_report /tmp/SBo/digikam-3.5.0/build/CMakeFiles 
[ 84%] Built target avtest
make[1]: Leaving directory `/tmp/SBo/digikam-3.5.0/build'
make: *** [all] Error 2

Upgrade KDE to 4.11.5, result not changed.

Last edited by StreamThreader; 02-02-2014 at 10:03 AM.
 
Old 02-01-2014, 03:08 PM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,816

Rep: Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889
hm.... i thought that one was already fixed in the past public update
will test it again on clean VM

btw, did you grab the latest lensfun update?
i switched to cmake instead of traditional autotools and this is the root cause of digikam failure. Make sure you have lensfun-0.2.8 build number: 3

also, try to use "su -" instead of "su"

Last edited by willysr; 02-01-2014 at 03:40 PM.
 
1 members found this post helpful.
Old 02-01-2014, 07:05 PM   #3
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,816

Rep: Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889
OK, i tried to build again from clean and apparently yes, it's still broken at the moment
i don't know how i can make it built in the past with the same VM

For now, please remove lensfun before building digikam and it should work
 
1 members found this post helpful.
Old 02-01-2014, 07:41 PM   #4
schmatzler
Member
 
Registered: Jan 2011
Location: Germany
Distribution: Slackware64 -current + Multilib
Posts: 411

Rep: Reputation: 181Reputation: 181
I just built 4.0 beta and the latest lensfun - just edited the version number in the slackbuild.

And it's running fine.
 
Old 02-01-2014, 08:54 PM   #5
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,816

Rep: Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889
Quote:
Originally Posted by schmatzler View Post
I just built 4.0 beta and the latest lensfun - just edited the version number in the slackbuild.

And it's running fine.
yes, that bug should have been fixed in 4.0 beta, but i will stick with 3.5 until the final 4.0 gets released
 
1 members found this post helpful.
Old 02-01-2014, 10:49 PM   #6
StreamThreader
Member
 
Registered: Mar 2012
Location: Ukraine/Odesa
Distribution: Slackware
Posts: 152

Original Poster
Rep: Reputation: 64
Update lensfun from SVN, result not changed.
Use "su -", result not changed.

Code:
lensfunfilter.cpp:(.text+0x34): undefined reference to `lfModifier::Destroy()'
CMakeFiles/digikamcore.dir/__/libs/dimg/filters/lens/lensfunfilter.cpp.o: In function `Digikam::LensFunFilter::filterImage()':
lensfunfilter.cpp:(.text+0x16d2): undefined reference to `lfModifier::Create(lfLens const*, float, int, int)'
lensfunfilter.cpp:(.text+0x17df): undefined reference to `lfModifier::Initialize(lfLens const*, lfPixelFormat, float, float, float, float, lfLensType, int, bool)'
lensfunfilter.cpp:(.text+0x1ff8): undefined reference to `lfModifier::ApplySubpixelDistortion(float, float, int, int, float*) const'
lensfunfilter.cpp:(.text+0x22dd): undefined reference to `lfModifier::ApplyColorModification(void*, float, float, int, int, int, int) const'
lensfunfilter.cpp:(.text+0x2820): undefined reference to `lfModifier::ApplyGeometryDistortion(float, float, int, int, float*) const'
CMakeFiles/digikamcore.dir/__/libs/dimg/filters/lens/lensfuncameraselector.cpp.o: In function `Digikam::LensFunCameraSelector::populateLensCombo()':
lensfuncameraselector.cpp:(.text+0xd80): undefined reference to `lfDatabase::FindLenses(lfCamera const*, char const*, char const*, int) const'
CMakeFiles/digikamcore.dir/__/libs/dimg/filters/lens/lensfuniface.cpp.o: In function `Digikam::LensFunIface::~LensFunIface()':
lensfuniface.cpp:(.text+0x20): undefined reference to `lf_db_destroy'
CMakeFiles/digikamcore.dir/__/libs/dimg/filters/lens/lensfuniface.cpp.o: In function `Digikam::LensFunIface::LensFunIface()':
lensfuniface.cpp:(.text+0x316): undefined reference to `lf_db_new'
lensfuniface.cpp:(.text+0x328): undefined reference to `lfDatabase::Load()'
lensfuniface.cpp:(.text+0x336): undefined reference to `lfDatabase::GetCameras() const'
CMakeFiles/digikamcore.dir/__/libs/dimg/filters/lens/lensfuniface.cpp.o: In function `Digikam::LensFunIface::supportsDistortion() const':
lensfuniface.cpp:(.text+0x8a0): undefined reference to `lfLens::InterpolateDistortion(float, lfLensCalibDistortion&) const'
CMakeFiles/digikamcore.dir/__/libs/dimg/filters/lens/lensfuniface.cpp.o: In function `Digikam::LensFunIface::supportsCCA() const':
lensfuniface.cpp:(.text+0x8d0): undefined reference to `lfLens::InterpolateTCA(float, lfLensCalibTCA&) const'
CMakeFiles/digikamcore.dir/__/libs/dimg/filters/lens/lensfuniface.cpp.o: In function `Digikam::LensFunIface::supportsVig() const':
lensfuniface.cpp:(.text+0x912): undefined reference to `lfLens::InterpolateVignetting(float, float, float, lfLensCalibVignetting&) const'
CMakeFiles/digikamcore.dir/__/libs/dimg/filters/lens/lensfuniface.cpp.o: In function `Digikam::LensFunIface::findLenses(lfCamera const*, QString const&, QString const&) const':
lensfuniface.cpp:(.text+0xb33): undefined reference to `lfDatabase::FindLenses(lfCamera const*, char const*, char const*, int) const'
lensfuniface.cpp:(.text+0xbd3): undefined reference to `lfDatabase::FindLenses(lfCamera const*, char const*, char const*, int) const'
CMakeFiles/digikamcore.dir/__/libs/dimg/filters/lens/lensfuniface.cpp.o: In function `Digikam::LensFunIface::findCamera(QString const&, QString const&) const':
lensfuniface.cpp:(.text+0xcc7): undefined reference to `lfDatabase::FindCameras(char const*, char const*) const'
CMakeFiles/digikamcore.dir/__/libs/dimg/filters/lens/lensfuniface.cpp.o: In function `Digikam::LensFunIface::findLens(QString const&) const':
lensfuniface.cpp:(.text+0xfa8): undefined reference to `lfDatabase::GetLenses() const'
collect2: ошибка: выполнение ld завершилось с кодом возврата 1
make[2]: *** [lib/libdigikamcore.so.3.0.0] Ошибка 1
make[2]: Выход из каталога `/tmp/SBo/digikam-3.5.0/build'
make[1]: *** [core/digikam/CMakeFiles/digikamcore.dir/all] Ошибка 2
make[1]: Выход из каталога `/tmp/SBo/digikam-3.5.0/build'
make: *** [all] Ошибка 2
 
Old 02-02-2014, 04:23 AM   #7
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,816

Rep: Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889
Yeah, just update the readme with a note that building with lensfun is broken ATM
 
1 members found this post helpful.
Old 02-02-2014, 10:02 AM   #8
StreamThreader
Member
 
Registered: Mar 2012
Location: Ukraine/Odesa
Distribution: Slackware
Posts: 152

Original Poster
Rep: Reputation: 64
Quote:
Originally Posted by willysr View Post
OK, i tried to build again from clean and apparently yes, it's still broken at the moment
i don't know how i can make it built in the past with the same VM

For now, please remove lensfun before building digikam and it should work
I remove lensfun, and without this lib DigiKam compiled and work.
I installed lensfun after compile digikam.
Thanks!
 
Old 02-02-2014, 08:26 PM   #9
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,816

Rep: Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889
Hi again

can you test with all the optional dependencies installed?
lensfun eigen3 liblqr libdc1394 libpgf

i just managed to build digikam 3.5.0 with this configuration on a clean VM

Last edited by willysr; 02-02-2014 at 08:32 PM.
 
Old 02-03-2014, 02:45 AM   #10
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,816

Rep: Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889
It's already confirmed that in order to build digikam against lensfun, you will need to install liblqr as well
 
1 members found this post helpful.
Old 02-03-2014, 03:59 AM   #11
StreamThreader
Member
 
Registered: Mar 2012
Location: Ukraine/Odesa
Distribution: Slackware
Posts: 152

Original Poster
Rep: Reputation: 64
Quote:
Originally Posted by willysr View Post
It's already confirmed that in order to build digikam against lensfun, you will need to install liblqr as well
Yes, with liblqr and lensfun - DigiKam compiled successfuly.
Thanks for you help!
 
Old 02-03-2014, 06:36 AM   #12
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,816

Rep: Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889
Thanks for confirming it
I have submitted an update for digikam to add lensfun and liblqr as hard dep for digikam
 
4 members found this post helpful.
  


Reply

Tags
compile, digikam, photo


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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] digikam not starting after installing kde4.10.5 - unable to compile digikam now. camorri Slackware 19 07-25-2013 05:43 PM
[SOLVED] digikam fails to compile Bazzaah Slackware 31 04-02-2013 03:08 AM
digikam no compile micder Slackware 2 02-13-2009 10:10 AM
digikam no compile micder Linux - Software 2 02-12-2009 10:06 AM
Digikam failed to list files in / Hornblower Linux - Software 0 05-12-2008 05:16 PM

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

All times are GMT -5. The time now is 12:52 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