[Digikam-users] How to build Digikam?

Gandalf Lechner gandalf.lechner at univie.ac.at
Wed Jul 9 13:54:37 BST 2008


Hi Geoff,

Am Mittwoch 09 Juli 2008 14:40:34 schrieb Geoff King:
> Hi Gandalf, and others trying to use kubuntu/ubuntu to install 0.10beta.
>
> I am in the same position - no thumbnails or images.  The bug report I
> filed a few days ago sounds like the same thing.
> http://bugs.kde.org/show_bug.cgi?id=165885
>
> Did the rescan or restart help?

No, unfortunately not.

I can see images on my camera, but not in the albums. I can open images with 
showfoto, though, and see the thumbnails during the "create all thumbnails" 
business.
Moreover, when I check the config dialog of digikam, I see "0 kipi plugins 
found", although they were compiled and installed from svn.

Finally, I did a fresh checkout, which gave me some more trouble: While the 
cmake script for the graphics folder says "congratulations! all external 
packages have been found", make fails, with the message

[ 61%] Building CXX object 
libs/libkexiv2/libkexiv2/CMakeFiles/kexiv2.dir/kexiv2xmp.o                                         
Linking CXX shared library ../../../lib/libkexiv2.so                                                                          
CMakeFiles/kexiv2.dir/kexiv2image.o: In function 
`KExiv2Iface::KExiv2::setImageDateTime(QDateTime const&, bool, bool) const': 
/home/gandalf/down/svn/kde4/kdegraphics/libs/libkexiv2/libkexiv2/kexiv2image.cpp:715: 
undefined reference to `Exiv2::XmpData::add(Exiv2::XmpKey const&, Exiv2::Value 
const*)'                                                                               
/home/gandalf/down/svn/kde4/kdegraphics/libs/libkexiv2/libkexiv2/kexiv2image.cpp:716: 
undefined reference to `Exiv2::XmpData::add(Exiv2::XmpKey const&, Exiv2::Value 
const*)'                                                                               
/home/gandalf/down/svn/kde4/kdegraphics/libs/libkexiv2/libkexiv2/kexiv2image.cpp:717: 
undefined reference to `Exiv2::XmpData::add(Exiv2::XmpKey const&, Exiv2::Value 
const*)'
/home/gandalf/down/svn/kde4/kdegraphics/libs/libkexiv2/libkexiv2/kexiv2image.cpp:718: 
undefined reference to `Exiv2::XmpData::add(Exiv2::XmpKey const&, Exiv2::Value 
const*)'
/home/gandalf/down/svn/kde4/kdegraphics/libs/libkexiv2/libkexiv2/kexiv2image.cpp:719: 
undefined reference to `Exiv2::XmpData::add(Exiv2::XmpKey const&, Exiv2::Value 
const*)'
CMakeFiles/kexiv2.dir/kexiv2image.o:/home/gandalf/down/svn/kde4/kdegraphics/libs/libkexiv2/libkexiv2/kexiv2image.cpp:720: 
more undefined references to `Exiv2::XmpData::add(Exiv2::XmpKey const&, 
Exiv2::Value const*)' follow
CMakeFiles/kexiv2.dir/kexiv2xmp.o: In function `KExiv2Iface::KExiv2::getXmp() 
const':
/home/gandalf/down/svn/kde4/kdegraphics/libs/libkexiv2/libkexiv2/kexiv2xmp.cpp:105: 
undefined reference to `Exiv2::XmpParser::encode(std::basic_string<char, 
std::char_traits<char>, std::allocator<char> >&, Exiv2::XmpData const&, 
unsigned short, unsigned int)'
collect2: ld returned 1 exit status
make[2]: *** [lib/libkexiv2.so.6.0.0] Error 1
make[1]: *** [libs/libkexiv2/libkexiv2/CMakeFiles/kexiv2.dir/all] Error 2
make: *** [all] Error 2


Best,
Gandalf

> I've now compiled twice using the method outlined by Arnd (thanks
> Arnd) and also using the libs directly from kubuntu (4.1beta2) and
> both give the same result.  Maybe it's something wrong with
> kubuntu/ubuntu, but most of the other kde4 programs and desktop work
> fine (for a beta).





>
> > Hi Arnd and everybody,
> >
> > now that was a set of useful instructions - thanks a lot! With your
> > notes, I could finally compile and install digikam 0.10 from svn.
> >
> > For my fellow kubuntu users: At first, I received an error from cmake
> > claiming that QT_QTOPENGL_LIBRARY must be set. Installing
> > libqt4-opengl-dev resolved this. Second, after compiling and installing
> > digikam, I was faced with an error message that the qt4 sqlite plugin is
> > missing. Having installed libqt4- sql-sqlite , also this problem was
> > overcome.
> >
> > I was however not successful to find the correct package to solve the
> > imlib dependency (I installed basically everything with imlib in its
> > name), but this is apparantly optional.
> >
> >
> > Once digikam finished crawling through my pictures, selecting albums on
> > the left did not result in showing thumbnails in the main window. I am
> > running a "rebuild all thumbnails" right now and hope this fixes it;
> > looking forward to have a look at the new digikam :-)
>
> _______________________________________________
> 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