LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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
 
LinkBack Search this Thread
Old 03-27-2013, 10:07 AM   #1
Bazzaah
Member
 
Registered: Mar 2007
Distribution: Slackware64-current, Slackware64 14
Posts: 323

Rep: Reputation: 49
digikam fails to compile


Following recent updates, it looked like I need to update Digikam since my existing install won't start because it can't find libmarblewidget. A quick Google suggests that it needs redoing following updates.

When I run digikam's sanity test, I get the message;

Code:
Unable to load library icui18n "Cannot load library icui18n: (libicui18n.so.49: cannot open shared object file: No such file or directory)" 
Unable to load library icui18n "Cannot load library icui18n: (libicui18n.so.49: cannot open shared object file: No such file or directory)" 
Unable to load library icui18n "Cannot load library icui18n: (libicui18n.so.49: cannot open shared object file: No such file or directory)" 
CMake Error: The source directory "/home/slack/Downloads/digikam-3.0.0" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
The Slackbuild fails as well.

I've built it a couple of times in the past and it's always been fine.

I know there was a recent QT update which might have caused that error to appear but my system's (64 current) up to date.

Any ideas?

Last edited by Bazzaah; 03-27-2013 at 10:10 AM.
 
Old 03-27-2013, 10:49 AM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,353

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
have you tried to upgrade to 3.1.0?
i have 3.1.0 running fine even on latest update on Current today
 
Old 03-27-2013, 10:59 AM   #3
Bazzaah
Member
 
Registered: Mar 2007
Distribution: Slackware64-current, Slackware64 14
Posts: 323

Original Poster
Rep: Reputation: 49
Yes I have. It's more successful with bootstrap.linux (i.e. more output) but still fails with the same error.

EDIT just ran compilation of 3.10 again and got this fail

