beesea Posted February 11, 2003 Report Share Posted February 11, 2003 here's the error message from .configure: checking for GTK+ - version >= 2.0.0... no *** 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+ 2.0 is required to build Gaim; please make sure you have the GTK+ *** development headers installed. The latest version of GTK+ is *** always available at http://www.gtk.org/. here's the section of config.log that states the error: configure:12539: checking for GTK+ - version >= 2.0.0 configure:12680: result: no configure:12716: gcc -o conftest -g -O2 -I/opt/include -I$(top_srcdir) confte st.c -lnsl >&5 configure:12696:21: gtk/gtk.h: No such file or directory configure: In function `main': configure:12708: `gtk_major_version' undeclared (first use in this function) configure:12708: (Each undeclared identifier is reported only once configure:12708: for each function it appears in.) configure:12708: `gtk_minor_version' undeclared (first use in this function) configure:12708: `gtk_micro_version' undeclared (first use in this function) configure:12719: $? = 1 configure: failed program was: #line 12694 "configure" #include "confdefs.h" #include <gtk/gtk.h> #include <stdio.h> #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); ; return 0; } i know i have the gtk2 devel package installed. i can locate gtk.h. when i first got this error message i figured the latest commit was bad. i waited a few days, updated, and i still get this message. i've successfully compiled gaim cvs numerous times in the past, anyone know why this is failing? Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted February 17, 2003 Report Share Posted February 17, 2003 I had the same problem, too. Maybe go to gaim.sourceforge.net and ask them. They are usually very good about answering. Quote Link to comment Share on other sites More sharing options...
beesea Posted February 19, 2003 Author Report Share Posted February 19, 2003 after playing around with it for a few days i finally got it to configure correctly (and compile). it seems that configure wasn't looking in the correct places for includes, which is why it complained about not finding gtk.h. so i ran configure like this: CPPFLAGS="-I/usr/include/gtk-2.0 -I/usr/include/gtk-2.0/gtk -I/usr/include/glib-2.0 -I/usr/include/pango-1.0 -I/usr/lib/gtk-2.0/include -I/usr/lib/glib-2.0/include -I/usr/include/atk-1.0" LIBS="-lgtk-x11-2.0" ./configure i'm not sure how many -I flags were actually needed because i added whatever I thought would need. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.