[Digikam-devel] [Bug 138616] cannot compile: cannot verify exiv2 version
Fabien
fabien.ubuntu at gmail.com
Wed Dec 13 13:45:34 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 fabien.ubuntu gmail com 2006-12-13 14:45 -------
As exiv2-config is marked as deprecated by Andreas, I would suggest to only use pkg-config. IMHO, pkg-config is ok, if there are troubles, it could be because of some scripts using it, but not pkg-config itself...
And, this will also solve the problem I mentionned in my email here :
http://mail.kde.org/pipermail/digikam-users/2006-December/002628.html
<<
But, in any case, it's true that there's something confusing in the
configure script :
- first, EXIV2_CFLAGS and LIB_EXIV2 are defined :
EXIV2_CFLAGS="`$EXIV2_CONFIG --cflags`"
LIB_EXIV2="`$EXIV2_CONFIG --libs`"
- then, EXIV2_CFLAGS is redefined and a new EXIV2_LIBS is defined (and
not LIB_EXIV2) :
EXIV2_CFLAGS=`$PKG_CONFIG --cflags "exiv2 >= 0.12"`
EXIV2_LIBS=`$PKG_CONFIG --libs "exiv2 >= 0.12"`
I don't know yet which one is the right one, but I guess we shouldn't
have both LIB_EXIV2 and EXIV2_LIBS at the same time...
>>
More information about the Digikam-devel
mailing list