#1 Le 09/03/2010, à 17:48
- vince06fr
Besoin d'aide pour compiler la version SVN de digikam
Bonjour à tous, interessé par le developpement de ce projet j'ai tenté de compiler la version SVN de digikam en suivant lesexplications du site officiel, mais seul les kipiplugins sont compilés...
je ne sais pas trop ou je me plante, voici le retour de la compil dans le terminal :
/opt/photos/graphics/build$ cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ..
-- Found Qt-Version 4.6.2 (using /usr/bin/qmake)
-- Found X11: /usr/lib/libX11.so
-- Phonon Version: 4.3.80
-- Found KDE 4.4 include dir: /usr/include
-- Found KDE 4.4 library dir: /usr/lib
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- Found Freetype: -lfreetype -lz
-- Could NOT find Boost
CMake Warning at /usr/share/kde4/apps/cmake/modules/MacroOptionalFindPackage.cmake:19 (find_package):
Could not find module FindIMLIB.cmake or a configuration file for package
IMLIB.
Adjust CMAKE_MODULE_PATH to find FindIMLIB.cmake or set IMLIB_DIR to the
directory containing a CMake configuration file for IMLIB. The file will
have one of the following names:
IMLIBConfig.cmake
imlib-config.cmake
Call Stack (most recent call first):
CMakeLists.txt:21 (macro_optional_find_package)
-- Found libksane: /usr/lib/libksane.so
-- Found Kexiv2 library in cache: /usr/lib/libkexiv2.so
-- Found Kdcraw library in cache: /usr/lib/libkdcraw.so
-- Found Kipi library in cache: /usr/lib/libkipi.so
-- checking for modules 'libgvc;libcdt;libgraph;libpathplan'
-- package 'libgvc' not found
-- package 'libcdt' not found
-- package 'libgraph' not found
-- package 'libpathplan' not found
CMake Warning (dev) at /usr/share/kde4/apps/cmake/modules/MacroOptionalAddSubdirectory.cmake:38 (ADD_SUBDIRECTORY):
The source directory
/opt/photos/graphics/digikam
does not contain a CMakeLists.txt file.
CMake does not support this case but it used to work accidentally and is
being allowed for compatibility.
Policy CMP0014 is not set: Input directories must have CMakeLists.txt. Run
"cmake --help-policy CMP0014" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
Call Stack (most recent call first):
CMakeLists.txt:50 (macro_optional_add_subdirectory)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found Kexiv2 library in cache: /usr/lib/libkexiv2.so
-- Found Kdcraw library in cache: /usr/lib/libkdcraw.so
-- Found Kipi library in cache: /usr/lib/libkipi.so
-- OpenCV root directory: OpenCV_ROOT_DIR-NOTFOUND
-- OpenCV component CV not found!
OpenCV_CV_INCLUDE_DIR=OpenCV_CV_INCLUDE_DIR-NOTFOUND
OpenCV_CV_LIBRARY=OpenCV_CV_LIBRARY-NOTFOUND
-- OpenCV component CXCORE not found!
OpenCV_CXCORE_INCLUDE_DIR=OpenCV_CXCORE_INCLUDE_DIR-NOTFOUND
OpenCV_CXCORE_LIBRARY=OpenCV_CXCORE_LIBRARY-NOTFOUND
-- OpenCV component CVAUX not found!
OpenCV_CVAUX_INCLUDE_DIR=OpenCV_CVAUX_INCLUDE_DIR-NOTFOUND
OpenCV_CVAUX_LIBRARY=OpenCV_CVAUX_LIBRARY-NOTFOUND
-- OpenCV component HIGHGUI not found!
OpenCV_HIGHGUI_INCLUDE_DIR=OpenCV_HIGHGUI_INCLUDE_DIR-NOTFOUND
OpenCV_HIGHGUI_LIBRARY=OpenCV_HIGHGUI_LIBRARY-NOTFOUND
-- OpenCV Include Directory:
-- OpenCV Libraries:
-- Warning: OpenCV was not found.
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- Found GObject libraries: /usr/lib/libgobject-2.0.so;/usr/lib/libgmodule-2.0.so;/usr/lib/libgthread-2.0.so;/usr/lib/libglib-2.0.so
-- Found GObject includes : /usr/include/glib-2.0/gobject
-- Found libksane: /usr/lib/libksane.so
-- Found X11: /usr/lib/libX11.so
-- CMake version: cmake version 2.8.0
-- CMake version (cleaned): cmake version 2.8.0
--
-- ----------------------------------------------------------------------------------
-- kipi-plugins 1.2.0 dependencies results <http://www.kipi-plugins.org>
--
-- libjpeg library found.................... YES
-- libtiff library found.................... YES
-- libpng library found..................... YES
-- libkipi library found.................... YES
-- libkexiv2 library found.................. YES
-- libkdcraw library found.................. YES
-- libxml2 library found.................... YES (optional)
-- libxslt library found.................... YES (optional)
-- libexpat library found................... YES (optional)
-- native threads support library found..... YES (optional)
-- libopengl library found.................. YES (optional)
-- libopencv library found.................. NO (optional)
-- libgpod library found.................... YES (optional)
-- Gdk library found........................ YES (optional)
-- libkdepim library found.................. YES (optional)
-- qca2 library found....................... YES (optional)
-- libkdcraw >= 1.0.0 library found......... YES (optional)
-- OpenMP library found..................... YES (optional)
-- libX11 library found..................... YES (optional)
-- libksane library found................... YES (optional)
--
-- kipi-plugins will be compiled............ YES
-- Shwup will be compiled................... YES (optional)
-- HtmlExport will be compiled.............. YES (optional)
-- AdvancedSlideshow will be compiled....... YES (optional)
-- ImageViewer will be compiled............. YES (optional)
-- AcquireImages will be compiled........... YES (optional)
-- DNGConverter will be compiled............ YES (optional)
-- RemoveRedEyes will be compiled........... NO (optional - Look README file for more details about dependencies)
-- IpodExport will be compiled.............. YES (optional)
-- Calendar will be compiled................ YES (optional)
-- ExposureBlending will be compiled........ YES (optional)
-- ----------------------------------------------------------------------------------
--
-- Boost was not found, cannot build kgraphviewer
-----------------------------------------------------------------------------
-- The following external packages were located on your system.
-- This installation will have the extra features provided by these packages.
-----------------------------------------------------------------------------
* libopengl - OpenGL lib is needed to build the kpovmodeler project
-----------------------------------------------------------------------------
-- The following OPTIONAL packages could NOT be located on your system.
-- Consider installing them to enable more features from this software.
-----------------------------------------------------------------------------
* imlib <http://freshmeat.net/projects/imlib/>
imlib is needed to build kuickshow project
-----------------------------------------------------------------------------
-- Configuring done
-- Generating done
-- Build files have been written to: /opt/photos/graphics/build
vince@Jimmy:/opt/photos/graphics/build$
Dernière modification par vince06fr (Le 09/03/2010, à 17:48)
Hors ligne
#2 Le 10/03/2010, à 13:52
- stephane_68
Re : Besoin d'aide pour compiler la version SVN de digikam
Bonjour,
J'aurai d'abord une question qui est pourquoi tu cherches à le compiler ? Qu'est-ce qui ne te vas pas dans la version binaire ?
Ensuite pour ta compilation, je ne connais pas trop digikam, mais en regardant le log on voit qu'il te manque des dépendances.
Sur le README j'ai vu que tu pouvais installer les dépendances comme-ceci :
sudo apt-get build-dep digikam
sudo apt-get build-dep kipi-plugins
Attention pour la version svn, il se peut qu'il manque encore quelques dépendances.
Sinon, tu peux essayer de compiler la version tarball, qui est peut-être plus facile à compiler.
Hors ligne
#3 Le 10/03/2010, à 20:20
- vince06fr
Re : Besoin d'aide pour compiler la version SVN de digikam
Oui d'apres ce que j'ai reussis à comprendre il me manque boost que je ne sais pas ou trouver et les modules libgvc libcdt libgraph libpathplan que je ne sais pas non plus comment installer
Comme je l'ai dis il s'agissait de tester la version SVN, mon but est de tester les nouveautés e de faire des rapports de bugs.
La version en binaire me suffit bien sur en production mais je suis le projet digikam et ait envie d'apporter ma modeste contribution, quand à la version tarball c'est la même que le binaire, et j'ai réussis effectivement à la compiler..
Hors ligne