[Digikam-users] Digikam in Mac - compilation problem
Gilles Caulier
caulier.gilles at gmail.com
Mon Jan 21 14:13:42 GMT 2013
This problem have been already reported recently in this mailing list.
Problem have been fixed in git/master code. If you have tried to compile
3.0.0-RC tarball, you must want to way next 3.0.0 offcial release, in few
days...
Gilles Caulier
2013/1/18 Kayo Hisatomi <khisatomi at yahoo.com>
> Hi All,
>
> I've been trying to compile Digikam in a mac with Mountain Lion (10.8.2)
> without success. I believe the problem is simple, but I could not find a
> way to solve it. The last lines of the bootstrap execution say:
>
> -- Check if the system is big endian - little endian
> CMake Error at extra/kipi-plugins/panorama/CMakeLists.txt:10
> (FLEX_TARGET):
> Unknown CMake command "FLEX_TARGET".
> -- Configuring incomplete, errors occurred!
>
> Initially I thought the problem was the lack of flex/bison, but they were
> found in the system as the log below shows.
>
> Can someone give me a hint?
>
> Thank you very much.
> khisatomi
>
> -------
> Complete log
> -------
>
> Installing to /opt/local for target x86_64 with build mode debugfull
> -- The C compiler identification is Clang 4.0.0
> -- The CXX compiler identification is Clang 4.0.0
> -- Check for working C compiler: /usr/bin/cc
> -- Check for working C compiler: /usr/bin/cc -- 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 - not 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 - found
> -- Looking for QT_MAC_USE_COCOA
> -- Looking for QT_MAC_USE_COCOA - found
> -- Found Qt-Version 4.8.4
> -- -> QT_QMAKE_EXECUTABLE is /opt/local/bin/qmake
> -- -> QT_INCLUDE_DIR is /opt/local/include
> -- -> QT_QTCORE_INCLUDE_DIR is /opt/local/include/QtCore
> -- -> QT_BINARY_DIR is /opt/local/bin
> -- -> QT_LIBRARY_DIR is /opt/local/lib
> -- -> QT_PLUGINS_DIR is /opt/local/share/qt4/plugins
> -- -> QT_MKSPECS_DIR is /opt/local/share/qt4/mkspecs
> -- Looking for include file pthread.h
> -- Looking for include file pthread.h - found
> -- Looking for pthread_create
> -- Looking for pthread_create - found
> -- Found Threads: TRUE
> -- Found OpenSSL: /opt/local/lib/libssl.dylib
> -- Found Automoc4: /opt/local/bin/automoc4
> -- Found Perl: /opt/local/bin/perl (found version "5.12.4")
> -- Looking for Phonon
> -- -> KDE4_INCLUDE_INSTALL_DIR is /opt/local/include
> -- -> KDE4_LIB_INSTALL_DIR is /opt/local/lib
> -- -> INCLUDE_INSTALL_DIR is
> -- -> QT_LIBRARY_DIR is /opt/local/lib
> -- -> QT_INCLUDE_DIR is /opt/local/include
> -- Results of Search for Phonon
> -- -> PHONON_VERSION is 4.6.0
> -- -> PHONON_INCLUDE_DIR is /opt/local/include
> -- -> PHONON_LIBRARY is /opt/local/lib/libphonon.dylib
> -- Found Phonon: /opt/local/include
> -- Performing Test _OFFT_IS_64BIT
> -- Performing Test _OFFT_IS_64BIT - Success
> -- Found KDE 4.9 include dir: /opt/local/include
> -- Found KDE 4.9 library dir: /opt/local/lib
> -- Found the KDE4 kconfig_compiler preprocessor:
> /opt/local/bin/kconfig_compiler
> -- Found automoc4: /opt/local/bin/automoc4
> -- /Users/buran/taskdir/tech/digikam_source/digikam-sc/po/ dir do not
> exists. Translations compilation disabled...
> -- You can use DIGIKAMSC_CHECKOUT_PO option to extract po files from KDE
> repositories.
> -- Local kdegraphics libraries will be compiled... YES
> -- Handbooks will be compiled..................... YES
> -- Extract translations files..................... NO
> -- Translations will be compiled.................. NO
> --
> ----------------------------------------------------------------------------------
> -- Starting CMake configuration for: libksane
> -- Found Sane: /opt/local/lib/libsane.dylib
>
>
> -----------------------------------------------------------------------------
> -- The following external packages were located on your system.
> -- This installation will have the extra features provided by these
> packages.
>
> -----------------------------------------------------------------------------
> * SANE development toolkit - Scanner Access Now Easy (SANE) development
> package
>
>
> -----------------------------------------------------------------------------
> -- Congratulations! All external packages have been found.
>
> -----------------------------------------------------------------------------
>
> --
> ----------------------------------------------------------------------------------
> -- Starting CMake configuration for: libkipi
> --
> ----------------------------------------------------------------------------------
> -- Starting CMake configuration for: libkexiv2
> -- Found Exiv2: /opt/local/lib/libexiv2.dylib (found version "0.23.0",
> required is "0.21")
>
>
> -----------------------------------------------------------------------------
> -- The following external packages were located on your system.
> -- This installation will have the extra features provided by these
> packages.
>
> -----------------------------------------------------------------------------
> * Exiv2 - Required to build libkexiv2.
>
>
> -----------------------------------------------------------------------------
> -- Congratulations! All external packages have been found.
>
> -----------------------------------------------------------------------------
>
> --
> ----------------------------------------------------------------------------------
> -- Starting CMake configuration for: libkdcraw
> -- Check for LCMS2 availability...
> -- checking for module 'lcms2'
> -- found lcms2, version 2.4
> -- Found lcms version 2.04, /opt/local/lib/liblcms2.dylib
> -- Found LCMS2: /opt/local/lib/liblcms2.dylib /opt/local/include
> -- Found JPEG: /opt/local/lib/libjpeg.dylib
> -- Found Jasper: /opt/local/lib/libjasper.dylib (found version "1.900.1")
> -- Found LibXml2: /opt/local/lib/libxml2.dylib
> -- Found Pthreads: /usr/lib/libpthread.dylib
> -- LibRaw will not be compiled with RawSpeed codec
>
>
> -----------------------------------------------------------------------------
> -- The following external packages were located on your system.
> -- This installation will have the extra features provided by these
> packages.
>
> -----------------------------------------------------------------------------
> * LCMS2 - A small-footprint color management engine
> * libjpeg - JPEG image format support
>
>
> -----------------------------------------------------------------------------
> -- Congratulations! All external packages have been found.
>
> -----------------------------------------------------------------------------
>
> --
> ----------------------------------------------------------------------------------
> -- Starting CMake configuration for: libmediawiki
> -- checking for module 'QJson>=0.7'
> -- found QJson, version 0.7.1
> -- Found QJSON: /opt/local/lib/libqjson.dylib (found version "0.7.1",
> required is "0.7")
>
>
> -----------------------------------------------------------------------------
> -- The following external packages were located on your system.
> -- This installation will have the extra features provided by these
> packages.
>
> -----------------------------------------------------------------------------
> * QJSON - Qt library for handling JSON data
>
>
> -----------------------------------------------------------------------------
> -- Congratulations! All external packages have been found.
>
> -----------------------------------------------------------------------------
>
> --
> ----------------------------------------------------------------------------------
> -- Starting CMake configuration for: libkgeomap
> -- Found Qt-Version 4.8.4
> -- -> QT_QMAKE_EXECUTABLE is /opt/local/bin/qmake
> -- -> QT_INCLUDE_DIR is /opt/local/include
> -- -> QT_QTCORE_INCLUDE_DIR is /opt/local/include/QtCore
> -- -> QT_BINARY_DIR is /opt/local/bin
> -- -> QT_LIBRARY_DIR is /opt/local/lib
> -- -> QT_PLUGINS_DIR is /opt/local/share/qt4/plugins
> -- -> QT_MKSPECS_DIR is /opt/local/share/qt4/mkspecs
> -- Found marble: /opt/local/include
> -- Check Kexiv2 library in local sub-folder...
> -- Found Kexiv2 library in local sub-folder:
> /Users/buran/taskdir/tech/digikam_source/digikam-sc/extra/libkexiv2
> -- kexiv2 found, the demo application will be compiled.
> -- Looking for valgrind/valgrind.h
> -- Looking for valgrind/valgrind.h - not found
> --
> ----------------------------------------------------------------------------------
> -- Starting CMake configuration for: libkface
> -- Found Qt-Version 4.8.4
> -- -> QT_QMAKE_EXECUTABLE is /opt/local/bin/qmake
> -- -> QT_INCLUDE_DIR is /opt/local/include
> -- -> QT_QTCORE_INCLUDE_DIR is /opt/local/include/QtCore
> -- -> QT_BINARY_DIR is /opt/local/bin
> -- -> QT_LIBRARY_DIR is /opt/local/lib
> -- -> QT_PLUGINS_DIR is /opt/local/share/qt4/plugins
> -- -> QT_MKSPECS_DIR is /opt/local/share/qt4/mkspecs
> -- First try at finding OpenCV...
> -- Great, found OpenCV on the first try.
> -- OpenCV Root directory is /opt/local/lib/cmake
> -- External libface was not found, use internal version instead...
> --
> ----------------------------------------------------------------------------------
> -- Starting CMake configuration for: kipi-plugins
> -- Kipi library version required : 2.0.0
> -- Check Kipi library in local sub-folder...
> -- Found Kipi library in local sub-folder:
> /Users/buran/taskdir/tech/digikam_source/digikam-sc/extra/libkipi
> -- Kipi library version: 2.0.0
> -- Kipi library SO binary version: 10
> -- libkipi: Found version 2.0.0 (required: 2.0.0)
> -- Check Kexiv2 library in local sub-folder...
> -- Found Kexiv2 library in local sub-folder:
> /Users/buran/taskdir/tech/digikam_source/digikam-sc/extra/libkexiv2
> -- Found ZLIB: /opt/local/lib/libz.dylib (found version "1.2.7")
> -- Found PNG: /opt/local/lib/libpng.dylib (found version "1.5.13")
> -- Found TIFF: /opt/local/lib/libtiff.dylib (found version "3.9.7")
> -- Check for Kdcraw library in local sub-folder...
> -- Found Kdcraw library in local sub-folder:
> /Users/buran/taskdir/tech/digikam_source/digikam-sc/extra/libkdcraw
> -- libkdcraw: Found version 2.2.0 (required: 2.2.0)
> -- Found EXPAT: /opt/local/lib/libexpat.dylib (found version "2.1.0")
> -- Found LibXslt: /opt/local/lib/libxslt.dylib
> -- Found OpenGL: /System/Library/Frameworks/OpenGL.framework
> -- checking for one of the modules 'libgpod-1.0'
> -- Found libgpod-1 0.8.0
> -- libgpod dir:
> /opt/local/include/gpod-1.0;/opt/local/include/glib-2.0;/opt/local/lib/glib-2.0/include;/opt/local/include;/opt/local/include/gdk-pixbuf-2.0;/opt/local/include/libpng15
> -- libgpod lib: gpod;gdk_pixbuf-2.0;gobject-2.0;glib-2.0;intl
> -- libgpod def:
> -D_REENTRANT;-I/opt/local/include/gpod-1.0;-I/opt/local/include/glib-2.0;-I/opt/local/lib/glib-2.0/include;-I/opt/local/include;-I/opt/local/include/gdk-pixbuf-2.0;-I/opt/local/include/libpng15
> -- libgpod ver: 0.8.0
> -- checking for module 'gdk-pixbuf-2.0'
> -- found gdk-pixbuf-2.0, version 2.26.5
> -- Found Gdk: /opt/local/include/gdk-pixbuf-2.0
> -- Found GLIB2: /opt/local/lib/libglib-2.0.dylib
> -- checking for module 'gobject-2.0'
> -- found gobject-2.0, version 2.34.3
> -- Found GOBJECT:
> /opt/local/lib/libgobject-2.0.dylib;/opt/local/lib/libgmodule-2.0.dylib;/opt/local/lib/libgthread-2.0.dylib;/opt/local/lib/libglib-2.0.dylib
> -- Found KdepimLibs:
> /opt/local/lib/cmake/KdepimLibs/KdepimLibsConfig.cmake
> -- Found QCA2: /opt/local/lib/libqca.dylib
> -- Check for Ksane library in local sub-folder...
> -- Found Ksane library in local sub-folder:
> /Users/buran/taskdir/tech/digikam_source/digikam-sc/extra/libksane
> -- Check for KGeoMap library in local sub-folder...
> -- Found KGeoMap library in local sub-folder:
> /Users/buran/taskdir/tech/digikam_source/digikam-sc/extra/libkgeomap
> -- Check Mediawiki library in local sub-folder...
> -- Found Mediawiki library in local sub-folder:
> /Users/buran/taskdir/tech/digikam_source/digikam-sc/extra/libmediawiki
> -- Check Vkontakte library in local sub-folder...
> -- Found Vkontakte library in local sub-folder:
> /Users/buran/taskdir/tech/digikam_source/digikam-sc/extra/libkvkontakte
> -- Found Flex: /opt/local/bin/flex
> -- Found BISON: /opt/local/bin/bison (found version "2.7")
> -- Could NOT find required package HUpnpCore: <http://herqq.org>
> -- Could NOT find required package HUpnpAv: <http://herqq.org>
> -- Found ImageMagick: /opt/local/lib/libMagickCore.dylib (found version
> "6.8.0-7")
> CMake Warning at
> /opt/local/share/apps/cmake/modules/MacroOptionalFindPackage.cmake:32
> (find_package):
> By not providing "FindQtGStreamer.cmake" in CMAKE_MODULE_PATH this
> project
> has asked CMake to find a package configuration file provided by
> "QtGStreamer", but CMake did not find one.
>
> Could not find a package configuration file provided by "QtGStreamer"
> with
> any of the following names:
>
> QtGStreamerConfig.cmake
> qtgstreamer-config.cmake
>
> Add the installation prefix of "QtGStreamer" to CMAKE_PREFIX_PATH or set
> "QtGStreamer_DIR" to a directory containing one of the above files. If
> "QtGStreamer" provides a separate development package or SDK, be sure it
> has been installed.
> Call Stack (most recent call first):
> extra/kipi-plugins/CMakeLists.txt:173 (MACRO_OPTIONAL_FIND_PACKAGE)
>
>
> -- Could NOT find QtKOAuth (missing: QTKOAUTH_LIBRARIES
> QTKOAUTH_INCLUDE_DIR)
> -- libkgeomap: Found version 2.0.0
> -- CMake version: cmake version 2.8.10
>
> -- CMake version (cleaned): cmake version 2.8.10
>
> -- CMake version is too old: cannot detected OpenMP. Some plugins may have
> a weaker performance without OpenMP.
> --
> --
> ----------------------------------------------------------------------------------
> -- kipi-plugins 3.0.0 dependencies results <http://www.digikam.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.................... YES (optional)
> -- Gdk library found........................ YES (optional)
> -- libkdepim library found.................. YES (optional)
> -- qca2 library found....................... YES (optional)
> -- libkgeomap library found................. YES (optional)
> -- libmediawiki library found............... YES (optional)
> -- libkvkontakte library found.............. YES (optional)
> -- libimagemagick library found............. YES (optional)
> -- libqtgstreamer library found............. NO (optional)
> -- QtKOAuth library found................... NO (optional)
> -- OpenMP library found..................... NO (optional)
> -- libksane library found................... YES (optional)
> -- Hupnp library found...................... NO (optional - internal
> version used instead)
> --
> -- 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)
> -- Facebook will be compiled................ YES (optional)
> -- VKontakte will be compiled............... YES (optional)
> -- IpodExport will be compiled.............. YES (optional)
> -- Calendar will be compiled................ YES (optional)
> -- GPSSync will be compiled................. YES (optional)
> -- Mediawiki will be compiled............... YES (optional)
> -- Panorama will be compiled................ YES (optional)
> -- VideoSlideshow will be compiled.......... NO (optional - Look README
> file for more details about dependencies)
> -- Wallpaper will be compiled............... NO (optional - Look README
> file for more details about dependencies)
> --
> ----------------------------------------------------------------------------------
> --
> -- 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
> CMake Error at extra/kipi-plugins/panorama/CMakeLists.txt:10 (FLEX_TARGET):
> Unknown CMake command "FLEX_TARGET".
>
>
> -- Configuring incomplete, errors occurred!
>
>
> _______________________________________________
> Digikam-users mailing list
> Digikam-users at kde.org
> https://mail.kde.org/mailman/listinfo/digikam-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-users/attachments/20130121/27e6a315/attachment.html>
More information about the Digikam-users
mailing list