Jump to content

gaim cvs compilation problem


beesea
 Share

Recommended Posts

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...