[Digikam-users] Can't compile SVN digikam: correct libkdcraw lib not found

Paul Waldo pwaldo at waldoware.com
Fri Sep 28 17:46:46 BST 2007


After I did an install of the newly compiled exiv2, I re-ran my digikam 
build script (below). If I read it correctly, it does do a build of the 
extragear libs

Now that I look more closely at the link command, I think the error 
makes sense.  Shouldn't there be a "-lkeviv2" in there somewhere? :-O

#!/bin/sh -xve

DIGIKAMDEST=/home/local_pwaldo/local
KDEDIRS=/home/local_pwaldo/local:/usr
LD_LIBRARY_PATH=/home/local_pwaldo/local:$LD_LIBRARY_PATH
LD_RUN_PATH=$DIGIKAMDEST:$LD_RUN_PATH
LDPATH=$DIGIKAMDEST/lib:$LDPATH
PATH=$DIGIKAMDEST/bin:$PATH
UNSERMAKE=no
PKG_CONFIG_PATH=$DIGIKAMDEST/lib/pkgconfig

 echo Get, compile and install required libs
 svn co svn://anonsvn.kde.org/home/kde/branches/extragear/kde3/libs
 cd libs
 export UNSERMAKE=no
echo KDEDIRS is $KDEDIRS
 make -f Makefile.cvs
 ./configure --prefix=/home/local_pwaldo/local
 make -j 5
 make install
 cd ..

 echo Get, compile and install digikam
 svn co -N svn://anonsvn.kde.org/home/kde/branches/extragear/kde3/graphics/
 cd graphics
 svn up digikam
 svn co svn://anonsvn.kde.org/home/kde/branches/KDE/3.5/kde-common/admin
 make -f Makefile.cvs
 ./configure --prefix=/home/local_pwaldo/local 
--with-extra-includes=/home/local_pwaldo/local 
--with-extra-libs=/home/local_pwaldo/local
 make -j 5
 make install


