[SOLVED] digikam not starting after installing kde4.10.5 - unable to compile digikam now.
SlackwareThis 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.
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.
you should upgrade to digiKam 3.2.0 which is in sync with KDE 4.10.5
another option is to rebuild digiKam since the libraries are now upgraded to 4.10.5 (libkipi and libkcdraw)
Got your slackbuild, and the 3.2.0 source. Ran the slackbuild, and it failed with this error:
Quote:
/usr/lib64/gcc/x86_64-slackware-linux/4.7.1/../../../../x86_64-slackware-linux/bin/ld: warning: libavutil.so.51, 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 `av_freep@LIBAVUTIL_51'
/usr/lib64/libopencv_highgui.so.2.4: undefined reference to `av_sub_q@LIBAVUTIL_51'
/usr/lib64/libopencv_highgui.so.2.4: undefined reference to `av_log_set_level@LIBAVUTIL_51'
/usr/lib64/libopencv_highgui.so.2.4: undefined reference to `av_rescale_q@LIBAVUTIL_51'
/usr/lib64/libopencv_highgui.so.2.4: undefined reference to `av_free@LIBAVUTIL_51'
/usr/lib64/libopencv_highgui.so.2.4: undefined reference to `av_malloc@LIBAVUTIL_51'
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
The problem seems to be libavutil.so.51 missing. I have .52 installed.
i'm also using ffmpeg 1.2. The README wasn't updated since last time
It seems your OpenCV needs to be rebuild against newer ffmpeg
it still links to the old ffmpeg version
I have tried to build opencv 2.4.6.1 with the fsh.patch on slackhacks. I get the following error:
Quote:
patching file cmake/OpenCVGenPkgconfig.cmake
Hunk #1 FAILED at 47.
1 out of 1 hunk FAILED -- saving rejects to file cmake/OpenCVGenPkgconfig.cmake.rej
patching file CMakeLists.txt
Hunk #1 FAILED at 221.
Hunk #2 FAILED at 237.
2 out of 2 hunks FAILED -- saving rejects to file CMakeLists.txt.rej
patching file data/CMakeLists.txt
Hunk #1 FAILED at 5.
1 out of 1 hunk FAILED -- saving rejects to file data/CMakeLists.txt.rej
patching file samples/c/CMakeLists.txt
Hunk #1 FAILED at 54.
1 out of 1 hunk FAILED -- saving rejects to file samples/c/CMakeLists.txt.rej
patching file samples/cpp/CMakeLists.txt
Hunk #1 FAILED at 64.
1 out of 1 hunk FAILED -- saving rejects to file samples/cpp/CMakeLists.txt.rej
patching file samples/gpu/CMakeLists.txt
Hunk #1 FAILED at 64.
1 out of 1 hunk FAILED -- saving rejects to file samples/gpu/CMakeLists.txt.rej
patching file samples/gpu/performance/CMakeLists.txt
Hunk #1 FAILED at 21.
1 out of 1 hunk FAILED -- saving rejects to file samples/gpu/performance/CMakeLists.txt.rej
Looks like the patch is failing. Do I need it? If yes, is there a way to fix the patch?
For clarity, I copied the test lines of the patch, and pasted them into a file I names fsh.patch using nano. I have compared the file I have, with what I see on slackhacks, and they look the same.
I downloaded opencv-2.4.6.1.tar.gz from sourceforge. I noticed a line
Quote:
Last Update: 6 days ago
. Any chance the patch is now part of the download?
I re-crested the patch file, this time it is one byte less than the first time I created it. I re-downloaded the .tar.gz file, no change there. I re-ran the slackbuild, it still fails on the patch.
Here are the files I have. Could you tell me if the sizes are the same?
Your patch file is 100 bytes larger than the one I made by coping the file from slackhacks. There must be some differences. Could you post your patch file here? Then I could give that a try. Many thanks.
I can not get the patch file to work. Here are the errors I get.
Code:
Hunk #1 succeeded at 239 (offset 18 lines).
Hunk #2 FAILED at 237.
1 out of 2 hunks FAILED -- saving rejects to file CMakeLists.txt.rej
patching file data/CMakeLists.txt
Hunk #1 FAILED at 5.
1 out of 1 hunk FAILED -- saving rejects to file data/CMakeLists.txt.rej
patching file samples/c/CMakeLists.txt
patching file samples/cpp/CMakeLists.txt
Hunk #1 succeeded at 83 (offset 19 lines).
patching file samples/gpu/CMakeLists.txt
Hunk #1 succeeded at 71 (offset 7 lines).
patching file samples/gpu/performance/CMakeLists.txt
patch unexpectedly ends in middle of line
Hunk #1 succeeded at 29 with fuzz 2 (offset 8 lines).
I had some problems copying the patch from the web page to a the .patch file. Line wraps etc. I have been through the patch file, several times and can not see any differences between what you posted, and the file I have. It fails.
There has to be differences in either the source file; or the patch file. Don't know which is in error.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.