Re: configuration error - can't build gtkextra-2 on RH9

"Adrian E. Feiguin" <[email protected]>
Newsgroups gmane.comp.scigraphica.gtkextra
Message-ID <[email protected]>
I've been working on that this weekend. These people have been doing a 
mess with automake/autoconf, but there is a way to deal with it.

1) Run autoupdate:
$ autoupdate
This will update the configure.in file with the new macos

2) You have to modify autogen.sh and replace "aclocal" and "automake" by 
"aclocal-1.4" and "automake-1.4" (You may have to create a directory 
"m4" but I'm not sure).

3) Run autogen.sh, ./configure and make as usual

Hope this woks. If it doesn't, you may have to edit configure.in. I'll 
post a new script and configure.in file as soon as possible. Saludos,
<ADRIAN>

Joe Van Andel wrote:

> I can't run autogen.sh to produce a configure script:
>
> With RH 9.0, autoconf 2.57,  automake 1.6.3 , autoheader 2.57
>
>
> $ autogen.sh
> Locating m4 macro language processor... found: /usr/bin/m4
> Building files for libtool... done.
> Building aclocal.m4... done.
> Building configure... configure.in:7: /usr/bin/m4: Non-numeric 
> argument to built-in `divert'
> autom4te: /usr/bin/m4 failed with exit status: 1
> done.
> Building config header template... WARNING: Using auxiliary files such 
> as `acconfig.h', `config.h.bot'
> WARNING: and `config.h.top', to define templates for `config.h.in'
> WARNING: is deprecated and discouraged.
>
> WARNING: Using the third argument of `AC_DEFINE' and
> WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without
> WARNING: `acconfig.h':
>
> WARNING:   AC_DEFINE([NEED_MAIN], 1,
> WARNING:             [Define if a function `main' is needed.])
>
> WARNING: More sophisticated templates can also be produced, see the
> WARNING: documentation.
> configure.in:7: /usr/bin/m4: Non-numeric argument to built-in `divert'
> autom4te: /usr/bin/m4 failed with exit status: 1
> autoheader: /usr/bin/autom4te failed with exit status: 1
> done.
> Building Makefile templates... configure.in:47: required file 
> `./config.h.in' not found
> done.
>
> run "./configure ; make"
>



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.