On Tue, 2008-03-04 at 12:09 +0100, Hans Aberg wrote:
> On 4 Mar 2008, at 11:31, Axel Simon wrote:
> 
> >> You may disagree with my computer, but I doubt it will change its
> >> mind by that. :-)
> >
> > There is no point in exchanging 50+ emails about what happens on your
> > computer or not if it doesn't help to resolve the issue.
> 
> If you look back the thread, Ralf Wildenhues reproduced.

No he didn't. He just ran autoconf (not auto*re*conf) without running
aclocal first. That can't work and gives me the same error messages.

> > The problem is
> > that I cannot reproduce your problem, not get any information that  
> > helps
> > me understand why it doesn't work on your computer.
> 
> My situation is the same - you seems to have something extra  
> installed on your computer, and I do not get any information about  
> what it is. And I am not a developer of Gtk2hs.

I do not require any tools besides aclocal, autoconf, automake and
autoheader to create the configure script.

> > I would help if you
> > ran the above programs with some tracing and debugging options in  
> > order
> > to understand where it goes wrong.
> 
> The thing is starting to become very time consuming. I am willing to  
> help with your package. But every time I need to take another darcs.  

No you don't. You only need to do the rm -rf command I wrote earlier to
get back to the pristine tree.

> So instead of just brainstorming or saying it my computer it is  
> wrong, please come forth with some constructive suggestions.

I'm not a maintainer of autoconf and therefore have no more experience
in tracking this down as you do. autoconf picks up all its macro
definitions from /usr/share/autoconf on a system where autoconf is
installed in /usr/bin. I found that AC_MSG_ERROR is re-directed in
autoconf/general.m4 to AS_ERROR:

m4_copy([AS_ERROR],   [AC_MSG_ERROR])

Then AS_ERROR is defined in m4sugar/m4sh.m4 as:

# AS_ERROR(ERROR, [EXIT-STATUS = 1])
# ----------------------------------
m4_define([AS_ERROR],
[{ AS_MESSAGE([error: $1], [2])
   AS_EXIT([$2]); }[]dnl
])# AS_ERROR

You will probably find these two definitions on your system.
IIRC, I had the same problem as you on a PPC Mac and assumed that
separate installations of the tool probably interfered with each other.

> > I need to
> > understand why
> >
> > rm -rf autom4te.cache/ aclocal.m4 configure
> > aclocal
> > autoheader
> > automake
> > autoconf
> 
> # rm -rf autom4te.cache/ aclocal.m4 configure
> # aclocal
> # autoheader
> # automake
> # autoconf
> configure.ac:101: error: possibly undefined macro: AC_MSG_ERROR
>        If this token and others are legitimate, please use  
> m4_pattern_allow.
>        See the Autoconf documentation.
> 
> > or simply
> >
> > rm -rf autom4te.cache/ aclocal.m4 configure
> > autoreconf
> 
> # rm -rf autom4te.cache/ aclocal.m4 configure
> 
> # autoreconf
> configure.ac:101: error: possibly undefined macro: AC_MSG_ERROR
>        If this token and others are legitimate, please use  
> m4_pattern_allow.
>        See the Autoconf documentation.
> autoreconf: /usr/local/bin/autoconf failed with exit status: 1
> 
> >
> > doesn't work.
> 
> Just drop a note when you have figured it out. :-)

I'm afraid I can't figure anything out if you cannot provide me
information why this whole process falls over. I can read the info pages
and make suggestions (brainstorming as you called it) but it would be
quicker if the person reading the docs and doing the experiments is the
same, i.e. you, since I cannot reproduce the problem.

I understand if you don't have time to do this. The problem is that I
cannot resolve this myself since I can't guess why your system doesn't
find the basic AC_MSG_ERROR definition. 

Maybe you just stick to the downloadable .tar.gz file instead of the
darcs repository since this comes with a configure file. Or you copy
insert the configure file that I sent you after autoreconf has fallen
over.

Axel.



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Gtk2hs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtk2hs-devel

Reply via email to