[Digikam-users] Problem building 2.0.0-rc

Samuel Gilbert samuel.gilbert at usherbrooke.ca
Wed Jul 27 17:31:16 BST 2011


Hello,

I've tried to build digiKam 2.0.0-rc on a up-to-date Archlinux.  I launched 
the compilation with the following commands :

mkdir digiKam-build && cd digiKam-build
cmake -DCMAKE_INSTALL_PREFIX=/usr ../digikam-2.0.0-rc
make

The build always aborts with the following error :

Scanning dependencies of target kipiplugin_acquireimages
[ 81%] Building CXX object extra/kipi-
plugins/acquireimages/CMakeFiles/kipiplugin_acquireimages.dir/kipiplugin_acquireimages_automoc.cpp.o                                      
make[2]: *** No rule to make target `/usr/local/lib/libksane.so', needed by 
`lib/kipiplugin_acquireimages.so'.  Stop.                                                           
make[2]: *** Waiting for unfinished jobs....
[ 81%] Building CXX object extra/kipi-
plugins/acquireimages/CMakeFiles/kipiplugin_acquireimages.dir/plugin_acquireimages.cpp.o
[ 81%] Building CXX object 
core/imageplugins/transform/CMakeFiles/digikamimageplugin_transform.dir/perspectivetool.cpp.o                                                        
make[1]: *** [extra/kipi-
plugins/acquireimages/CMakeFiles/kipiplugin_acquireimages.dir/all] Error 2                                                                             
make[1]: *** Waiting for unfinished jobs....
[ 81%] Building CXX object 
core/imageplugins/transform/CMakeFiles/digikamimageplugin_transform.dir/perspectivewidget.cpp.o
[ 81%] Building CXX object 
core/imageplugins/transform/CMakeFiles/digikamimageplugin_transform.dir/triangle.cpp.o                                                               
[ 81%] Building CXX object 
core/imageplugins/transform/CMakeFiles/digikamimageplugin_transform.dir/matrix.cpp.o                                                                 
[ 81%] Building CXX object 
core/imageplugins/transform/CMakeFiles/digikamimageplugin_transform.dir/imageselectionwidget.cpp.o                                                   
[ 81%] Building CXX object 
core/imageplugins/transform/CMakeFiles/digikamimageplugin_transform.dir/ratiocroptool.cpp.o                                                          
[ 81%] Building CXX object 
core/imageplugins/transform/CMakeFiles/digikamimageplugin_transform.dir/contentawareresizetool.cpp.o                                                 
Linking CXX shared module ../../../lib/digikamimageplugin_transform.so                                                                                                          
[ 81%] Built target digikamimageplugin_transform                                                                                                                                
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...



Why is there a "/usr/local/lib/libksane.so" target when I set the prefix to 
/usr and what can I do to correct this?

Cheers,

Samuel



More information about the Digikam-users mailing list