Re: Problem compiling kphotoalbum 5.4.2 on Fedora 30

Robert Krawitz <rlk-FrUbXkNCsVf2fBVCVOL8/[email protected]>
Newsgroups gmane.comp.kde.kimdaba
Message-ID <20190421014405.1E9F2142AAC@localhost>
On Sun, 21 Apr 2019 00:51:22 +0100, =?UTF-8?Q?Constantin_Or=C4=83san?= wrote:
> I don't know whether it's really relevant, but I cannot compile kpa 5.4.2
> on Fedora 30. It seems that the problem is due to the fact that F30 comes
> with exiv2 version 0.27. This problem does not affect the current dev
> version from git.

There was a problem building with exiv 0.27, which was fixed on
12/31.  But looking at the history, it appears that these change sets
(41c7da0531c8a1eb7046345c2b991e7a5d1e6657 and
cf4f7645b3c94246a1fcf664f1c865a93ae2b684) didn't make it into 5.4.2.

> The first problem is when I run cmake. It fails because it is not able to
> determine the correct version of exiv2. The second problem happens at the
> compilation stage because EXIV2_TEST_VERSION macro is not defined. If fixed
> both of them by changing some include statements. I don't think this
> problem is because F30 is still in beta version.
>
> If relevant I am happy to send the changes I made, but they were determined
> largely using google, so you probably know better how to fix them.

You might want to try applying those two change sets to 5.4.2.
-- 
Robert Krawitz                                     <rlk-FrUbXkNCsVf2fBVCVOL8/[email protected]>

***  MIT Engineers   A Proud Tradition   http://mitathletics.com  ***
Member of the League for Programming Freedom  --  http://ProgFree.org
Project lead for Gutenprint   --    http://gimp-print.sourceforge.net

"Linux doesn't dictate how I work, I dictate how Linux works."
--Eric Crampton
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.