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)" 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? |
have you tried to upgrade to 3.1.0?
i have 3.1.0 running fine even on latest update on Current today |
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) |
Do you mind test using my SlackBuilds ?
please make sure you have all the deps installed |
you have to recompile OpenCV due to changes in -Current then digiKam will work again :)
|
Running digiKam 3.10 on Slackware stable with no problem. Used the slackBuild at SlackBuilds.org
|
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 |
Thanks chaps.
|
EDIT For some reason, it's now compiled without difficulty and works fine - thanks for the help.
|
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. :) |
use my SlackBuilds :)
|
Quote:
|
Quote:
|
Its eaasier to maintain if you want to remove or change the prefix in the future
|
Quote:
Your script and patch worked like a charm. :hattip: |
Fails at the very end with this error
Code:
-- Installing: /tmp/build/package-digikam/usr/share/locale/zh_TW/LC_MESSAGES/kipiplugin_advancedslideshow.mo Please don't take this the wrong way as I have a great deal of both sympathy and admiration for those who have the time to build from source, including sharing their findings with the wider user base, so many thanks for that. But I've just grabbed the wifes lappy, and the whole process has taken less than 10 minutes thanks to dependency resolution and a much more widely tested software repository, so am currently using that for my photo management and being able to use the computer for what it's designed for rather than spend hours unproductively waiting for compiling/building only to see it fail is almost pushing me to another distro after more than 8 years of using Slackware. So frustrating that it should all be so difficult and long winded in the 21st century. |
By any chance, did you rename the digikam.SlackBuild to another name?
|
I have found that installations of Digikam and Amarok have failed if I use 'sudo make install' for example instead of 'su' then 'make install'.
|
If you use slackbuilds, it's supposed to be run using su or su - not sudo
|
I think he builds and installs directly from source (and I'm wondering how he manages to remove old stuff when he needs to upgrade).
|
Quote:
In my experience 9 out of ten such problems are caused by wrong file access mode or user privileges. Just guessing, but did you take into account that digikam.SlackBuild is one of the following? 1. It is readable and has to be called this way: Code:
$ su -c "sh digikam.SlackBuild" 2. It is readable and executable and thus can alternatively called like so: Code:
su -c "./digikam.SlackBuild" gargamel |
Quote:
Code:
cat: /home/xxx/Downloads/digikam/digikam.SlackBuild: No such file or directory gargamel |
My only assumption during the process it was moved, deleted, or renamed by other process or he renamed it before the compilation start
|
Quote:
Quote:
All up and running now. Still stand by what I said about things really ought to be simpler in the 21st Century:), but happy it's resolved. |
Quote:
|
Apologies for the mix up this end.
|
no prob at all, I should have specified that I was referring to him ;) (also gargamel thought I was referring to you)
|
Quote:
I should learn how to write a couple of SlackBuilds - that would be cleaner and make for easier maintenance. |
Quote:
This way you will have old versions of stuff (libraries and whatever else get installed besides the binaries) laying around your filesystem and many strange and unexpected things can happen, not to say that it's very difficult to recover a clean installation from this situation. If you prefer to have a clean system, use only slackbuild scripts to create packages and install those. |
I take your points 100% but I only compile Digikam and Clementine so I'm not too worried, most (out of not many) installations I do through sbopkg.
What's the best SlackBuilds tut in your opinion? |
In order to keep it 'clean', you can still create a package when installing from source. That way you still keep track of the installed files:
After the usual ./configure and make bit, create a temporary build directory Code:
$ mkdir /tmp/package-build Code:
# DESTDIR=/tmp/package-build make install Code:
# cd /tmp/package-build |
Thanks Brox!
|
All times are GMT -5. The time now is 11:24 PM. |