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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
04-16-2012, 08:31 PM
|
#1
|
|
Member
Registered: Aug 2009
Location: NC, USA
Distribution: Slackware (64 bit)
Posts: 226
Rep:
|
-current and Digikam
So I upgraded to -current a night ago and all is working smoothly until I went to open Digikam. Getting phonon errors and digikam immediately crashes.
Tried to rebuild kipi-plugins but now that won't build (errors out in cmake at kipiplugin_printimages)
Anyone have any guidance on getting digikam (and kipi-plugins) to work on -current?
(any version 1.9.0, 2.5.0+)
|
|
|
|
04-16-2012, 10:22 PM
|
#2
|
|
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 1,861
|
|
|
|
|
04-17-2012, 08:14 PM
|
#3
|
|
Member
Registered: Aug 2009
Location: NC, USA
Distribution: Slackware (64 bit)
Posts: 226
Original Poster
Rep:
|
Willy. I tried your slackbuild for digikam and had no luck. I went back to just trying to build kipi-plugins-1.9.0 but that won't build either!
CMake starts and gets to 10% but bails out when it hits kipi_printimages/dir/wizard.cpp
Best I can tell from slackbuilds.org there are no unusual dependencies for kipi-plugins... is this correct? How can it not build? (the build process identifies all known dependencies found .. "YES")
Last edited by smoooth103; 04-17-2012 at 08:15 PM.
|
|
|
|
04-17-2012, 09:28 PM
|
#4
|
|
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 1,861
|
i think probably because of the changes in GLIBC and GCC
I compiled my digiKam using the previous GCC and GLIBC, but after i upgraded both of them, the packages still work.
I will try to rebuilt the package again later on with the latest GLIBC and GCC in -Current.
AFAIK, Kipi-Plugins are compiled within digiKam, so no need to have separate build for digiKam and Kipi-Plugins (if you are using 2.5.0 and above)
|
|
|
|
04-18-2012, 01:11 AM
|
#5
|
|
Member
Registered: Jan 2008
Distribution: Slackware64-current
Posts: 119
Rep:
|
I wasn't able to compile digikam, too, but somehow managed to compile working git version of kipi-plugins. Due to completely chaotic nature of proceeding things, I cannot even reproduce the steps I took to achieve it, however 2.6.0 beta 3 version of Digikam is at 58% now, so there is hope that the dreaded printimage plugin compiled finally.
|
|
|
|
04-18-2012, 01:29 AM
|
#6
|
|
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 1,861
|
See my updated post on digiKam 2.5.0 and GCC 4.7.0 here http://slackblogs.blogspot.com/2012/...d-gcc-470.html
I have updated the SlackBuild and 2 additional patches to work with Slackware-Current 
|
|
|
|
04-18-2012, 02:32 AM
|
#7
|
|
Member
Registered: Jan 2008
Distribution: Slackware64-current
Posts: 119
Rep:
|
2.6.0 beta 3 has just compiled, so I removed git version of kipi-plugins, installed digikam-2.6.0-beta3, works ok. I'm pretty sure that I used slackbuild from slackbuilds.org with Willy's old patch ( http://slackblogs.blogspot.com/2011/...ld-update.html)
|
|
|
|
04-18-2012, 03:00 AM
|
#8
|
|
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 1,861
|
does it work with GCC 4.7.0 and latest Boost? (1.49)
I haven't tried 2.6.0 Beta 3, but if it works, then it's good then 
|
|
|
|
04-18-2012, 04:24 AM
|
#9
|
|
Member
Registered: Jan 2008
Distribution: Slackware64-current
Posts: 119
Rep:
|
Yes, it works:
Quote:
tomtom@darkstar:~$ ls /var/log/packages/gcc
gcc-4.7.0_multilib-x86_64-1alien gcc-gnat-4.7.0_multilib-x86_64-1alien gccmakedep-1.0.2-noarch-2
gcc-g++-4.7.0_multilib-x86_64-1alien gcc-java-4.7.0_multilib-x86_64-1alien
gcc-gfortran-4.7.0_multilib-x86_64-1alien gcc-objc-4.7.0_multilib-x86_64-1alien
tomtom@darkstar:~$ ls /var/log/packages/digikam-2.6.0-beta3-x86_64-1_SBo
/var/log/packages/digikam-2.6.0-beta3-x86_64-1_SBo
|
Need quick hint with boost - no idea how to check the thing
|
|
|
|
04-18-2012, 04:52 AM
|
#10
|
|
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 1,861
|
probably the patch already applied upstream, so need to add more patches
i'm building it right now
edit: confirmed to work with digiKam 2.6.0 Beta 3 without any need to add patches
Last edited by willysr; 04-18-2012 at 05:31 AM.
|
|
|
|
04-18-2012, 04:28 PM
|
#11
|
|
Member
Registered: Aug 2009
Location: NC, USA
Distribution: Slackware (64 bit)
Posts: 226
Original Poster
Rep:
|
Thanks guys. I used 2.6.0-beta3 with slackbuilds.org slackbuild -- it appears to be building correctly now. I should have tried the most recent beta version but I thought 2.5.0 would have been the most "stable" release. Thanks for the assistance!
|
|
|
|
04-21-2012, 09:23 AM
|
#12
|
|
Senior Member
Registered: May 2003
Distribution: Slackware, SLAX, OpenSuSE
Posts: 1,511
Rep: 
|
Sorry for bumping a thread already marked as SOLVED, but I seem to miss something. When I try to follow the advice given here, digikam 2.6.0 beta3 appears to compile just fine, but in the end it is not installed, and there's apparently no installable package created. Maybe I understood something not quite correctly.
I did:
(as normal user)
Download digikam-2.6.0-beta3.tar.bz2 from original source
Download and unpack digikam.tar.gz from SlackBuilds.org ==> directory digikam is created with the usual files in it
(all following steps as root)
# mv digikam-2.6.0-beta3.tar.bz2 digikam
# cd digikam
change VERSION to 2.6.0-beta3 in digikam.SlackBuild
same in in digikam.info
empty MD5SUM (I know, it would be better to create a new MD5SUM, but not doing it saves one step of work...  )
install QJson from SlackBuilds.org, as it appears to be a dependency
upgrade opencv from SlackBuils.org to 2.3.1a
and then...
# sh digikam.SlackBuild
As I said, compilation seems to go well, but it ends with the following messages:
Code:
-- Set runtime path of "/tmp/SBo/package-digikam/usr/lib64/kde4/digikamimageplugin_transform.so" to "/usr/lib64/qt/lib"
-- Installing: /tmp/SBo/package-digikam/usr/share/apps/digikam/digikamimageplugin_transform_ui.rc
-- Installing: /tmp/SBo/package-digikam/usr/share/kde4/services/digikamimageplugin_transform.desktop
-- Installing: /tmp/SBo/package-digikam/usr/lib64/kde4/libexec/digikamdatabaseserver
-- Set runtime path of "/tmp/SBo/package-digikam/usr/lib64/kde4/libexec/digikamdatabaseserver" to "/usr/lib64/qt/lib"
cp: cannot stat `AUTHORS': No such file or directory
cp: cannot stat `ChangeLog': No such file or directory
cp: cannot stat `DESIGN': No such file or directory
cp: cannot stat `HACKING': No such file or directory
cp: cannot stat `INSTALL': No such file or directory
cp: cannot stat `tips': No such file or directory
cp: cannot stat `TODO': No such file or directory
No package is created or installed and /tmp/SBo/package-digikam contains only one directory:
Code:
$ ls /tmp/SBo/package-digikam/
usr
What am I missing?
Thanks in advance!
gargamel
|
|
|
|
04-21-2012, 11:04 AM
|
#13
|
|
Member
Registered: Aug 2009
Location: NC, USA
Distribution: Slackware (64 bit)
Posts: 226
Original Poster
Rep:
|
Use willysr updated 2.5.0 blog post instruction with the two patches. It works.
|
|
|
|
04-21-2012, 11:32 AM
|
#14
|
|
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 1,861
|
Quote:
Originally Posted by gargamel
Sorry for bumping a thread already marked as SOLVED, but I seem to miss something. When I try to follow the advice given here, digikam 2.6.0 beta3 appears to compile just fine, but in the end it is not installed, and there's apparently no installable package created. Maybe I understood something not quite correctly.
I did:
(as normal user)
Download digikam-2.6.0-beta3.tar.bz2 from original source
Download and unpack digikam.tar.gz from SlackBuilds.org ==> directory digikam is created with the usual files in it
(all following steps as root)
# mv digikam-2.6.0-beta3.tar.bz2 digikam
# cd digikam
change VERSION to 2.6.0-beta3 in digikam.SlackBuild
same in in digikam.info
empty MD5SUM (I know, it would be better to create a new MD5SUM, but not doing it saves one step of work...  )
install QJson from SlackBuilds.org, as it appears to be a dependency
upgrade opencv from SlackBuils.org to 2.3.1a
and then...
# sh digikam.SlackBuild
As I said, compilation seems to go well, but it ends with the following messages:
Code:
-- Set runtime path of "/tmp/SBo/package-digikam/usr/lib64/kde4/digikamimageplugin_transform.so" to "/usr/lib64/qt/lib"
-- Installing: /tmp/SBo/package-digikam/usr/share/apps/digikam/digikamimageplugin_transform_ui.rc
-- Installing: /tmp/SBo/package-digikam/usr/share/kde4/services/digikamimageplugin_transform.desktop
-- Installing: /tmp/SBo/package-digikam/usr/lib64/kde4/libexec/digikamdatabaseserver
-- Set runtime path of "/tmp/SBo/package-digikam/usr/lib64/kde4/libexec/digikamdatabaseserver" to "/usr/lib64/qt/lib"
cp: cannot stat `AUTHORS': No such file or directory
cp: cannot stat `ChangeLog': No such file or directory
cp: cannot stat `DESIGN': No such file or directory
cp: cannot stat `HACKING': No such file or directory
cp: cannot stat `INSTALL': No such file or directory
cp: cannot stat `tips': No such file or directory
cp: cannot stat `TODO': No such file or directory
No package is created or installed and /tmp/SBo/package-digikam contains only one directory:
Code:
$ ls /tmp/SBo/package-digikam/
usr
What am I missing?
Thanks in advance!
gargamel
|
The slackbuild scripts are usually set to stop whenever they encountered an error on any steps, including missing files on documentation
|
|
|
|
04-21-2012, 11:35 AM
|
#15
|
|
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 1,861
|
Quote:
Originally Posted by smoooth103
Use willysr updated 2.5.0 blog post instruction with the two patches. It works.
|
Actually, if you are building 2.6.0 beta 3, you don't need the patches anymore, because the patch has been applied to upstream. You only need my original updated slackbuild, not the latest one.
But since it has been updated now, you can use the slackbuild, but comment out the two lines that tried to apply the patch and you are safe
|
|
|
1 members found this post helpful.
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 09:19 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
|
|