[Digikam-devel] Digikam doesn't find marble in osx

Joan aseques at gmail.com
Sat May 19 00:39:21 BST 2012


2012/5/18 Gilles Caulier <caulier.gilles at gmail.com>

> only binary finles from MArble are installed on your computer. You
> need marble development files, including cmake find marble script.
> This file can be included in this port file :
>
> https://trac.macports.org/browser/trunk/dports/kde/libkdeedu/Portfile


After setting CMAKE_MODULES_INSTALL_PATH for APPLE I get the files stored
at: /usr/local/Cellar/cmake/2.8.8/share/cmake/Modules/FindMarble.cmake"
 but still cannot find the cmake file.
According to this log, what extra stuff should I set in CmakeLists.txt?

Kind regards,
Joan


brew install digikam
==> Downloading
http://sourceforge.net/projects/digikam/files/digikam/2.6.0-rc/digikam-software-compilation-2.6.0-rc.tar.bz2
Already downloaded: /Library/Caches/Homebrew/digikam-software.tar.bz2
==> cmake -DCMAKE_INSTALL_PREFIX='/usr/local/Cellar/digikam/software'
-DCMAKE_BUILD_TYPE=None -Wno-dev
-- The C compiler identification is Clang 3.1.0
-- The CXX compiler identification is Clang 3.1.0
-- Check for working C compiler: /usr/bin/clang
-- Check for working C compiler: /usr/bin/clang -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/clang++
-- Check for working CXX compiler: /usr/bin/clang++ -- 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.1 (using /usr/local/bin/qmake)
-- 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 Automoc4: /usr/local/bin/automoc4
-- Found Perl: /usr/bin/perl (found version "5.12.3")
-- Found Phonon: /usr/local/Cellar/qt/4.8.1/lib/phonon.framework
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Found KDE 4.8 include dir: /usr/local/Cellar/kdelibs/4.8.2/include
-- Found KDE 4.8 library dir: /usr/local/Cellar/kdelibs/4.8.2/lib
-- Found the KDE4 kconfig_compiler preprocessor:
/usr/local/Cellar/kdelibs/4.8.2/bin/kconfig_compiler
-- Found automoc4: /usr/local/bin/automoc4
-- Local kdegraphics libraries will be compiled... NO
-- Handbooks will be compiled..................... YES
-- Extract translations files..................... NO
-- Translations will be compiled.................. YES
-- 
----------------------------------------------------------------------------------
-- Starting CMake configuration for: libmediawiki
-- checking for module 'QJson>=0.7'
--   found QJson, version 0.7.1
-- Found QJSON: /usr/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.1 (using /usr/local/bin/qmake)
-- Could NOT find marble (missing:  MARBLE_INCLUDE_DIR MARBLE_LIBRARIES)
CMake Error at extra/libkgeomap/CMakeLists.txt:45 (FIND_PACKAGE):
  By not providing "FindMarbleWidget.cmake" in CMAKE_MODULE_PATH this
project
  has asked CMake to find a package configuration file provided by
  "MarbleWidget", but CMake did not find one.

  Could not find a package configuration file provided by "MarbleWidget"
with
  any of the following names:

    MarbleWidgetConfig.cmake
    marblewidget-config.cmake

  Add the installation prefix of "MarbleWidget" to CMAKE_PREFIX_PATH or set
  "MarbleWidget_DIR" to a directory containing one of the above files.  If
  "MarbleWidget" provides a separate development package or SDK, be sure it
  has been installed.


-- Configuring incomplete, errors occurred!




I am building the binaries using brew instead of macports, it seems to be
much easier to create packages.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-devel/attachments/20120519/be2b0db3/attachment.html>


More information about the Digikam-devel mailing list