[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

cmake dependency error while compiling darktable (glib2.0 too old)


i'm trying to compile darktable from scratch in debian Squeeze and
installed all dependencies shown on their setup guide.

So i run into the cmake error, that glib2.0 is too old (2.24) but 2.28
is needed. Thats why i dist-upgraded my distro successfully to debian
Wheezy without any error. But cmake does not recongnize the new glib2.0

Is this a darktable or a debian problem? I'm not familar with cmake,
please give me a hint how to debug the problem. I checked the
libglib2.0-dev version, its 2.32. I reinstalled all dependencies ith
--purge but the error stays there.

pkg-config shows the correct version
pkg-config --modversion glib-2.0


Thats the error:
-- Found xsltproc
CMake Error at cmake/modules/FindGlib.cmake:33 (message):
  Glib version check failed.  Version 2.24.2 was found, at least version
  is required
Call Stack (most recent call first):
  src/CMakeLists.txt:120 (find_package)

These dependecies are needed by darktable:

apt-get install intltool libatk1.0-dev libbabl-0.0-0-dev libgegl-0.0-dev
libcairo2-dev libexiv2-dev libfontconfig1-dev libfreetype6-dev libgomp1
libgtk2.0-dev libjpeg-dev libtiff4-dev liblcms2-dev liblensfun-dev
libpng12-dev libsqlite3-dev libstdc++6-4.4-dev libxml2-dev
libopenexr-dev libcurl4-gnutls-dev libgphoto2-2-dev libdbus-glib-1-dev
libgnome-keyring-dev fop librsvg2-dev libflickcurl-dev cmake

Reply to: