cabal installs programs in c:/Program Files/Haskell/bin/, which
configure apparently can't handle, because of the space:
./configure --host=i386-unknown-mingw32 --with-gcc=c:/MinGW/bin/gcc
..
checking for alex... /cygdrive/c/Program Files/Haskell/bin/alex
checking for version of alex... ./configure: line 5796: /cygdrive/c/Program: No such file or
directory
configure: error: Alex version 2.0.1 or later is required to compile GHC.
$ /cygdrive/c/Program\ Files/Haskell/bin/alex -v
Alex version 2.1.0, (c) 2003 Chris Dornan and Simon Marlow
$ /cygdrive/c/Program Files/Haskell/bin/alex -v
bash: /cygdrive/c/Program: No such file or directory
also, alex 2.0.1 was the version i had installed before, and i was
told that caused the utf8* test failures, so it can't really be what
configure should check for. and, if it is this or later versions we
want, why does aclocal.m4 say '-lt', rather than '-le'?
FP_COMPARE_VERSIONS([$fptools_cv_alex_version],[-lt],[2.0.1],
[AC_MSG_ERROR([Alex version 2.0.1 or later is required to compile
GHC.])])[]dnl
claus
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc