LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 04-16-2012, 08:31 PM   #1
smoooth103
Member
 
Registered: Aug 2009
Location: NC, USA
Distribution: Slackware (64 bit)
Posts: 237

Rep: Reputation: 58
-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+)
 
Old 04-16-2012, 10:22 PM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,353

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
try my modified SlackBuild http://slackblogs.blogspot.com/2012/...lackbuild.html
 
Old 04-17-2012, 08:14 PM   #3
smoooth103
Member
 
Registered: Aug 2009
Location: NC, USA
Distribution: Slackware (64 bit)
Posts: 237

Original Poster
Rep: Reputation: 58
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.
 
Old 04-17-2012, 09:28 PM   #4
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,353

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
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)
 
Old 04-18-2012, 01:11 AM   #5
tomtomjkw
Member
 
Registered: Jan 2008
Distribution: Slackware64-current
Posts: 125

Rep: Reputation: 31
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.
 
Old 04-18-2012, 01:29 AM   #6
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,353

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
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
 
Old 04-18-2012, 02:32 AM   #7
tomtomjkw
Member
 
Registered: Jan 2008
Distribution: Slackware64-current
Posts: 125

Rep: Reputation: 31
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)
 
Old 04-18-2012, 03:00 AM   #8
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,353

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
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
 
Old 04-18-2012, 04:24 AM   #9
tomtomjkw
Member
 
Registered: Jan 2008
Distribution: Slackware64-current
Posts: 125

Rep: Reputation: 31
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
 
Old 04-18-2012, 04:52 AM   #10
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,353

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
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.
 
Old 04-18-2012, 04:28 PM   #11
smoooth103
Member
 
Registered: Aug 2009
Location: NC, USA
Distribution: Slackware (64 bit)
Posts: 237

Original Poster
Rep: Reputation: 58
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!
 
Old 04-21-2012, 09:23 AM   #12
gargamel
Senior Member
 
Registered: May 2003
Distribution: Slackware, SLAX, OpenSuSE
Posts: 1,585

Rep: Reputation: 139Reputation: 139
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
 
Old 04-21-2012, 11:04 AM   #13
smoooth103
Member
 
Registered: Aug 2009
Location: NC, USA
Distribution: Slackware (64 bit)
Posts: 237

Original Poster
Rep: Reputation: 58
Use willysr updated 2.5.0 blog post instruction with the two patches. It works.
 
Old 04-21-2012, 11:32 AM   #14
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,353

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
Quote:
Originally Posted by gargamel View Post
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
 
Old 04-21-2012, 11:35 AM   #15
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,353

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
Quote:
Originally Posted by smoooth103 View Post
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.
  


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] setup fails on most current Slackware-current March 26, 2012 AlleyTrotter Slackware 15 04-09-2012 06:05 AM
[SOLVED] Digikam 1.2.0 on Slackware64-current of 31st March, 2010 gargamel Slackware 7 04-02-2010 07:51 AM
[SOLVED] Digikam from SBo does not compile on 64-current of 2010-03-09 gargamel Slackware 10 03-21-2010 05:28 PM
digikam on slackware -current din Slackware 5 05-07-2009 02:22 AM
slackware current question on the current kernels davimint Slackware 3 06-03-2007 07:39 AM


All times are GMT -5. The time now is 02:55 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