<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><div><span style="font-size: 12pt; ">Hi All,</span><br></div><div><br></div><div>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:</div><div><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal; "><div style="background-color: transparent; "> -- Check if the system is big endian - little endian</div><div style="background-color: transparent; "> CMake Error at extra/kipi-plugins/panorama/CMakeLists.txt:10 (FLEX_TARGET):</div><div style="background-color: transparent; ">
Unknown CMake command "FLEX_TARGET".</div><div style="background-color: transparent; "> -- Configuring incomplete, errors occurred!</div><div><br></div></div><div>Initially I thought the problem was the lack of flex/bison, but they were found in the system as the log below shows.</div><div><br></div><div>Can someone give me a hint?</div><div><br></div><div>Thank you very much.</div><div>khisatomi</div><div><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal; ">-------</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal; ">Com<span style="background-color: transparent; ">plete log</span></div><div>-------</div><div><br></div><div><div>Installing to /opt/local for target x86_64 with build mode
debugfull</div><div>-- The C compiler identification is Clang 4.0.0</div><div>-- The CXX compiler identification is Clang 4.0.0</div><div>-- Check for working C compiler: /usr/bin/cc</div><div>-- Check for working C compiler: /usr/bin/cc -- works</div><div>-- Detecting C compiler ABI info</div><div>-- Detecting C compiler ABI info - done</div><div>-- Check for working CXX compiler: /usr/bin/c++</div><div>-- Check for working CXX compiler: /usr/bin/c++ -- works</div><div>-- Detecting CXX compiler ABI info</div><div>-- Detecting CXX compiler ABI info - done</div><div>-- Looking for Q_WS_X11</div><div>-- Looking for Q_WS_X11 - not found</div><div>-- Looking for Q_WS_WIN</div><div>-- Looking for Q_WS_WIN - not found</div><div>-- Looking for Q_WS_QWS</div><div>-- Looking for Q_WS_QWS - not found</div><div>-- Looking for Q_WS_MAC</div><div>-- Looking for Q_WS_MAC - found</div><div>-- Looking for QT_MAC_USE_COCOA</div><div>-- Looking for QT_MAC_USE_COCOA -
found</div><div>-- Found Qt-Version 4.8.4</div><div>-- -> QT_QMAKE_EXECUTABLE is /opt/local/bin/qmake</div><div>-- -> QT_INCLUDE_DIR is /opt/local/include</div><div>-- -> QT_QTCORE_INCLUDE_DIR is /opt/local/include/QtCore</div><div>-- -> QT_BINARY_DIR is /opt/local/bin</div><div>-- -> QT_LIBRARY_DIR is /opt/local/lib</div><div>-- -> QT_PLUGINS_DIR is /opt/local/share/qt4/plugins</div><div>-- -> QT_MKSPECS_DIR is /opt/local/share/qt4/mkspecs</div><div>-- Looking for include file pthread.h</div><div>-- Looking for include file pthread.h - found</div><div>-- Looking for pthread_create</div><div>-- Looking for pthread_create - found</div><div>-- Found Threads: TRUE </div><div>-- Found OpenSSL: /opt/local/lib/libssl.dylib</div><div>-- Found Automoc4: /opt/local/bin/automoc4 </div><div>-- Found Perl: /opt/local/bin/perl (found version "5.12.4") </div><div>-- Looking for
Phonon</div><div>-- -> KDE4_INCLUDE_INSTALL_DIR is /opt/local/include</div><div>-- -> KDE4_LIB_INSTALL_DIR is /opt/local/lib</div><div>-- -> INCLUDE_INSTALL_DIR is </div><div>-- -> QT_LIBRARY_DIR is /opt/local/lib</div><div>-- -> QT_INCLUDE_DIR is /opt/local/include</div><div>-- Results of Search for Phonon</div><div>-- -> PHONON_VERSION is 4.6.0</div><div>-- -> PHONON_INCLUDE_DIR is /opt/local/include</div><div>-- -> PHONON_LIBRARY is /opt/local/lib/libphonon.dylib</div><div>-- Found Phonon: /opt/local/include </div><div>-- Performing Test _OFFT_IS_64BIT</div><div>-- Performing Test _OFFT_IS_64BIT - Success</div><div>-- Found KDE 4.9 include dir: /opt/local/include</div><div>-- Found KDE 4.9 library dir: /opt/local/lib</div><div>-- Found the KDE4 kconfig_compiler preprocessor: /opt/local/bin/kconfig_compiler</div><div>-- Found automoc4:
/opt/local/bin/automoc4</div><div>-- /Users/buran/taskdir/tech/digikam_source/digikam-sc/po/ dir do not exists. Translations compilation disabled...</div><div>-- You can use DIGIKAMSC_CHECKOUT_PO option to extract po files from KDE repositories.</div><div>-- Local kdegraphics libraries will be compiled... YES</div><div>-- Handbooks will be compiled..................... YES</div><div>-- Extract translations files..................... NO</div><div>-- Translations will be compiled.................. NO</div><div>-- ----------------------------------------------------------------------------------</div><div>-- Starting CMake configuration for: libksane</div><div>-- Found Sane: /opt/local/lib/libsane.dylib </div><div><br></div><div>-----------------------------------------------------------------------------</div><div>-- The following external packages were located on your system.</div><div>-- This installation will have the extra features provided by
these packages.</div><div>-----------------------------------------------------------------------------</div><div> * SANE development toolkit - Scanner Access Now Easy (SANE) development package</div><div><br></div><div>-----------------------------------------------------------------------------</div><div>-- Congratulations! All external packages have been found.</div><div>-----------------------------------------------------------------------------</div><div><br></div><div>-- ----------------------------------------------------------------------------------</div><div>-- Starting CMake configuration for: libkipi</div><div>-- ----------------------------------------------------------------------------------</div><div>-- Starting CMake configuration for: libkexiv2</div><div>-- Found Exiv2: /opt/local/lib/libexiv2.dylib (found version "0.23.0", required is
"0.21")</div><div><br></div><div>-----------------------------------------------------------------------------</div><div>-- The following external packages were located on your system.</div><div>-- This installation will have the extra features provided by these packages.</div><div>-----------------------------------------------------------------------------</div><div> * Exiv2 - Required to build libkexiv2.</div><div><br></div><div>-----------------------------------------------------------------------------</div><div>-- Congratulations! All external packages have been found.</div><div>-----------------------------------------------------------------------------</div><div><br></div><div>-- ----------------------------------------------------------------------------------</div><div>-- Starting CMake configuration for: libkdcraw</div><div>-- Check for LCMS2 availability...</div><div>-- checking for module 'lcms2'</div><div>-- found
lcms2, version 2.4</div><div>-- Found lcms version 2.04, /opt/local/lib/liblcms2.dylib</div><div>-- Found LCMS2: /opt/local/lib/liblcms2.dylib /opt/local/include</div><div>-- Found JPEG: /opt/local/lib/libjpeg.dylib </div><div>-- Found Jasper: /opt/local/lib/libjasper.dylib (found version "1.900.1") </div><div>-- Found LibXml2: /opt/local/lib/libxml2.dylib </div><div>-- Found Pthreads: /usr/lib/libpthread.dylib</div><div>-- LibRaw will not be compiled with RawSpeed codec</div><div><br></div><div>-----------------------------------------------------------------------------</div><div>-- The following external packages were located on your system.</div><div>-- This installation will have the extra features provided by these packages.</div><div>-----------------------------------------------------------------------------</div><div> * LCMS2 - A small-footprint color management engine</div><div> * libjpeg - JPEG image
format support</div><div><br></div><div>-----------------------------------------------------------------------------</div><div>-- Congratulations! All external packages have been found.</div><div>-----------------------------------------------------------------------------</div><div><br></div><div>-- ----------------------------------------------------------------------------------</div><div>-- Starting CMake configuration for: libmediawiki</div><div>-- checking for module 'QJson>=0.7'</div><div>-- found QJson, version 0.7.1</div><div>-- Found QJSON: /opt/local/lib/libqjson.dylib (found version "0.7.1", required is "0.7")</div><div><br></div><div>-----------------------------------------------------------------------------</div><div>-- The following external packages were located on your system.</div><div>-- This installation will have the extra features provided by these
packages.</div><div>-----------------------------------------------------------------------------</div><div> * QJSON - Qt library for handling JSON data</div><div><br></div><div>-----------------------------------------------------------------------------</div><div>-- Congratulations! All external packages have been found.</div><div>-----------------------------------------------------------------------------</div><div><br></div><div>-- ----------------------------------------------------------------------------------</div><div>-- Starting CMake configuration for: libkgeomap</div><div>-- Found Qt-Version 4.8.4</div><div>-- -> QT_QMAKE_EXECUTABLE is /opt/local/bin/qmake</div><div>-- -> QT_INCLUDE_DIR is /opt/local/include</div><div>-- -> QT_QTCORE_INCLUDE_DIR is /opt/local/include/QtCore</div><div>-- -> QT_BINARY_DIR is /opt/local/bin</div><div>-- -> QT_LIBRARY_DIR is /opt/local/lib</div><div>--
-> QT_PLUGINS_DIR is /opt/local/share/qt4/plugins</div><div>-- -> QT_MKSPECS_DIR is /opt/local/share/qt4/mkspecs</div><div>-- Found marble: /opt/local/include </div><div>-- Check Kexiv2 library in local sub-folder...</div><div>-- Found Kexiv2 library in local sub-folder: /Users/buran/taskdir/tech/digikam_source/digikam-sc/extra/libkexiv2</div><div>-- kexiv2 found, the demo application will be compiled.</div><div>-- Looking for valgrind/valgrind.h</div><div>-- Looking for valgrind/valgrind.h - not found</div><div>-- ----------------------------------------------------------------------------------</div><div>-- Starting CMake configuration for: libkface</div><div>-- Found Qt-Version 4.8.4</div><div>-- -> QT_QMAKE_EXECUTABLE is /opt/local/bin/qmake</div><div>-- -> QT_INCLUDE_DIR is /opt/local/include</div><div>-- -> QT_QTCORE_INCLUDE_DIR is /opt/local/include/QtCore</div><div>-- -> QT_BINARY_DIR is
/opt/local/bin</div><div>-- -> QT_LIBRARY_DIR is /opt/local/lib</div><div>-- -> QT_PLUGINS_DIR is /opt/local/share/qt4/plugins</div><div>-- -> QT_MKSPECS_DIR is /opt/local/share/qt4/mkspecs</div><div>-- First try at finding OpenCV...</div><div>-- Great, found OpenCV on the first try.</div><div>-- OpenCV Root directory is /opt/local/lib/cmake</div><div>-- External libface was not found, use internal version instead...</div><div>-- ----------------------------------------------------------------------------------</div><div>-- Starting CMake configuration for: kipi-plugins</div><div>-- Kipi library version required : 2.0.0</div><div>-- Check Kipi library in local sub-folder...</div><div>-- Found Kipi library in local sub-folder: /Users/buran/taskdir/tech/digikam_source/digikam-sc/extra/libkipi</div><div>-- Kipi library version: 2.0.0</div><div>-- Kipi library SO binary version: 10</div><div>-- libkipi: Found version 2.0.0
(required: 2.0.0)</div><div>-- Check Kexiv2 library in local sub-folder...</div><div>-- Found Kexiv2 library in local sub-folder: /Users/buran/taskdir/tech/digikam_source/digikam-sc/extra/libkexiv2</div><div>-- Found ZLIB: /opt/local/lib/libz.dylib (found version "1.2.7") </div><div>-- Found PNG: /opt/local/lib/libpng.dylib (found version "1.5.13") </div><div>-- Found TIFF: /opt/local/lib/libtiff.dylib (found version "3.9.7") </div><div>-- Check for Kdcraw library in local sub-folder...</div><div>-- Found Kdcraw library in local sub-folder: /Users/buran/taskdir/tech/digikam_source/digikam-sc/extra/libkdcraw</div><div>-- libkdcraw: Found version 2.2.0 (required: 2.2.0)</div><div>-- Found EXPAT: /opt/local/lib/libexpat.dylib (found version "2.1.0") </div><div>-- Found LibXslt: /opt/local/lib/libxslt.dylib</div><div>-- Found OpenGL: /System/Library/Frameworks/OpenGL.framework </div><div>-- checking for one of the modules
'libgpod-1.0'</div><div>-- Found libgpod-1 0.8.0</div><div>-- 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</div><div>-- libgpod lib: gpod;gdk_pixbuf-2.0;gobject-2.0;glib-2.0;intl</div><div>-- 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</div><div>-- libgpod ver: 0.8.0</div><div>-- checking for module 'gdk-pixbuf-2.0'</div><div>-- found gdk-pixbuf-2.0, version 2.26.5</div><div>-- Found Gdk: /opt/local/include/gdk-pixbuf-2.0 </div><div>-- Found GLIB2: /opt/local/lib/libglib-2.0.dylib </div><div>-- checking for module 'gobject-2.0'</div><div>-- found gobject-2.0, version 2.34.3</div><div>-- 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 </div><div>-- Found KdepimLibs: /opt/local/lib/cmake/KdepimLibs/KdepimLibsConfig.cmake </div><div>-- Found QCA2: /opt/local/lib/libqca.dylib </div><div>-- Check for Ksane library in local sub-folder...</div><div>-- Found Ksane library in local sub-folder: /Users/buran/taskdir/tech/digikam_source/digikam-sc/extra/libksane</div><div>-- Check for KGeoMap library in local sub-folder...</div><div>-- Found KGeoMap library in local sub-folder: /Users/buran/taskdir/tech/digikam_source/digikam-sc/extra/libkgeomap</div><div>-- Check Mediawiki library in local sub-folder...</div><div>-- Found Mediawiki library in local sub-folder: /Users/buran/taskdir/tech/digikam_source/digikam-sc/extra/libmediawiki</div><div>-- Check Vkontakte library in local sub-folder...</div><div>-- Found Vkontakte library in local
sub-folder: /Users/buran/taskdir/tech/digikam_source/digikam-sc/extra/libkvkontakte</div><div>-- Found Flex: /opt/local/bin/flex </div><div>-- Found BISON: /opt/local/bin/bison (found version "2.7") </div><div>-- Could NOT find required package HUpnpCore: <http://herqq.org></div><div>-- Could NOT find required package HUpnpAv: <http://herqq.org></div><div>-- Found ImageMagick: /opt/local/lib/libMagickCore.dylib (found version "6.8.0-7") </div><div>CMake Warning at /opt/local/share/apps/cmake/modules/MacroOptionalFindPackage.cmake:32 (find_package):</div><div> By not providing "FindQtGStreamer.cmake" in CMAKE_MODULE_PATH this project</div><div> has asked CMake to find a package configuration file provided by</div><div> "QtGStreamer", but CMake did not find one.</div><div><br></div><div> Could not find a package configuration file provided by "QtGStreamer" with</div><div> any of the following
names:</div><div><br></div><div> QtGStreamerConfig.cmake</div><div> qtgstreamer-config.cmake</div><div><br></div><div> Add the installation prefix of "QtGStreamer" to CMAKE_PREFIX_PATH or set</div><div> "QtGStreamer_DIR" to a directory containing one of the above files. If</div><div> "QtGStreamer" provides a separate development package or SDK, be sure it</div><div> has been installed.</div><div>Call Stack (most recent call first):</div><div> extra/kipi-plugins/CMakeLists.txt:173 (MACRO_OPTIONAL_FIND_PACKAGE)</div><div><br></div><div><br></div><div>-- Could NOT find QtKOAuth (missing: QTKOAUTH_LIBRARIES QTKOAUTH_INCLUDE_DIR) </div><div>-- libkgeomap: Found version 2.0.0</div><div>-- CMake version: cmake version 2.8.10</div><div><br></div><div>-- CMake version (cleaned): cmake version 2.8.10</div><div><br></div><div>-- CMake version is too old: cannot detected OpenMP. Some
plugins may have a weaker performance without OpenMP.</div><div>-- </div><div>-- ----------------------------------------------------------------------------------</div><div>-- kipi-plugins 3.0.0 dependencies results <http://www.digikam.org></div><div>-- </div><div>-- libjpeg library found.................... YES</div><div>-- libtiff library found.................... YES</div><div>-- libpng library found..................... YES</div><div>-- libkipi library found.................... YES</div><div>-- libkexiv2 library found.................. YES</div><div>-- libkdcraw library found.................. YES</div><div>-- libxml2 library found.................... YES (optional)</div><div>-- libxslt library found.................... YES (optional)</div><div>-- libexpat library found................... YES (optional)</div><div>-- native threads support library found..... YES
(optional)</div><div>-- libopengl library found.................. YES (optional)</div><div>-- Qt4 OpenGL module found.................. YES</div><div>-- libopencv library found.................. YES (optional)</div><div>-- QJson library found...................... YES (optional)</div><div>-- libgpod library found.................... YES (optional)</div><div>-- Gdk library found........................ YES (optional)</div><div>-- libkdepim library found.................. YES (optional)</div><div>-- qca2 library found....................... YES (optional)</div><div>-- libkgeomap library found................. YES (optional)</div><div>-- libmediawiki library found............... YES (optional)</div><div>-- libkvkontakte library found.............. YES (optional)</div><div>-- libimagemagick library found............. YES (optional)</div><div>-- libqtgstreamer library
found............. NO (optional)</div><div>-- QtKOAuth library found................... NO (optional)</div><div>-- OpenMP library found..................... NO (optional)</div><div>-- libksane library found................... YES (optional)</div><div>-- Hupnp library found...................... NO (optional - internal version used instead)</div><div>-- </div><div>-- kipi-plugins will be compiled............ YES</div><div>-- Shwup will be compiled................... YES (optional)</div><div>-- YandexFotki will be compiled............. YES (optional)</div><div>-- HtmlExport will be compiled.............. YES (optional)</div><div>-- AdvancedSlideshow will be compiled....... YES (optional)</div><div>-- ImageViewer will be compiled............. YES (optional)</div><div>-- AcquireImages will be compiled........... YES (optional)</div><div>-- DNGConverter will
be compiled............ YES (optional)</div><div>-- RemoveRedEyes will be compiled........... YES (optional)</div><div>-- Debian Screenshots will be compiled...... YES (optional)</div><div>-- Facebook will be compiled................ YES (optional)</div><div>-- VKontakte will be compiled............... YES (optional)</div><div>-- IpodExport will be compiled.............. YES (optional)</div><div>-- Calendar will be compiled................ YES (optional)</div><div>-- GPSSync will be compiled................. YES (optional)</div><div>-- Mediawiki will be compiled............... YES (optional)</div><div>-- Panorama will be compiled................ YES (optional)</div><div>-- VideoSlideshow will be compiled.......... NO (optional - Look README file for more details about dependencies)</div><div>-- Wallpaper will be compiled............... NO (optional - Look README file for more
details about dependencies)</div><div>-- ----------------------------------------------------------------------------------</div><div>-- </div><div>-- Check if the system is big endian</div><div>-- Searching 16 bit integer</div><div>-- Looking for sys/types.h</div><div>-- Looking for sys/types.h - found</div><div>-- Looking for stdint.h</div><div>-- Looking for stdint.h - found</div><div>-- Looking for stddef.h</div><div>-- Looking for stddef.h - found</div><div>-- Check size of unsigned short</div><div>-- Check size of unsigned short - done</div><div>-- Using unsigned short</div><div>-- Check if the system is big endian - little endian</div><div>CMake Error at extra/kipi-plugins/panorama/CMakeLists.txt:10 (FLEX_TARGET):</div><div> Unknown CMake command "FLEX_TARGET".</div><div><br></div><div><br></div><div>-- Configuring incomplete, errors occurred!</div><div><br></div></div></div></div></body></html>