Code:
/usr/lib64/gcc/x86_64-slackware-linux/4.7.2/../../../../x86_64-slackware-linux/bin/ld: warning: libImath.so.6, needed by /usr/lib64/libopencv_highgui.so.2.4, not found (try using -rpath or -rpath-link)
/usr/lib64/gcc/x86_64-slackware-linux/4.7.2/../../../../x86_64-slackware-linux/bin/ld: warning: libIlmImf.so.6, needed by /usr/lib64/libopencv_highgui.so.2.4, not found (try using -rpath or -rpath-link)
/usr/lib64/gcc/x86_64-slackware-linux/4.7.2/../../../../x86_64-slackware-linux/bin/ld: warning: libIex.so.6, needed by /usr/lib64/libopencv_highgui.so.2.4, not found (try using -rpath or -rpath-link)
/usr/lib64/gcc/x86_64-slackware-linux/4.7.2/../../../../x86_64-slackware-linux/bin/ld: warning: libHalf.so.6, needed by /usr/lib64/libopencv_highgui.so.2.4, not found (try using -rpath or -rpath-link)
/usr/lib64/gcc/x86_64-slackware-linux/4.7.2/../../../../x86_64-slackware-linux/bin/ld: warning: libIlmThread.so.6, needed by /usr/lib64/libopencv_highgui.so.2.4, not found (try using -rpath or -rpath-link)
/usr/lib64/libopencv_highgui.so.2.4: undefined reference to `Imf::Header::channels()'
/usr/lib64/libopencv_highgui.so.2.4: undefined reference to `Imf::Chromaticities::Chromaticities(Imath::Vec2<float> const&, Imath::Vec2<float> const&, Imath::Vec2<float> const&, Imath::Vec2<float> const&)'
/usr/lib64/libopencv_highgui.so.2.4: undefined reference to `Imf::Header::~Header()'
/usr/lib64/libopencv_highgui.so.2.4: undefined reference to `Imf::OutputFile::OutputFile(char const*, Imf::Header const&, int)'
/usr/lib64/libopencv_highgui.so.2.4: undefined reference to `Imf::hasChromaticities(Imf::Header const&)'
/usr/lib64/libopencv_highgui.so.2.4: undefined reference to `Imf::ChannelList::insert(char const*, Imf::Channel const&)'
/usr/lib64/libopencv_highgui.so.2.4: undefined reference to `Imf::Header::Header(int, int, float, Imath::Vec2<float> const&, float, Imf::LineOrder, Imf::Compression)'
/usr/lib64/libopencv_highgui.so.2.4: undefined reference to `Imf::globalThreadCount()'
/usr/lib64/libopencv_highgui.so.2.4: undefined reference to `Imf::OutputFile::writePixels(int)'
/usr/lib64/libopencv_highgui.so.2.4: undefined reference to `Imf::chromaticities(Imf::Header const&)'
/usr/lib64/libopencv_highgui.so.2.4: undefined reference to `Imf::OutputFile::setFrameBuffer(Imf::FrameBuffer const&)'
/usr/lib64/libopencv_highgui.so.2.4: undefined reference to `Imf::InputFile::header() const'
/usr/lib64/libopencv_highgui.so.2.4: undefined reference to `Imf::OutputFile::~OutputFile()'
/usr/lib64/libopencv_highgui.so.2.4: undefined reference to `Imf::InputFile::InputFile(char const*, int)'
/usr/lib64/libopencv_highgui.so.2.4: undefined reference to `Imf::InputFile::setFrameBuffer(Imf::FrameBuffer const&)'
/usr/lib64/libopencv_highgui.so.2.4: undefined reference to `half::_eLut'
/usr/lib64/libopencv_highgui.so.2.4: undefined reference to `Imf::Channel::Channel(Imf::PixelType, int, int, bool)'
/usr/lib64/libopencv_highgui.so.2.4: undefined reference to `Imf::Header::dataWindow() const'
/usr/lib64/libopencv_highgui.so.2.4: undefined reference to `Imf::Slice::Slice(Imf::PixelType, char*, unsigned long, unsigned long, int, int, double, bool, bool)'
/usr/lib64/libopencv_highgui.so.2.4: undefined reference to `Imf::ChannelList::findChannel(char const*) const'
/usr/lib64/libopencv_highgui.so.2.4: undefined reference to `Imf::InputFile::readPixels(int, int)'
/usr/lib64/libopencv_highgui.so.2.4: undefined reference to `Imf::Header::channels() const'
/usr/lib64/libopencv_highgui.so.2.4: undefined reference to `Imf::FrameBuffer::insert(char const*, Imf::Slice const&)'
/usr/lib64/libopencv_highgui.so.2.4: undefined reference to `half::convert(int)'
collect2: error: ld returned 1 exit status
make[2]: *** [extra/libkface/test/detect] Error 1
make[1]: *** [extra/libkface/test/CMakeFiles/detect.dir/all] Error 2
make: *** [all] Error 2

Last edited by Bazzaah; 03-27-2013 at 11:06 AM.
 
Old 03-27-2013, 11:08 AM   #4
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,353

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
Do you mind test using my SlackBuilds ?
please make sure you have all the deps installed
 
Old 03-27-2013, 11:12 AM   #5
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,353

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
you have to recompile OpenCV due to changes in -Current then digiKam will work again
 
1 members found this post helpful.
Old 03-27-2013, 04:55 PM   #6
kr4ey
Member
 
Registered: May 2007
Distribution: Slackware64 14.0
Posts: 58

Rep: Reputation: 17
Running digiKam 3.10 on Slackware stable with no problem. Used the slackBuild at SlackBuilds.org
 
Old 03-27-2013, 05:09 PM   #7
gargamel
Senior Member
 
Registered: May 2003
Distribution: Slackware, SLAX, OpenSuSE
Posts: 1,585

Rep: Reputation: 139Reputation: 139
Yep, I have digikam 3.1.0 running here on Slackware64-current with all updates up to today, too, and can only recommend all digikam users to upgrade to 3.1.0! Although rebuilding OpenCV took ages, I have already processed 250+ RAW images with the showfoto application, and didn't see any of the annoyances of all previous versions, such as the application not responding for several minutes, just getting slow, or occasionally crashing.

Thanks for making your SlackBuild script available, Willy!

gargamel

Last edited by gargamel; 03-27-2013 at 05:11 PM.
 
Old 03-27-2013, 06:00 PM   #8
Bazzaah
Member
 