Gilles Caulier wrote:
> Paul,
>
> Just to be sure, when you have installed Exiv2 0.15, are you 
> recompiled and installed extargear/libs before to compile digiKam ?
>
> Are you sure than the libkexiv2 used to link digiKam is the right one ?
>
> Gilles
>
> 2007/9/28, Paul Waldo <pwaldo at waldoware.com 
> <mailto:pwaldo at waldoware.com>>:
>
>     Sorry to keep on with the errors...
>
>     Exiv0.15 seemed to work for the configure stage.
>
>     Now it seems that linking digikam fails.  As I read this, there is a
>     problem with the signatures of kexiv2 and what digikam thinks is the
>     signature.  Any ideas?  Thanks!
>
>     /bin/bash ../../libtool --silent --tag=CXX --mode=link g++
>     -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE
>     -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -O2
>     -march=nocona -Wformat-security -Wmissing-format-attribute
>     -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common
>     -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT
>     -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE    -o libdigikam.la
>     <http://libdigikam.la> -rpath
>     /home/local_pwaldo/local/lib -L/usr/share/qt3/lib
>     -L/home/local_pwaldo/local -R /home/local_pwaldo/local/lib -R /usr/lib
>     -R /usr/share/qt3/lib -R /home/local_pwaldo/local -no-undefined
>     -Wl,--no-undefined -Wl,--allow-shlib-undefined kdateedit.lo
>     metadatahub.lo digikamapp.lo album.lo albumdb.lo albumdb_sqlite2.lo
>     albumiconview.lo albumicongroupitem.lo albumiconitem.lo
>     albumitemhandler.lo albumfiletip.lo albumfolderview.lo albumhistory.lo
>     albumlister.lo albummanager.lo albumpropsedit.lo albumsettings.lo
>     albumthumbnailloader.lo albumwidgetstack.lo cameradragobject.lo
>     cameralist.lo cameratype.lo datefolderview.lo dcopiface.lo
>     digikamfirstrun.lo digikamview.lo dio.lo dragobjects.lo firstrun.lo
>     folderitem.lo folderview.lo iconview.lo icongroupitem.lo iconitem.lo
>     imageattributeswatch.lo imageinfo.lo imagepreviewview.lo
>     kdatetimeedit.lo kdatepickerpopup.lo kipiinterface.lo
>     mediaplayerview.lo
>     monthwidget.lo pixmapmanager.lo ratingpopupmenu.lo ratingwidget.lo
>     scanlib.lo searchadvanceddialog.lo searchfolderview.lo
>     searchquickdialog.lo searchresultsview.lo searchresultsitem.lo
>     searchwidgets.lo syncjob.lo tagcreatedlg.lo tagfilterview.lo
>     tagfolderview.lo tagspopupmenu.lo upgradedb_sqlite2tosqlite3.lo
>     welcomepageview.lo dcopiface_skel.lo -lkio -lsqlite3   -lkabc -lkhtml
>     -lkipi   -lkutils ../../digikam/libs/sqlite2/libsqlite2.la
>     ../../digikam/libs/thumbbar/libthumbbar.la
>     ../../digikam/libs/themeengine/libthemeengine.la
>     ../../digikam/libs/widgets/libwidgets.la
>     ../../digikam/libs/dialogs/libdialog.la
>     ../../digikam/libs/jpegutils/libjpegutils.la
>     ../../digikam/libs/dimg/libdimg.la
>     ../../digikam/libs/imageproperties/libimagepropertiesdigikam.la
>     ../../digikam/libs/threadimageio/libthreadimageio.la
>     ../../digikam/libs/greycstoration/libgreycstoration.la
>     ../../digikam/utilities/batch/libbatch.la
>     ../../digikam/utilities/slideshow/libslideshow.la
>     ../../digikam/utilities/cameragui/libcameragui.la
>     ../../digikam/utilities/imageeditor/canvas/libdimgcanvas.la
>     ../../digikam/utilities/imageeditor/editor/libdimgeditor.la
>     ../../digikam/utilities/setup/libsetup.la
>     ../../digikam/utilities/lighttable/liblighttable.la
>     ../../digikam/libs/widgets/.libs/libwidgets.a(iptcwidget.o): In
>     function
>     `Digikam::IptcWidget::decodeMetadata()':
>     iptcwidget.cpp:(.text+0xdd7): undefined reference to
>     `KExiv2Iface::KExiv2::getIptcTagsDataList(QStringList, bool)'
>     ../../digikam/libs/widgets/.libs/libwidgets.a(exifwidget.o): In
>     function
>     `Digikam::ExifWidget::decodeMetadata()':
>     exifwidget.cpp:(.text+0xe09): undefined reference to
>     `KExiv2Iface::KExiv2::getExifTagsDataList(QStringList, bool)'
>     ../../digikam/libs/widgets/.libs/libwidgets.a(makernotewidget.o): In
>     function `Digikam::MakerNoteWidget::decodeMetadata()':
>     makernotewidget.cpp:(.text+0xdd8): undefined reference to
>     `KExiv2Iface::KExiv2::getExifTagsDataList(QStringList, bool)'
>     ../../digikam/libs/widgets/.libs/libwidgets.a(gpswidget.o): In
>     function
>     `Digikam::GPSWidget::decodeMetadata()':
>     gpswidget.cpp:(.text+0xc80): undefined reference to
>     `KExiv2Iface::KExiv2::getExifTagsDataList(QStringList, bool)'
>     collect2: ld returned 1 exit status
>     make[3]: *** [libdigikam.la <http://libdigikam.la>] Error 1
>     make[3]: Leaving directory
>     `/home/local_pwaldo/digikam-svn/graphics/digikam/digikam'
>     make[2]: *** [all-recursive] Error 1
>     make[2]: Leaving directory
>     `/home/local_pwaldo/digikam-svn/graphics/digikam'
>     make[1]: *** [all-recursive] Error 1
>     make[1]: Leaving directory `/home/local_pwaldo/digikam-svn/graphics'
>     make: *** [all] Error 2
>
>
>     Gilles Caulier wrote:
>     > Paul,
>     >
>     > Current Exiv2 from svn trunk support XMP metadata now. Andreas
>     and me
>     > we working on...
>     >
>     >
>     http://digikam3rdparty.free.fr/Screenshots/digikam_for_KDE4_with_XMP_metadata_support.png
>     <http://digikam3rdparty.free.fr/Screenshots/digikam_for_KDE4_with_XMP_metadata_support.png>
>     >
>     > Compile it properly, you need to read and follow the README-XMP file
>     > before.
>     >
>     > But if you don't care about XMP at this time (only digiKam for KDE4
>     > support XMP), just get the last stable Exiv2 0.15 bin and devel
>     > package to compile all digiKam & co for KDE3.
>     >
>     > Gilles
>     >
>     >
>     > 2007/9/28, Paul Waldo <pwaldo at waldoware.com
>     <mailto:pwaldo at waldoware.com>
>     > <mailto: pwaldo at waldoware.com <mailto:pwaldo at waldoware.com>>>:
>     >
>     >     Paul Waldo wrote:
>     >     > Now I'm off to try to compile digikam again.  Of course my
>     exiv2
>     >     needs
>     >     > to be updated also.... :-(
>     >     >
>     >     OK, so the current SVN build for exiv2 is broken with compile
>     >     errors. Is
>     >     there any way to get a snapshot that will compile? Thanks!
>     >
>     >     Paul
>     >     _______________________________________________
>     >     Digikam-users mailing list
>     >     Digikam-users at kde.org <mailto:Digikam-users at kde.org>
>     <mailto:Digikam-users at kde.org <mailto:Digikam-users at kde.org>>
>     >     https://mail.kde.org/mailman/listinfo/digikam-users
>     >
>     >
>     >
>     ------------------------------------------------------------------------
>     >
>     > _______________________________________________
>     > Digikam-users mailing list
>     > Digikam-users at kde.org <mailto:Digikam-users at kde.org>
>     > https://mail.kde.org/mailman/listinfo/digikam-users
>     >
>
>     _______________________________________________
>     Digikam-users mailing list
>     Digikam-users at kde.org <mailto:Digikam-users at kde.org>
>     https://mail.kde.org/mailman/listinfo/digikam-users
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Digikam-users mailing list
> Digikam-users at kde.org
> https://mail.kde.org/mailman/listinfo/digikam-users
>   




More information about the Digikam-users mailing list