[Digikam-users] Problems compiling digikam 0.9 from SVN

Gilles Caulier caulier.gilles at kdemail.net
Wed Aug 30 06:19:51 BST 2006


Le Mardi 29 Août 2006 17:03, efpost a écrit :
> Gilles Caulier schrieb:
> >Le Mardi 29 Août 2006 14:03, efpost a écrit :
> >>Caulier Gilles schrieb:
> >>>Le Mardi 29 Août 2006 12:29 AM, efpost a écrit :
> >>>>Hi,
> >>>>
> >>>>just tried to compile digikam 0.9 from svn. I made every step according
> >>>>to the instructions on the digikam website.
> >>>>After checking out I started compiling in the graphics directory with
> >>>>make -f Makefile.cvs
> >>>>
> >>>>Here is the result
> >>>>
> >>>>   # make -f Makefile.cvs
> >>>>This Makefile is only for the CVS repository
> >>>>This will be deleted before making the distribution
> >>>>
> >>>>./admin/cvs.sh: line 33: --version: command not found
> >>>>*** AUTOCONF NOT FOUND!.
> >>>>*** KDE requires autoconf 2.53 or newer
> >>>>make[1]: *** [cvs] Fehler 1
> >>>>make: *** [all] Fehler 2
> >>>>
> >>>>I have definitely autoconf version 2.60a-1 installed (in /usr/bin). I
> >>>>needed it yesterday for compiling from tarballs (cf previous posts).
> >>>>
> >>>>If I disregard the error and go on with ./configure I get
> >>>>bash: ./configure: File or directory not found (literally translated
> >>>>
> >>>>
> >>>>from German)
> >>>>
> >>>>
> >>>>What do I do now?
> >>>
> >>>Under mandriva 2006, i use :
> >>>
> >>>[gilles at portable-gc apps]$ autoconf --version
> >>>autoconf (GNU Autoconf) 2.59
> >>>Written by David J. MacKenzie and Akim Demaille.
> >>>...
> >>>
> >>>...without problems. Also, i recommend you to look the README file about
> >>>depencies.
> >>>
> >>>Gilles
> >>>_______________________________________________
> >>>Digikam-users mailing list
> >>
> >>It's done. Studying the README file clarified the situation. Not
> >>AUTOCONF was missing, but AUTOMAKE. After installing automake 1.9 the
> >>compilation went just fine.
> >>
> >>BUT: digikam 0.9 keeps crashing.
> >>I started digikam clean (no digikamrc, no digikam.db) and set as the
> >>database directory an existing directory with subdirectories and images
> >>(as described in my previous posts)
> >>Here is the output from KDE crash handler:
> >>
> >>-------------
> >>Using host libthread_db library "/lib/tls/libthread_db.so.1".
> >>[Thread debugging using libthread_db enabled]
> >>[New Thread -1240873280 (LWP 14916)]
> >>[KCrash handler]
> >>#5  0xb613e2ad in mallopt () from /lib/tls/libc.so.6
> >>#6  0xb613e942 in free () from /lib/tls/libc.so.6
> >>#7  0xb62e24e1 in operator delete () from /usr/lib/libstdc++.so.6
> >>#8  0xb62be1ed in std::string::_Rep::_M_destroy ()
> >>   from /usr/lib/libstdc++.so.6
> >>#9  0xb62c0d58 in std::basic_string<char, std::char_traits<char>,
> >>std::allocator<char> >::~basic_string () from /usr/lib/libstdc++.so.6
> >>#10 0xb7eb9df7 in Digikam::DMetadata::convertCommentValue (
> >>    exifDatum=@0x815d70c) at dmetadata.cpp:1092
> >>#11 0xb7ebaacd in Digikam::DMetadata::getImageComment (this=0xbf8ae518)
> >>    at dmetadata.cpp:936
> >>#12 0xb7d4a0b9 in Digikam::ScanLib::storeItemInDatabase (this=0xbf8ae878,
> >>    albumURL=@0xbf8ae5b8, filename=@0xbf8ae604, albumID=2) at
> >>scanlib.cpp:397
> >>#13 0xb7d4a616 in Digikam::ScanLib::allFiles (this=0xbf8ae878,
> >>    directory=@0xbf8ae710) at scanlib.cpp:350
> >>#14 0xb7d4a728 in Digikam::ScanLib::allFiles (this=0xbf8ae878,
> >>    directory=@0xbf8ae7b0) at scanlib.cpp:355
> >>#15 0xb7d4b2f8 in Digikam::ScanLib::findMissingItems (this=0xbf8ae878)
> >>    at scanlib.cpp:191
> >>#16 0xb7d4b87d in Digikam::ScanLib::startScan (this=0xbf8ae878)
> >>    at scanlib.cpp:91
> >>#17 0xb7ceb0d0 in Digikam::AlbumManager::setLibraryPath (this=0x8129100,
> >>    path=@0xbf8aea78) at albummanager.cpp:289
> >>#18 0x0804a85c in main (argc=-1208526040, argv=0xb6208420) at
> >> main.cpp:243 ------------------
> >>
> >>Could somebody please point me into the right direction.
> >
> >Yes, the other part relevent of this crash is Exiv2 library.
> >
> >Here i use Exiv2 source code from svn repository (i'm also an Exiv2
> >developper), not the last stable release 0.10...
> >
> >Look here for instructions to download and compile Exiv2 from svn :
> >
> >http://www.exiv2.org/download.html
> >
> >Gilles
> >_______________________________________________
> >Digikam-users mailing list
>
> Well, that didn't help. I have compiled and installed exiv2 from SVN.
> Then I started digikam 

Oups, i have forget to said than before to install Exiv2 from svn, you need to 
uninstall Exiv2 0.10.0, else nothing will change in digiKam. 

After that, install Exiv2-svn, perform a "make distcleanup" in root digiKam 
source forder and rebuild all using make -f Makefile.cvs; ./configure 
---enable-debug=full; make...

Gilles



More information about the Digikam-users mailing list