WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: GTK compiling problems  (Read 1947 times)

Offline libertyernie

  • Newbie
  • *
  • Posts: 11
GTK compiling problems
« on: May 19, 2009, 08:06:11 PM »
I'm trying to compile an app that uses GTK2, and I'm getting this message:
Code: [Select]
*** Could not run GTK+ test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GTK+ is incorrectly installed.
configure: error: *** GTK+ version 2.4.0 or later not found!
config.log reveals that it can't find "gtk/gtk.h". Anyone have any ideas?

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: GTK compiling problems
« Reply #1 on: May 19, 2009, 11:30:37 PM »
Do you have PKG_CONFIG_PATH set?

You could try the configure switch "--disable-tests" or similar or maybe it requires a symlink include/gtk/gtk.h -> include/gtk.h (but I doubt it).

I just finished re-compiling glibmm/cairomm/pangomm/gtkmm without seeing this error...
« Last Edit: May 19, 2009, 11:41:09 PM by Juanito »