[Digikam-users] Exiv2 library missing???
Thorsten Schnebeck
thorsten.schnebeck at gmx.net
Wed Dec 6 22:06:12 GMT 2006
Am Mittwoch 06 Dezember 2006 18:19 schrieb Daniel Bauer:
> On Wednesday 06 December 2006 18:12, Thorsten Schnebeck wrote:
> > [...]
> >
> > What is the content of /home/digi/digikamSVN/bin/exiv2-config?
>
> this: http://www.daniel-bauer.com/test/exiv2-config.txt
ok, this is 0.12 and what I expected.
So I looked into the check of ./configure
first there is a test for exiv2-config this results to:
"checking for exiv2-config... /home/digi/digikamSVN/bin/exiv2-config"
This is the correct version. To help configure you could also use the
env-variable $EXIV2_CONFIG but its not necessary.
But now ./configure does not make anything useful with exiv2-config (like
checking the version). No, instead it uses now pkg-config to check the
version of exiv2.
That check results to
"checking for exiv2 >= 0.12... no"
Question stays what overwrites your PKG_CONFIG_PATH?
[search mode]
#------------------------------------------------------------------
# KIPI support (KDE Image Plugin Interface)
#------------------------------------------------------------------
if test "$PKGCONFIGFOUND" = "yes" ; then
# check for libkipi
have_libkipi=no
PKG_CONFIG_PATH="$prefix/lib${kdelibsuff}/pkgconfig:$PKG_CONFIG_PATH"
if test "$prefix" != "$kde_libs_prefix"; then
PKG_CONFIG_PATH="$kde_libs_prefix/lib${kdelibsuff}/pkgconfig:
$PKG_CONFIG_PATH"
fi
export PKG_CONFIG_PATH
ups - thats bitter! kipi check is before exiv2 test. THAT kills your global
enviroment (and I think this is bad style and a BUG)
With current configure checks you can only use ONE global exiv2 lib.
Can you try this hack:
Please change these lines of your digikam build script from
make -f Makefile.cvs
./configure --prefix=$DIGIKAMDEST --with-extra-includes=$DIGIKAMDEST/include --with-extra-libs=$DIGIKAMDEST/lib
make -j 4
into:
make -f Makefile.cvs
PKGCONFIGFOUND="no" ./configure --prefix=$DIGIKAMDEST --with-extra-includes=$DIGIKAMDEST/include --with-extra-libs=$DIGIKAMDEST/lib
make -j 4
and tell us what configure now tells about the exiv2 check.
Bye
Thorsten
More information about the Digikam-users
mailing list