Re: AM_PATH_GLIB_2_0



* Jonathan Blandford (jrb redhat com) wrote at 12:27 on 04/11/00:
> Hans Breuer <hans breuer org> writes:
> 
> > trying to build cvs Gtk+ on Linux gives me the error:
> > 
> > ./configure line 1924: syntax error near unexpected token
> > 'AM_PATH_GLIB_2_0(1.3.1,,'
> > 
> > in pango/ and gtk/
> > 
> > (glib builds just fine without prefix and I've done make install)
> > 
> > Can someone with autoconf knowledge explain me how to fix it?
> 
> export ACLOCAL_FLAGS="-I /prefix-of-glib/share/aclocal"
> 
> where prefix-of-glib is whatever prefix you passed into glib.  Then
> rerun autogen.sh

There is a problem with Gtk+ I believe. It is with the following line:

m4list="glib.m4 gettext.m4"

It should be changed to:

m4list="glib-2.0.m4 gettext.m4"

(I mail'd this before, but got no response)
Regards,
Ali




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