[Digikam-users] Problems compiling to /usr/local

Paul Waldo pwaldo at waldoware.com
Fri Apr 6 18:16:39 BST 2007


Hi all,

I'm trying to compile digikam and digikamimageplugins (both 0.9.1) from 
the release tarball.  I want them to go in /usr/local because, on my 
Kubuntu system, the kubuntu-desktop package is dependent upon the 
libkipi and digikam packages that come with the distro.

I was able to install digikam just fine, but when I compile 
digikamimageplugins, I get this error:

/bin/bash ../../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 
-march=nocona -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 -DQT_NO_ASCII_CAST -DQT_NO_STL 
-DQT_NO_COMPAT -DQT_NO_TRANSLATION    -o 
digikamimageplugin_adjustlevels.la -rpath /usr/local/lib/kde3 -module 
-avoid-version -module -no-undefined -Wl,--no-undefined 
-Wl,--allow-shlib-undefined -R /usr/local/lib -R /usr/lib -R 
/usr/share/qt3/lib  -L/usr/share/qt3/lib      
imageplugin_adjustlevels.lo adjustlevels.lo -lkparts -ldigikam 
../../digikamimageplugins/common/widgets/libdigikamimagepluginswidget.la
grep: /usr/lib/libkipi.la: No such file or directory
/bin/sed: can't read /usr/lib/libkipi.la: No such file or directory
libtool: link: `/usr/lib/libkipi.la' is not a valid libtool archive


At the beginning, I ran ./configure --prefix=/usr/local and indeed have 
the appropriate libkipi in /usr/local:

pwaldo at office 
/home/local_pwaldo/src/graphics/digikam/digikamimageplugins-0.9.1
$ ls -l /usr/local/lib/libkipi*
-rwxr-xr-x 1 root root   1349 2007-04-06 12:03 /usr/local/lib/libkipi.la
lrwxrwxrwx 1 root root     16 2007-04-06 12:03 /usr/local/lib/libkipi.so 
-> libkipi.so.0.1.1
lrwxrwxrwx 1 root root     16 2007-04-06 12:03 
/usr/local/lib/libkipi.so.0 -> libkipi.so.0.1.1
-rwxr-xr-x 1 root root 328631 2007-04-06 12:03 
/usr/local/lib/libkipi.so.0.1.1


How can I get the compile to look in /usr/local/lib before /usr/lib?  
Thanks in advance!

Paul



More information about the Digikam-users mailing list