[Digikam-users] Problem compiling digikam-0.9.5-beta1 - QT headers

Chris G cl at isbd.net
Sun Nov 30 10:31:22 GMT 2008


I'm trying to build digikam-0.9.5-beta1, I have now got it to
configure successfully:-

    ...
    ...
    ...
    config.status: creating config.h
    config.status: config.h is unchanged
    config.status: executing depfiles commands

    -- digiKam configure results -------------------
    -- using internal libsqlite3...... YES
    -- libgphoto2 library found....... YES
    -- libtiff library found..... .... YES
    -- libpng library found........... YES
    -- libjasper library found........ YES
    -- liblcms library found.......... YES
    -- libkipi library found.......... YES
    -- libkexiv2 library found........ YES
    -- libkdcraw library found........ YES
    ------------------------------------------------

    Good - your configure finished. Start make now


But when I do a make it goes a fair way into the build but fails with
the following errors:-

    ...
    ...
    ...
    make[4]: Leaving directory `/ins/digikam/digikam-0.9.5-beta1/digikam/libs/whitebalance'
    Making all in dmetadata
    /ins/digikam/digikam-0.9.5-beta1/digikam/libs/dmetadata
    make[4]: Entering directory `/ins/digikam/digikam-0.9.5-beta1/digikam/libs/dmetadata'
    /bin/bash ../../../libtool --silent --tag=CXX   --mode=compile g++
    -DHAVE_CONFIG_H -I. -I../../.. -I../../../digikam/libs/dimg
    -I../../../digikam/digikam   -I/usr/include/kde
    -I/usr/share/qt3/include -I.   -DQT_THREAD_SUPPORT -I/usr/include/xorg
    -I/usr/include/qt4 -D_REENTRANT  -fno-tree-pre -Wno-long-long -Wundef
    -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts
    -Wall -W -Wpointer-arith -O2 -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 
    -MT dmetadata.lo -MD -MP -MF .deps/dmetadata.Tpo -c -o dmetadata.lo dmetadata.cpp
    In file included from ../../../digikam/digikam/daboutdata.h:45,
                     from dmetadata.cpp:37:
    /usr/include/libkexiv2/kexiv2.h:35:29: error: QtCore/QByteArray: No
    such file or directory
    /usr/include/libkexiv2/kexiv2.h:36:26: error: QtCore/QString: No such
    file or directory
    /usr/include/libkexiv2/kexiv2.h:37:24: error: QtGui/QImage: No such
    file or directory
    /usr/include/libkexiv2/kexiv2.h:38:28: error: QtCore/QDateTime: No
    such file or directory
    /usr/include/libkexiv2/kexiv2.h:39:23: error: QtCore/QMap: No such
    file or directory
    /usr/include/libkexiv2/kexiv2.h:40:30: error: QtCore/QStringList: No
    such file or directory
    /usr/include/libkexiv2/kexiv2.h:41:27: error: QtCore/QVariant: No such
    file or directory
    In file included from ../../../digikam/digikam/daboutdata.h:45,
                     from dmetadata.cpp:37:
    /usr/include/libkexiv2/kexiv2.h:52: error: function definition does
    not declare parameters
    In file included from dmetadata.cpp:37:


It looks as if it can't find some QT header files, or have I maybe got
a wrong version of libkexiv2 installed, or something?!

Any suggestions anyone as to how to fix it?

Oh, this is all on xubuntu 8.10 with almost everything straight from
the Ubuntu repositories, the only library I had to build myself (as
the Ubuntu one wasn't new enough) was libkdcraw-0.1.6.

-- 
Chris Green



More information about the Digikam-users mailing list