On Mar 3, 2008, at 23:14, Hans Aberg wrote:
I tried running aclocal first (on a new darcs download), but it did
not help. So the two sequences I found was 'autoreconf -vi' or (I
think) autoconf, in each case followed by 'autoreconf -vi'.
Hans Aberg
--- Snippet ----
# aclocal
# autoreconf -vi
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/local/bin/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.
autoreconf: /usr/local/bin/autoconf failed with exit status: 1
Since it's on line 101, it has to be this call:
if test $HC = ghc-not-found; then
AC_MSG_ERROR([
Could not find GHC! This is the only supported compiler.
You need GHC 6.4 or later.])
fi
You could join the 'Could not find...' line with the previous line
and see if the error goes away. The indentation and quoting is
identical to other macros that are distributed with autoconf/automake.
Axel.