How to build Digikam?

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

How to build Digikam?

Geoff King-4
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?

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
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: How to build Digikam?

Bugzilla from gandalf.lechner@univie.ac.at
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
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-users



_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: How to build Digikam?

Gilles Caulier-4
2008/7/9 Gandalf Lechner <[hidden email]>:

> 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
>
>

Here, you have both Exiv2 installed on your computer : one > 0.16 with
Xmp support (detected by CMake script), and one < 0.16 used to compile
libkexiv2. I don't know why the first one is not used to compile on
the right way.

Gilles Caulier
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: How to build Digikam?

Arnd Baecker
In reply to this post by Geoff King-4
Hi Geoff,

On Wed, 9 Jul 2008, Geoff King wrote:

> 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?
>
> 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).

Hmm, I can only say that current svn works fine on a kubuntu
installation (8.04, ie. hardy).
Maybe there is already a difference wrt to the beta?

Best, Arnd
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: How to build Digikam?

Geoff King-4
In reply to this post by Geoff King-4
Arnd,
Maybe there is something wrong with my kde since I'm running a 8.04
"ubuntu/gnome" setup. Although, I've been playing around with the new
kde4.1beta2 from the kubuntu repositories and it seems to run just
fine.  The main thing that comes to mind are more basic system related
(gdm instead of kdm, plus have a bunch of kde3 packages also installed
but nothing related to digikam).

It's really not a big deal for me, since I plan on sticking with the
stable digikam3 for a few more months on my main computer.  I was just
hoping to check it out and provide some comments/bug reports.

Geoff

>
> Hmm, I can only say that current svn works fine on a kubuntu
> installation (8.04, ie. hardy).
> Maybe there is already a difference wrt to the beta?
>
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: How to build Digikam?

Arnd Baecker
Geoff,

On Thu, 10 Jul 2008, Geoff King wrote:

> Arnd,
> Maybe there is something wrong with my kde since I'm running a 8.04
> "ubuntu/gnome" setup.
Don't think that this is the source of the problems
(I use kubuntu, but with fvwm as window manager ....)

> Although, I've been playing around with the new
> kde4.1beta2 from the kubuntu repositories and it seems to run just
> fine.  The main thing that comes to mind are more basic system related
> (gdm instead of kdm, plus have a bunch of kde3 packages also installed
> but nothing related to digikam).
>
> It's really not a big deal for me, since I plan on sticking with the
> stable digikam3 for a few more months on my main computer.

I have both in parallel; I won't give my real pictures into the
hands of 0.10  yet ... ;-)

> I was just
> hoping to check it out and provide some comments/bug reports.

That would be very helpful, the more testing, the better ...

In any case, the status/problem is summarized correctly in
http://bugs.kde.org/show_bug.cgi?id=165885 ?
Or do you see different errors now?

The problem is that I have no idea how to debug this...
Marcel, Gilles?

Best, Arnd
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users