Registered: Mar 2007
Distribution: Slackware64-current, Slackware64 14
Posts: 323

Original Poster
Rep: Reputation: 49
Thanks chaps.
 
Old 03-28-2013, 08:45 AM   #9
Bazzaah
Member
 
Registered: Mar 2007
Distribution: Slackware64-current, Slackware64 14
Posts: 323

Original Poster
Rep: Reputation: 49
EDIT For some reason, it's now compiled without difficulty and works fine - thanks for the help.

Last edited by Bazzaah; 03-28-2013 at 09:17 AM.
 
Old 03-28-2013, 10:11 PM   #10
cwizardone
Senior Member
 
Registered: Feb 2007
Distribution: Slackware64-current & "True Multilib." PC-BSD.
Posts: 2,103

Rep: Reputation: 148Reputation: 148
I've tried several times to compile OpenCV and it fails each and every time. SBOpkg can't find the source code and returns the 404 error. I found it at the OpenCV site and it took several tries and a long session to finally download the file. It is verison 2.4.4a.

When I run the SlackBuild script it returns the error,

./opencv.SlackBuild: line 65: cd: OpenCV-2.4.4a: No such file or directory

If I change the version number in the SlackBuild script to 2.4.4a it returns the error:

./opencv.SlackBuild: line 65: cd: OpenCV-2.4.4: No such file or directory

Can't win.
 
Old 03-28-2013, 10:18 PM   #11
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,353

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
use my SlackBuilds
 
1 members found this post helpful.
Old 03-28-2013, 11:21 PM   #12
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-14.1
Posts: 1,216

Rep: Reputation: 176Reputation: 176
Quote:
Originally Posted by cwizardone View Post
I've tried several times to compile OpenCV and it fails each and every time. SBOpkg can't find the source code and returns the 404 error. I found it at the OpenCV site and it took several tries and a long session to finally download the file. It is verison 2.4.4a.

When I run the SlackBuild script it returns the error,

./opencv.SlackBuild: line 65: cd: OpenCV-2.4.4a: No such file or directory

If I change the version number in the SlackBuild script to 2.4.4a it returns the error:

./opencv.SlackBuild: line 65: cd: OpenCV-2.4.4: No such file or directory

Can't win.
I maintain the OpenCV slackbuild @ www.slackbuids.org. Thanks for the heads up, Ill look into the problem.
 
Old 03-29-2013, 01:59 AM   #13
Bazzaah
Member
 
Registered: Mar 2007
Distribution: Slackware64-current, Slackware64 14
Posts: 323

Original Poster
Rep: Reputation: 49
Quote:
Originally Posted by cwizardone View Post
I've tried several times to compile OpenCV and it fails each and every time. SBOpkg can't find the source code and returns the 404 error. I found it at the OpenCV site and it took several tries and a long session to finally download the file. It is verison 2.4.4a.

When I run the SlackBuild script it returns the error,

./opencv.SlackBuild: line 65: cd: OpenCV-2.4.4a: No such file or directory

If I change the version number in the SlackBuild script to 2.4.4a it returns the error:

./opencv.SlackBuild: line 65: cd: OpenCV-2.4.4: No such file or directory

Can't win.
I compiled OpenCV from source and it worked fine, so you could always give that a go.
 
Old 03-29-2013, 02:43 AM   #14
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,353

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
Its eaasier to maintain if you want to remove or change the prefix in the future
 
Old 03-29-2013, 09:35 AM   #15
cwizardone
Senior Member
 
Registered: Feb 2007
Distribution: Slackware64-current & "True Multilib." PC-BSD.
Posts: 2,103

Rep: Reputation: 148Reputation: 148
Quote:
Originally Posted by willysr View Post
use my SlackBuilds
Thanks, willysr.
Your script and patch worked like a charm.
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Digikam from SBo does not compile on 64-current of 2010-03-09 gargamel Slackware 10 03-21-2010 05:28 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
digikam install fails on dependecy ZaphyR Debian 4 03-10-2007 12:55 PM
digikam 0.6 compile error driving me MAD ! qwijibow Linux - Software 0 07-18-2004 01:06 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration