[Digikam-users] Error in compiling from svn

Paweł Marciniak pave at o2.pl
Thu Jun 21 13:16:07 BST 2007


Hi!

I'm trying to compile the unstable version of digiKam from svn and install
it in my homedir, following the instructions at
http://www.digikam.org/?q=download/svn. The installation of exiv2 and
extragear libs went fine, but compiling digiKam gives an error:

/bin/sh ../../libtool --silent --tag=CXX   --mode=link
g++ -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  -R /home/pave/digikam_svn/installed/lib -R /opt/kde/lib -R /opt/qt/lib -R /home/pave/digikam_svn/installed/lib -L/opt/kde/lib -L/opt/qt/lib -L/home/pave/digikam_svn/installed/lib -lkutils -o
digikam
main.o -lqt-mt -lz -lpng -lz -lm -lXext -lX11 -lSM -lICE -lpthread -lkdecore -lkdeui  -lkio -lkparts -lkutils
libdigikam.la
./.libs/libdigikam.so: undefined reference to
`KExiv2Iface::KExiv2::getExifTagsDataList(QStringList const&, bool)'
./.libs/libdigikam.so: undefined reference to
`KExiv2Iface::KExiv2::getIptcTagsDataList(QStringList const&, bool)'
collect2: ld returned 1 exit status
make: *** [digikam] Error 1


To configure digiKam I used:
./configure -prefix=/home/pave/digikam_svn/installed --with-extra-includes=/home/pave/digikam_svn/installed/include --with-extra-libs=/home/pave/digikam_svn/installed/lib

My environment variables are set as follows:
bash-3.2$ echo $KDEDIRS
/home/pave/digikam_svn/installed:/opt/kde:/usr (restarted kde after changing
it)
bash-3.2$ echo $LDPATH
/home/pave/digikam_svn/installed/lib:
bash-3.2$ echo $LD_LIBRARY_PATH
/home/pave/digikam_svn/installed/lib:
bash-3.2$ echo $PKG_CONFIG_PATH
/home/pave/digikam_svn/installed/lib/pkgconfig

Any idea of what I'm doing wrong?

Thanks,
Paweł




More information about the Digikam-users mailing list