[Digikam-devel] [Bug 138616] cannot compile: cannot verify exiv2 version

Mikolaj Machowski mikmach at wp.pl
Wed Dec 13 18:40:20 GMT 2006


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=138616         




------- Additional Comments From mikmach wp pl  2006-12-13 19:40 -------
OK, I see the problem (at least for Mandriva).

Pkg doesn't by default look for alternative locations of .pc files.

So, when I've had exiv2.pc in /usr/local/lib/pkgconfig pkg-config
couldn't find it there because it was looking only in
/usr/lib/pkgconfig.

I've had to create $PKG_CONFIG_PATH variable to include
/usr/local/lib/pkgconfig directory and now it works.

Now, from one side I understand that when someone wants to use sources
he makes it on his own risk but this situation doesn't feel good. On the
other side not everyone using bleeding edge software needs to know all
tricks of system.

Please at least add more info for configure output, something like:

exiv2 not found. Maybe pkg-config couldn't find data file. Check
location of exiv2.pc file and value of $PKG_CONFIG_PATH.

This is not complete info, but should give enough info for proper
googling - configure output isn't manual.
With such info added to configure scripts I can accept closing of this
bug (or close it myself).

m.



More information about the Digikam-devel mailing list