LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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
 
Search this Thread
Old 03-10-2010, 04:44 PM   #1
gargamel
Senior Member
 
Registered: May 2003
Distribution: Slackware, SLAX, OpenSuSE
Posts: 1,600

Rep: Reputation: 142Reputation: 142
Digikam from SBo does not compile on 64-current of 2010-03-09


Hi everyone,

I just used sbopkg to download and compile Digikam 1.0.0 from slackbuilds.org. But compilation stops with an error regarding "png loader". I guess this has to do with the libpng issue mentioned in the changelog.

Nevertheless: Has anyone been able to compile Digikam on the latest Slackware64-current?

Thanks!

gargamel
 
Old 03-10-2010, 04:53 PM   #2
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-14.1
Posts: 1,222

Rep: Reputation: 177Reputation: 177
same here, I heard that its fixed in SVN but I can't find a patch for 1.0.0 or 1.1.0
 
Old 03-10-2010, 05:11 PM   #3
55020
Member
 
Registered: Sep 2009
Location: Yorks. W.R. 167397
Distribution: Slackware
Posts: 366
Blog Entries: 4

Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
I've cooked up a patch against 1.1.0, it builds but I haven't tested it yet - you're welcome to do the testing for me

I've also done similar patches for enblend-enfuse and hugin. Hopefully I'll be putting them up on github when I've got the hang of it.
Attached Files
File Type: txt digikam-libpng14.patch.txt (2.7 KB, 29 views)
 
Old 03-14-2010, 11:57 PM   #4
kd5zex
LQ Newbie
 
Registered: Dec 2008
Distribution: Slackware
Posts: 28

Rep: Reputation: 15
Built on 64-current on 2010-03-14

I applied the patch and Digikam compiled on 64-current for me.
 
Old 03-15-2010, 03:04 PM   #5
gargamel
Senior Member
 
Registered: May 2003
Distribution: Slackware, SLAX, OpenSuSE
Posts: 1,600

Original Poster
Rep: Reputation: 142Reputation: 142
Will try it on the weekend --- short on time, for the next few days. But thanks, anyway!

gargamel
 
Old 03-16-2010, 01:56 PM   #6
Nille_kungen
Member
 
Registered: Jul 2005
Posts: 213

Rep: Reputation: 43
If the patch works as it should then i can add it to SBo since i will update it for 1.1.0.
I made a patch from svn that i'm trying now.

Last edited by Nille_kungen; 03-16-2010 at 02:33 PM.
 
Old 03-16-2010, 07:48 PM   #7
BrZ
Member
 
Registered: Apr 2009
Distribution: Slackware
Posts: 494

Rep: Reputation: 80
@Nille, your path include this:
Quote:
--- /libs/dimg/loaders/pngloader.cpp 2009-12-21 11:20:36.000000000 +0200
+++ /libs/dimg/loaders/pngloader.cpp 2010-01-20 20:18:51.000000000 +0200
@@ -29,6 +29,7 @@
#define PNG_BYTES_TO_CHECK 4

#include "pngloader.h"
+#include "pngconf.h"

// C ANSI includes
...
??

I built mine with the same patch floating around and still get this error when start Digikam from console:

Quote:
libpng warning: Application was compiled with png.h from libpng-1.2.42
libpng warning: Application is running with png.c from libpng-1.4.1
libpng warning: Incompatible libpng version in application and library
I'll try the third build with "pngconf.h" and another patch to libjpeg8...
 
Old 03-16-2010, 08:33 PM   #8
BrZ
Member
 
Registered: Apr 2009
Distribution: Slackware
Posts: 494

Rep: Reputation: 80
No lucky =[
 
Old 03-17-2010, 05:34 AM   #9
Nille_kungen
Member
 
Registered: Jul 2005
Posts: 213

Rep: Reputation: 43
No i don't have that in my patch.
Uploaded my patch that needs some testing first.
Attached Files
File Type: txt compile_fix_libpng_1.4.0.patch.txt (3.8 KB, 16 views)
 
Old 03-17-2010, 11:24 AM   #10
BrZ
Member
 
Registered: Apr 2009
Distribution: Slackware
Posts: 494

Rep: Reputation: 80
I think I found my mistake... I have qt-462 (kde-git) and it was built before libpng14 was introduced. This night I recompiled qt and now digikam 'seems' to work, but I lost firefox and konqueror only start from console... feck! I'll try to sorth the mess and play again with digikam. As I was playing with gtk2-2.18.8 and rebuilt/updated a few deps, this can take some time...

Thanks.

ps: I'll remove that reference to "pngconf".

edit: Sorted the mess (was gtk+2). Digikam built fine after patched, but exporting to png always segfault. Tried svn rev.1104823 and failed to build with warnings about "selectInAlbumManager". The good news: the dev team scheduled 1.2.0 to be released around march 28 =]

Last edited by BrZ; 03-18-2010 at 09:52 PM.
 
Old 03-21-2010, 05:28 PM   #11
gargamel
Senior Member
 
Registered: May 2003
Distribution: Slackware, SLAX, OpenSuSE
Posts: 1,600

Original Poster
Rep: Reputation: 142Reputation: 142
Quote:
Originally Posted by Nille_kungen View Post
No i don't have that in my patch.
Uploaded my patch that needs some testing first.
Thanks a lot, with your patch I was able to compile Digikam 1.1.0 on my Slackware64-current system. First few tests were successful with showFoto.

gargamel
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
SBo-git - slackbuilds.org on git (with patches for current) ponce Slackware 47 03-12-2011 05:12 AM
Slackware64, trying to compile wine with SBo suid0 Slackware 6 05-27-2009 09:48 AM
digikam on slackware -current din Slackware 5 05-07-2009 02:22 AM
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


All times are GMT -5. The time now is 04:50 AM.

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