There is a strange bug when trying to take down the Gtk2hs package directly from darcs, and compile it on Mac OS X 10.4.11 PPC G4. It is not clear to me were the problem is.

The procedure for taking down the package is:
sudo darcs get --partial http://darcs.haskell.org/gtk2hs/ && cp ~/ Development/Haskell/Gtk2hs/* /usr/local/src/haskell/gtk2hs/ && cd gtk2hs && ./configure && make

I then get the error:
/bin/sh /usr/local/src/haskell/gtk2hs/missing --run autoconf
/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.
make[1]: *** [configure] Error 1
make[1]: *** Deleting file `configure'

I have checked that environmental variables are the same in subshell sh, and moved the sytem autoconf in /usr/bin and share out of the way, to mae sure it is the latest I use:
# which autoconf/usr/local/bin/autoconf
# autoconf --version
autoconf (GNU Autoconf) 2.61

  Hans Aberg




Reply via email to