Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
02-01-2014, 09:08 AM
|
#1
|
Member
Registered: Mar 2012
Location: Ukraine/Odesa
Distribution: Slackware
Posts: 152
Rep:
|
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.
|
|
|
02-01-2014, 03:08 PM
|
#2
|
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,816
|
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.
|
02-01-2014, 07:05 PM
|
#3
|
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,816
|
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.
|
02-01-2014, 07:41 PM
|
#4
|
Member
Registered: Jan 2011
Location: Germany
Distribution: Slackware64 -current + Multilib
Posts: 411
Rep:
|
I just built 4.0 beta and the latest lensfun - just edited the version number in the slackbuild.
And it's running fine.
|
|
|
02-01-2014, 08:54 PM
|
#5
|
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,816
|
Quote:
Originally Posted by schmatzler
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.
|
02-01-2014, 10:49 PM
|
#6
|
Member
Registered: Mar 2012
Location: Ukraine/Odesa
Distribution: Slackware
Posts: 152
Original Poster
Rep:
|
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
|
|
|
02-02-2014, 04:23 AM
|
#7
|
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,816
|
Yeah, just update the readme with a note that building with lensfun is broken ATM
|
|
1 members found this post helpful.
|
02-02-2014, 10:02 AM
|
#8
|
Member
Registered: Mar 2012
Location: Ukraine/Odesa
Distribution: Slackware
Posts: 152
Original Poster
Rep:
|
Quote:
Originally Posted by willysr
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!
|
|
|
02-02-2014, 08:26 PM
|
#9
|
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,816
|
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.
|
|
|
02-03-2014, 02:45 AM
|
#10
|
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,816
|
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.
|
02-03-2014, 03:59 AM
|
#11
|
Member
Registered: Mar 2012
Location: Ukraine/Odesa
Distribution: Slackware
Posts: 152
Original Poster
Rep:
|
Quote:
Originally Posted by willysr
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!
|
|
|
02-03-2014, 06:36 AM
|
#12
|
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,816
|
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.
|
All times are GMT -5. The time now is 12:52 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|