[Digikam-devel] Re: Compilation Fails

kunal ghosh kunal.t2 at gmail.com
Fri Apr 1 12:59:19 BST 2011


akshay,
I think you need to get the OpenCV development headers. You could try
installing opencv from sources.

On Fri, Apr 1, 2011 at 5:25 PM, akshay khatri <akshaykhatri161 at gmail.com> wrote:
> That did the trick to atleast finish the cmake proporly but I get this error
> now when I do a make:
> /home/akshay/digikam-sc/extra/libkface/libkface/kfaceutils.cpp:48:28: error:
> opencv/highgui.h: No such file or directory
> make[2]: *** [extra/libkface/libkface/CMakeFiles/kface.dir/kfaceutils.cpp.o]
> Error 1
> make[1]: *** [extra/libkface/libkface/CMakeFiles/kface.dir/all] Error 2
> make: *** [all] Error 2
>
> On 1 April 2011 17:20, akshay khatri <akshaykhatri161 at gmail.com> wrote:
>>
>>
>> On 1 April 2011 17:15, Gilles Caulier <caulier.gilles at gmail.com> wrote:
>>>
>>> CMake Error at extra/libkmap/CMakeLists.txt:41 (FIND_PACKAGE):
>>>  Could not find module FindMarbleWidget.cmake or a configuration file for
>>>  package MarbleWidget.
>>>
>>> ==> install marble widget. Look kde-edu project.
>>
>> Why is that a necessary dependency ? I didn't see that dependency on the
>> wiki
>>>
>>> Gilles  Caulier
>>>
>>> 2011/4/1 akshay khatri <akshaykhatri161 at gmail.com>:
>>> > Hi, I am compiling digikam from sources, but when I perform a cmake, I
>>> > get
>>> > an error at the end "Configuring incomplete, errors occurred! "
>>> > I am using Debian 6.
>>> > What should I do ?
>>> > the output of cmake is
>>> >
>>> > -- The C compiler identification is GNU
>>> > -- The CXX compiler identification is GNU
>>> > -- Check for working C compiler: /usr/bin/gcc
>>> > -- Check for working C compiler: /usr/bin/gcc -- works
>>> > -- Detecting C compiler ABI info
>>> > -- Detecting C compiler ABI info - done
>>> > -- Check for working CXX compiler: /usr/bin/c++
>>> > -- Check for working CXX compiler: /usr/bin/c++ -- works
>>> > -- Detecting CXX compiler ABI info
>>> > -- Detecting CXX compiler ABI info - done
>>> > -- Looking for Q_WS_X11
>>> > -- Looking for Q_WS_X11 - found
>>> > -- Looking for Q_WS_WIN
>>> > -- Looking for Q_WS_WIN - not found.
>>> > -- Looking for Q_WS_QWS
>>> > -- Looking for Q_WS_QWS - not found.
>>> > -- Looking for Q_WS_MAC
>>> > -- Looking for Q_WS_MAC - not found.
>>> > -- Found Qt-Version 4.6.3 (using /usr/bin/qmake-qt4)
>>> > -- Looking for XOpenDisplay in
>>> >
>>> > /usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libXft.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so;/usr/lib/libXpm.so
>>> > -- Looking for XOpenDisplay in
>>> >
>>> > /usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libXft.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so;/usr/lib/libXpm.so
>>> > - found
>>> > -- Looking for gethostbyname
>>> > -- Looking for gethostbyname - found
>>> > -- Looking for connect
>>> > -- Looking for connect - found
>>> > -- Looking for remove
>>> > -- Looking for remove - found
>>> > -- Looking for shmat
>>> > -- Looking for shmat - found
>>> > -- Looking for IceConnectionNumber in ICE
>>> > -- Looking for IceConnectionNumber in ICE - found
>>> > -- Found X11: /usr/lib/libX11.so
>>> > -- Looking for include files CMAKE_HAVE_PTHREAD_H
>>> > -- Looking for include files CMAKE_HAVE_PTHREAD_H - found
>>> > -- Looking for pthread_create in pthreads
>>> > -- Looking for pthread_create in pthreads - not found
>>> > -- Looking for pthread_create in pthread
>>> > -- Looking for pthread_create in pthread - found
>>> > -- Found Threads: TRUE
>>> > -- Looking for _POSIX_TIMERS
>>> > -- Looking for _POSIX_TIMERS - found
>>> > -- Found Automoc4: /usr/bin/automoc4
>>> > -- Found Perl: /usr/bin/perl
>>> > -- Phonon Version: 4.4.2
>>> > -- Found Phonon: /usr/lib/libphonon.so
>>> > -- Found Phonon Includes: /usr/include/KDE;/usr/include
>>> > -- Performing Test _OFFT_IS_64BIT
>>> > -- Performing Test _OFFT_IS_64BIT - Success
>>> > -- Performing Test HAVE_FPIE_SUPPORT
>>> > -- Performing Test HAVE_FPIE_SUPPORT - Success
>>> > -- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL
>>> > -- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL - Success
>>> > -- Performing Test __KDE_HAVE_GCC_VISIBILITY
>>> > -- Performing Test __KDE_HAVE_GCC_VISIBILITY - Success
>>> > -- 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
>>> > --
>>> >
>>> > ----------------------------------------------------------------------------------
>>> > -- Starting CMake configuration for: libksane
>>> > -- Found Sane: /usr/include
>>> > --
>>> >
>>> > ----------------------------------------------------------------------------------
>>> > -- Starting CMake configuration for: libkipi
>>> > --
>>> >
>>> > ----------------------------------------------------------------------------------
>>> > -- Starting CMake configuration for: libkexiv2
>>> > -- WARNING: you are using the obsolete 'PKGCONFIG' macro use
>>> > FindPkgConfig
>>> > -- Found Exiv2 release >= 0.20
>>> > -- Found Exiv2: /usr/lib/libexiv2.so
>>> >
>>> > -----------------------------------------------------------------------------
>>> > -- The following external packages were located on your system.
>>> > -- This installation will have the extra features provided by these
>>> > packages.
>>> >
>>> > -----------------------------------------------------------------------------
>>> >    * Exiv2 - A library to access image metadata
>>> >
>>> > -----------------------------------------------------------------------------
>>> > -- Congratulations! All external packages have been found.
>>> >
>>> > -----------------------------------------------------------------------------
>>> > --
>>> >
>>> > ----------------------------------------------------------------------------------
>>> > -- Starting CMake configuration for: libkdcraw
>>> > -- checking for module 'lcms'
>>> > --   found lcms, version 1.18
>>> > -- Found lcms version 1.18, /usr/lib/liblcms.so
>>> > -- Found JPEG: /usr/lib/libjpeg.so
>>> > -- Try OpenMP C flag = [-fopenmp]
>>> > -- Performing Test OpenMP_FLAG_DETECTED
>>> > -- Performing Test OpenMP_FLAG_DETECTED - Success
>>> > -- Try OpenMP CXX flag = [-fopenmp]
>>> > -- Performing Test OpenMP_FLAG_DETECTED
>>> > -- Performing Test OpenMP_FLAG_DETECTED - Success
>>> > -- Found OpenMP: -fopenmp
>>> > --
>>> >
>>> > ----------------------------------------------------------------------------------
>>> > -- Starting CMake configuration for: libkface
>>> > -- Found Qt-Version 4.6.3 (using /usr/bin/qmake-qt4)
>>> > -- Found X11: /usr/lib/libX11.so
>>> > -- First try at finding OpenCV...
>>> > -- Great, found OpenCV on the first try.
>>> > -- External libface was not found, use internal version instead...
>>> > --
>>> >
>>> > ----------------------------------------------------------------------------------
>>> > -- Starting CMake configuration for: libkmap
>>> > -- Found Qt-Version 4.6.3 (using /usr/bin/qmake-qt4)
>>> > -- Found X11: /usr/lib/libX11.so
>>> > CMake Error at extra/libkmap/CMakeLists.txt:41 (FIND_PACKAGE):
>>> >   Could not find module FindMarbleWidget.cmake or a configuration file
>>> > for
>>> >   package MarbleWidget.
>>> >   Adjust CMAKE_MODULE_PATH to find FindMarbleWidget.cmake or set
>>> >   MarbleWidget_DIR to the directory containing a CMake configuration
>>> > file
>>> > for
>>> >   MarbleWidget.  The file will have one of the following names:
>>> >     MarbleWidgetConfig.cmake
>>> >     marblewidget-config.cmake
>>> >
>>> >
>>> > -- Check Kexiv2 library in local sub-folder...
>>> > -- Found Kexiv2 library in local sub-folder:
>>> > /home/akshay/digikam-sc/extra/libkexiv2
>>> > -- kexiv2 found, the demo application will be compiled.
>>> > -- Looking for valgrind/valgrind.h
>>> > -- Looking for valgrind/valgrind.h - found
>>> > --
>>> >
>>> > ----------------------------------------------------------------------------------
>>> > -- Starting CMake configuration for: libmediawiki
>>> > --
>>> >
>>> > ----------------------------------------------------------------------------------
>>> > -- Starting CMake configuration for: kipi-plugins
>>> > -- Check Kexiv2 library in local sub-folder...
>>> > -- Found Kexiv2 library in local sub-folder:
>>> > /home/akshay/digikam-sc/extra/libkexiv2
>>> > -- Check for Kdcraw library in local sub-folder...
>>> > -- Found Kdcraw library in local sub-folder:
>>> > /home/akshay/digikam-sc/extra/libkdcraw
>>> > -- Check Kipi library in local sub-folder...
>>> > -- Found Kipi library in local sub-folder:
>>> > /home/akshay/digikam-sc/extra/libkipi
>>> > -- Found ZLIB: /usr/include
>>> > -- Found PNG: /usr/lib/libpng.so
>>> > -- Found TIFF: /usr/local/lib/libtiff.so
>>> > -- libkdcraw: Found version 2.0.0 (required: 1.1.0)
>>> > -- Found EXPAT: /usr/lib/libexpat.so
>>> > --   found libxml-2.0, version 2.7.8
>>> > -- Found LibXml2: /usr/lib/libxml2.so
>>> > --   found libxslt, version 1.1.26
>>> > -- Found LibXslt: /usr/lib/libxslt.so
>>> > -- checking for one of the modules 'libgpod-1.0'
>>> > -- libgpod dir:
>>> > -- libgpod lib:
>>> > -- libgpod def:
>>> > -- libgpod ver:
>>> > -- checking for module 'gdk-pixbuf-2.0'
>>> > --   package 'gdk-pixbuf-2.0' not found
>>> > -- Could NOT find Gdk  (missing:  GDK_INCLUDE_DIR GDK_LIBRARIES)
>>> > -- WARNING: you are using the obsolete 'PKGCONFIG' macro use
>>> > FindPkgConfig
>>> > -- Found GLIB2: /usr/lib/libglib-2.0.so
>>> > -- checking for module 'gobject-2.0'
>>> > --   found gobject-2.0, version 2.24.2
>>> > -- 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 KdepimLibs: /usr/lib/cmake/KdepimLibs/KdepimLibsConfig.cmake
>>> > --   found qca2, version 2.0.2
>>> > -- Found QCA2: /usr/lib/libqca.so
>>> > -- Found libksane: /usr/lib/libksane.so
>>> > -- checking for module 'QJson>=0.5'
>>> > --   found QJson, version 0.7.1
>>> > -- Found QJSON: /usr/lib/libqjson.so
>>> > -- Check for Kmap library in local sub-folder...
>>> > -- Found Kmap library in local sub-folder:
>>> > /home/akshay/digikam-sc/extra/libkmap
>>> > -- Check Mediawiki library in local sub-folder...
>>> > -- Found Mediawiki library in local sub-folder:
>>> > /home/akshay/digikam-sc/extra/libmediawiki
>>> > -- libkmap: Found version 2.0.0
>>> > -- Found X11: /usr/lib/libX11.so
>>> > -- CMake version: cmake version 2.8.2
>>> > -- CMake version (cleaned): cmake version 2.8.2
>>> > --
>>> > --
>>> >
>>> > ----------------------------------------------------------------------------------
>>> > --  kipi-plugins 2.0.0-beta5 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)
>>> > --  Qt4 OpenGL module found.................. YES
>>> > --  libopencv library found.................. YES (optional)
>>> > --  QJson library found...................... YES (optional)
>>> > --  libgpod library found.................... NO  (optional)
>>> > --  Gdk library found........................ NO  (optional)
>>> > --  libkdepim library found.................. YES (optional)
>>> > --  qca2 library found....................... YES (optional)
>>> > --  libkmap library found.................... YES (optional)
>>> > --  libmediawiki 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)
>>> > --  YandexFotki 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........... YES (optional)
>>> > --  Debian Screenshots will be compiled...... YES (optional)
>>> > --  IpodExport will be compiled.............. NO  (optional - Look
>>> > README
>>> > file for more details about dependencies)
>>> > --  Calendar will be compiled................ YES (optional)
>>> > --  GPSSync will be compiled................. YES (optional)
>>> > --  Mediawiki will be compiled............... YES (optional)
>>> > --
>>> >
>>> > ----------------------------------------------------------------------------------
>>> > --
>>> > -- Check if the system is big endian
>>> > -- Searching 16 bit integer
>>> > -- Looking for sys/types.h
>>> > -- Looking for sys/types.h - found
>>> > -- Looking for stdint.h
>>> > -- Looking for stdint.h - found
>>> > -- Looking for stddef.h
>>> > -- Looking for stddef.h - found
>>> > -- Check size of unsigned short
>>> > -- Check size of unsigned short - done
>>> > -- Using unsigned short
>>> > -- Check if the system is big endian - little endian
>>> > --
>>> >
>>> > ----------------------------------------------------------------------------------
>>> > -- Starting CMake configuration for: digikam
>>> > -- Found Qt-Version 4.6.3 (using /usr/bin/qmake-qt4)
>>> > -- Found X11: /usr/lib/libX11.so
>>> > -- Phonon Version: 4.4.2
>>> > -- 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 lcms version 1.18, /usr/lib/liblcms.so
>>> > -- Found Jasper: /usr/lib/libjasper.so
>>> > -- Check for Kdcraw library in local sub-folder...
>>> > -- Found Kdcraw library in local sub-folder:
>>> > /home/akshay/digikam-sc/extra/libkdcraw
>>> > -- Check Kexiv2 library in local sub-folder...
>>> > -- Found Kexiv2 library in local sub-folder:
>>> > /home/akshay/digikam-sc/extra/libkexiv2
>>> > -- Check Kipi library in local sub-folder...
>>> > -- Found Kipi library in local sub-folder:
>>> > /home/akshay/digikam-sc/extra/libkipi
>>> > -- Check Kface library in local sub-folder...
>>> > -- Found Kface library in local sub-folder:
>>> > /home/akshay/digikam-sc/extra/libkface
>>> > -- Check for Kmap library in local sub-folder...
>>> > -- Found Kmap library in local sub-folder:
>>> > /home/akshay/digikam-sc/extra/libkmap
>>> > -- checking for module 'libpgf'
>>> > --   package 'libpgf' not found
>>> > -- Could NOT find any working clapack installation
>>> > -- Boost version: 1.42.0
>>> > -- Identified libjpeg version: 62
>>> > -- Found MySQL server executable at: /usr/sbin/mysqld
>>> > -- Found MySQL install_db executable at: /usr/bin/mysql_install_db
>>> > -- libkdcraw: Found version 2.0.0 (required: 2.0.0)
>>> > -- libkmap: Found version 2.0.0
>>> > -- Found gphoto2: -L/usr/lib -lgphoto2_port;-L/usr/lib -lgphoto2
>>> > -lgphoto2_port -lm
>>> > -- WARNING: you are using the obsolete 'PKGCONFIG' macro use
>>> > FindPkgConfig
>>> > -- WARNING: you are using the obsolete 'PKGCONFIG' macro use
>>> > FindPkgConfig
>>> > -- PKGCONFIG() indicates that lensfun is not installed (install the
>>> > package
>>> > which contains lensfun.pc if you want to support this feature)
>>> > -- Could NOT find LensFun  (missing:  LENSFUN_INCLUDE_DIRS
>>> > LENSFUN_LIBRARIES)
>>> > -- WARNING: you are using the obsolete 'PKGCONFIG' macro use
>>> > FindPkgConfig
>>> > -- PKGCONFIG() indicates that lqr-1 is not installed (install the
>>> > package
>>> > which contains lqr-1.pc if you want to support this feature)
>>> > -- Could NOT find Lqr-1  (missing:  LQR-1_INCLUDE_DIRS LQR-1_LIBRARIES)
>>> > -- Found Soprano: /usr/include
>>> > -- Found SharedDesktopOntologies: /usr/share/ontology
>>> > -- Found Nepomuk: /usr/lib/libnepomuk.so
>>> > -- Found Doxygen: /usr/bin/doxygen
>>> > --
>>> > --
>>> >
>>> > ----------------------------------------------------------------------------------
>>> > --  digiKam 2.0.0-beta5 dependencies results   <http://www.digikam.org>
>>> > --
>>> > --  Qt4 SQL module found..................... YES
>>> > --  Qt4 SCRIPT module found.................. YES
>>> > --  Qt4 SCRIPTTOOLS module found............. YES
>>> > --  MySQL Server found....................... YES
>>> > --  MySQL install_db tool found.............. YES
>>> > --  libtiff library found.................... YES
>>> > --  libpng library found..................... YES
>>> > --  libjasper library found.................. YES
>>> > --  liblcms library found.................... YES
>>> > --  Boost Graph library found................ YES
>>> > --  libkipi library found.................... YES
>>> > --  libkexiv2 library found.................. YES
>>> > --  libkdcraw library found.................. YES
>>> > --  libkface library found................... YES
>>> > --  libkmap library found.................... YES
>>> > --  libpgf library found..................... NO  (optional - internal
>>> > version used instead)
>>> > --  libclapack library found................. NO  (optional - internal
>>> > version used instead)
>>> > --  libgphoto2 library found................. YES (optional)
>>> > --  libkdepimlibs library found.............. YES (optional)
>>> > --  Nepomuk libraries found.................. YES (optional)
>>> > --  libglib2 library found................... YES (optional)
>>> > --  liblqr-1 library found................... NO  (optional - internal
>>> > version used instead)
>>> > --  liblensfun library found................. NO  (optional - internal
>>> > version used instead)
>>> > --  Doxygen found............................ YES (optional)
>>> > --  digiKam can be compiled.................. YES
>>> > --
>>> >
>>> > ----------------------------------------------------------------------------------
>>> > --
>>> > -- Adjusting compilation flags for GCC version ( 4.4.5 )
>>> > -- Found Qt-Version 4.6.3 (using /usr/bin/qmake-qt4)
>>> > -- Found X11: /usr/lib/libX11.so
>>> > -- Phonon Version: 4.4.2
>>> > -- 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 Qt-Version 4.6.3 (using /usr/bin/qmake-qt4)
>>> > -- Found X11: /usr/lib/libX11.so
>>> > -- Phonon Version: 4.4.2
>>> > -- 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 Qt-Version 4.6.3 (using /usr/bin/qmake-qt4)
>>> > -- Found X11: /usr/lib/libX11.so
>>> > -- Phonon Version: 4.4.2
>>> > -- 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
>>> > -- Configuring incomplete, errors occurred!
>>> >
>>> >
>>> > _______________________________________________
>>> > Digikam-devel mailing list
>>> > Digikam-devel at kde.org
>>> > https://mail.kde.org/mailman/listinfo/digikam-devel
>>> >
>>> >
>>> _______________________________________________
>>> Digikam-devel mailing list
>>> Digikam-devel at kde.org
>>> https://mail.kde.org/mailman/listinfo/digikam-devel
>>
>
>
> _______________________________________________
> Digikam-devel mailing list
> Digikam-devel at kde.org
> https://mail.kde.org/mailman/listinfo/digikam-devel
>
>



-- 
regards
-------
Kunal Ghosh
Dept of Computer Sc. & Engineering.
Sir MVIT
Bangalore,India

permalink: member.acm.org/~kunal.t2
Blog:kunalghosh.wordpress.com
Website:www.kunalghosh.net46.net



More information about the Digikam-devel mailing list