Re: autoconf error with lablgtk-2.12.0

[email protected] Sun, 14 Jun 2009 11:32:46 -0300
Newsgroups gmane.comp.lang.ocaml.lib.gtk
Message-ID <[email protected]>
On Sun, Jun 14, 2009 at 10:17:53AM -0300, [email protected] wrote:
> Hello.
> 
> Some years ago I have patched lablgtk-2.6.0 to add support for
> gtkdatabox-0.7.0.0 and it worked nicely in a project of mine.
> 
> Now I am going to update this patch to the latest versions of lablgtk
> and gtkdatabox.
> 
> But GNU autoconf 2.63 is reporting errors with lablgtk-2.12.0 pristine
> sources on my ~amd64 gentoo linux box:
> 
> $ autoconf
> configure.in:42: error: possibly undefined macro: AC_MSG_ERROR
>       If this token and others are legitimate, please use m4_pattern_allow.
>       See the Autoconf documentation.
> configure.in:217: error: possibly undefined macro: AM_PATH_GTK_2_0
> 
> 
> As I do not know much about the auto tools, I want some help in solving
> this issue before continue the work I have proposed above.
> 
> Any help?

I have just forgot to run aclocal prior to autoconf (or autoreconf
instead of autoconf). Doing that solves this issue.

José Romildo