[Kde-imaging] problems with finding correct exiv2

Angelo Naselli anaselli at linux.it
Wed May 16 10:46:59 CEST 2007


Alle mercoledì 16 maggio 2007, Arnd Baecker ha scritto:
> Hi,
> 
> it seems that either I posted the question/problem below
> to the wrong mailing list, or no one can make
> any sense out of what I wrote.
> 
> Could you maybe direct me to the right mailing list to
> report this problem?
> 
> Best, Arnd
> 
> P.S.: Personally I don't have a real problem with this,
> because I can easily write myself a small script
> which does the replacement in the Makefile automatically,
> but it might bite other users as well   ... ;-(
> 
> On Sat, 5 May 2007, Arnd Baecker wrote:
> 
> > Hi,
> >
> > I am not sure, if this is really the right mailing list,
> > but hopefully it is not too far off ;-)
> >
> > When trying to compile kipiplugins, obtained via
> >   svn co svn://anonsvn.kde.org/home/kde/trunk/extragear/libs
> > configured via
> >   make -f Makefile.cvs
> >   ./configure --prefix=$DIGIKAMDEST \
> >     --with-extra-includes=$DIGIKAMDEST/include \
> >     --with-extra-libs=$DIGIKAMDEST/lib
> > the wrong exiv2 is found:
> > I have a 0.10 in /usr/
> > and a self-compiled (0.14) in $DIGIKAMDEST, but
> > only the first is found.
> >
> > As paths
> > export DIGIKAMDEST=/home/NBB/digikam
> > export KDEDIRS=$DIGIKAMDEST:/usr
> > export LD_LIBRARY_PATH=$DIGIKAMDEST/lib:$LD_LIBRARY_PATH
> > export LDPATH=$DIGIKAMDEST/lib:$LDPATH
> > export PATH=$DIGIKAMDEST/bin:$PATH
> > export PKG_CONFIG_PATH=$DIGIKAMDEST/lib/pkgconfig
> > are set.
> >
> > Fiddling around with the configure script, it
> > turned out that changing the order of
> > the definitions of PKG_CONFIG_PATH inside the script to
> > PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$prefix/lib${kdelibsuff}/pkgconfig"
> > did solve the problem for me.
> >
> > Is there a better solution?
> > (and, if not, maybe the above ordering should be the default
> > so that alternative configurations are used instead
> > of the usual ones?)
No the right way is to use PKG_CONFIG_PATH as described in auto tools manual somewhere.

Angelo

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-imaging/attachments/20070516/b40673ec/attachment.pgp 


More information about the Kde-imaging mailing list