Image 01
profile-image

hpcmango

Oliver Mangold , Germany
Utilities
gTiles

Utilities 10 comments

Score 63.3%
Sep 12 2011
Ehm, you need to install the gconf-schema first:

gconftool-2 --install-schema-file=/etc/schemas/gtiles.schemas

(or with whatever is the correct path to gtiles.schemas for your installation)

Best,

Oliver - Apr 28 2011
Hmm, really strange. Don't know why cmake gives you trouble here.

What you can do is configure the cmake search paths manually.

Do:
./configure.user
cd build
ccmake ..

Then press 't' to get the full list of cmake variables.
Set the gtk paths it didn't find automatically to the correct values, then press 'c' 'g'.

If it still doesn't work, consider reporting a bug to kitware.

Alternatively you can try to replace the cmake-internal gtk detection mechanism by pkg-config. In CMakeLists.txt, replace the part
------
FIND_PACKAGE( GTK2 2.24 )

IF( NOT GTK2_FOUND )
...
ENDIF( NOT GTK2_FOUND )
------
with
------
PKG_SEARCH_MODULE ( GTK2 REQUIRES gtk+-2.0 )

IF( NOT GTK2_FOUND )
MESSAGE (FATAL_ERROR "gtk+-2.0 was not found.")
ENDIF( NOT GTK2_FOUND )
---

Best,

Oliver - Apr 07 2011
Well, the message means cmake does not find the headers for glib. So either you don't have them installed or the logic of the cmake gtk module (FindGTK2.cmake) is faulty. Could you try:

ls `pkg-config --variable=includedir glib-2.0`/glib-2.0/glib.h

If it finds glib.h the fault is with cmake. In this case you can specify the directory manually:

./configure.users -DGTK2_GLIB_INCLUDE_DIR=`pkg-config --variable=includedir glib-2.0`/glib-2.0

Best,

Oliver - Apr 07 2011
What exactly is the linker error message?

In theory it should depend directly only on gtk2/gdk2, glib, xlib, gettext, gconf2.

If it helps you, the dependencies reported by ldd are for me below.

Anyway, please let me know if you should find something so I can fix it.

Best,

Oliver

---

linux-vdso.so.1 => (0x00007fff9e7e7000)
libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x0000003b04800000)
libglib-2.0.so.0 => /lib64/libglib-2.0.so.0 (0x0000003b34600000)
libgobject-2.0.so.0 => /lib64/libgobject-2.0.so.0 (0x0000003b34e00000)
libgdk_pixbuf-2.0.so.0 => /usr/lib64/libgdk_pixbuf-2.0.so.0 (0x0000003b36600000)
libgdk-x11-2.0.so.0 => /usr/lib64/libgdk-x11-2.0.so.0 (0x0000003c00a00000)
libgtk-x11-2.0.so.0 => /usr/lib64/libgtk-x11-2.0.so.0 (0x0000003c00200000)
libcairo.so.2 => /usr/lib64/libcairo.so.2 (0x0000003bffe00000)
libpango-1.0.so.0 => /usr/lib64/libpango-1.0.so.0 (0x0000003b35e00000)
libatk-1.0.so.0 => /usr/lib64/libatk-1.0.so.0 (0x0000003b36a00000)
libSM.so.6 => /usr/lib64/libSM.so.6 (0x0000003b0bc00000)
libICE.so.6 => /usr/lib64/libICE.so.6 (0x0000003b0b000000)
libX11.so.6 => /usr/lib64/libX11.so.6 (0x0000003bfd600000)
libXext.so.6 => /usr/lib64/libXext.so.6 (0x0000003bfda00000)
libgconf-2.so.4 => /usr/lib64/libgconf-2.so.4 (0x0000003b38200000)
libc.so.6 => /lib64/libc.so.6 (0x0000003b00000000)
librt.so.1 => /lib64/librt.so.1 (0x0000003b01800000)
libgthread-2.0.so.0 => /lib64/libgthread-2.0.so.0 (0x0000003b34a00000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003b00800000)
libgio-2.0.so.0 => /lib64/libgio-2.0.so.0 (0x0000003b35600000)
libgmodule-2.0.so.0 => /lib64/libgmodule-2.0.so.0 (0x0000003b35200000)
libpng12.so.0 => /usr/lib64/libpng12.so.0 (0x0000003b05000000)
libm.so.6 => /lib64/libm.so.6 (0x0000003b00400000)
libpangocairo-1.0.so.0 => /usr/lib64/libpangocairo-1.0.so.0 (0x0000003bffa00000)
libfontconfig.so.1 => /usr/lib64/libfontconfig.so.1 (0x0000003b05400000)
libXrender.so.1 => /usr/lib64/libXrender.so.1 (0x0000003bfe200000)
libXinerama.so.1 => /usr/lib64/libXinerama.so.1 (0x0000003bff200000)
libXi.so.6 => /usr/lib64/libXi.so.6 (0x0000003bfde00000)
libXrandr.so.2 => /usr/lib64/libXrandr.so.2 (0x0000003bfea00000)
libXcursor.so.1 => /usr/lib64/libXcursor.so.1 (0x0000003bfe600000)
libXcomposite.so.1 => /usr/lib64/libXcomposite.so.1 (0x0000003c00e00000)
libXdamage.so.1 => /usr/lib64/libXdamage.so.1 (0x0000003bff600000)
libXfixes.so.3 => /usr/lib64/libXfixes.so.3 (0x0000003bfee00000)
libpangoft2-1.0.so.0 => /usr/lib64/libpangoft2-1.0.so.0 (0x0000003b36200000)
libpixman-1.so.0 => /usr/lib64/libpixman-1.so.0 (0x0000003b08c00000)
libz.so.1 => /lib64/libz.so.1 (0x0000003b01000000)
libuuid.so.1 => /lib64/libuuid.so.1 (0x0000003b0a800000)
libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x0000003b03400000)
libdl.so.2 => /lib64/libdl.so.2 (0x0000003b00c00000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x0000003b01400000)
libORBit-2.so.0 => /usr/lib64/libORBit-2.so.0 (0x0000003b37e00000)
/lib64/ld-linux-x86-64.so.2 (0x0000003affc00000)
libresolv.so.2 => /lib64/libresolv.so.2 (0x0000003b02400000)
libselinux.so.1 => /lib64/libselinux.so.1 (0x0000003b02000000)
libexpat.so.1 => /lib64/libexpat.so.1 (0x0000003b04400000)
libXau.so.6 => /usr/lib64/libXau.so.6 (0x0000003b03800000) - Apr 07 2011