[Digikam-devel] building from git on Fedora 15

Adam Spiers digikam at adamspiers.org
Wed Sep 21 16:28:10 BST 2011


Hi all,

I'm trying to build the git master branch on a fresh Fedora 15
install.  I've satisfied all the build dependencies via:

    yum install \
        gcc-c++ kde4-devel kde4-libs-devel kdebase-devel kdelibs-devel \
        sane-backends-devel exiv2-devel dcraw lcms-devel lcms2-devel \
        qjson-devel libgomp opencv-devel libxml2-devel libxslt-devel \
        expat-devel qca2-devel libgpod-devel jasper-devel liblqr-1-devel \
        lensfun-devel doxygen lapack-devel kdeedu-devel

Perhaps someone would like to add this information to

    http://digikam.org/drupal/download?q=download/dependencies

to save other Fedora users a bit of time working them out?

Ideally I suppose we could provide an up-to-date rpm .spec file with
the correct BuildRequires: header, but the above is better than nothing.

However, my build fails part of the way through:

[ 37%] Built target kipiplugin_photolayoutseditor_automoc
Linking CXX shared module ../../../lib/kipiplugin_photolayoutseditor.so
../../../lib/liblibphotolayoutseditor.a(photolayoutseditor.cpp.o): In
function `PhotoLayoutsEditor':
/home/adam/software/digikam-sc/extra/kipi-plugins/photolayoutseditor/plugin/photolayoutseditor.cpp:125:
undefined reference to
`KIPIPhotoLayoutsEditor::qInitResources_icons()'
/home/adam/software/digikam-sc/extra/kipi-plugins/photolayoutseditor/plugin/photolayoutseditor.cpp:125:
undefined reference to
`KIPIPhotoLayoutsEditor::qInitResources_icons()'
../../../lib/liblibphotolayoutseditor.a(photolayoutseditor.cpp.o): In
function `~PhotoLayoutsEditor':
/home/adam/software/digikam-sc/extra/kipi-plugins/photolayoutseditor/plugin/photolayoutseditor.cpp:159:
undefined reference to
`KIPIPhotoLayoutsEditor::qCleanupResources_icons()'
/home/adam/software/digikam-sc/extra/kipi-plugins/photolayoutseditor/plugin/photolayoutseditor.cpp:159:
undefined reference to
`KIPIPhotoLayoutsEditor::qCleanupResources_icons()'
collect2: ld returned 1 exit status
make[2]: *** [lib/kipiplugin_photolayoutseditor.so] Error 1
make[1]: *** [extra/kipi-plugins/photolayoutseditor/CMakeFiles/kipiplugin_photolayoutseditor.dir/all]
Error 2
make: *** [all] Error 2

Any ideas?

Thanks!
Adam



More information about the Digikam-devel mailing list