
I'm running cygwin on WinXP and got a different failure (below) from the
latest darcs hs-plugins. Line 11 is right after the TOP definition. Does
anyone have a theory about what's going on here? - Conal
configure:1954: gcc conftest.c >&5
conftest.c:11: error: missing terminating " character
conftest.c:14: error: missing terminating " character
configure:1957: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define CYGWIN 1
| #define LEADING_UNDERSCORE 1
| #define TOP "c:\\Haskell\\hs-plugins
"
| #define WITH_GHC "ghc"
| #define GHC_LIB_PATH "c:/ghc/ghc-6.6
"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:1996: error: C compiler cannot create executables
On 3/9/07, Alistair Bayley
You managed to build the darcs version under ghc 6.6?
For me runghc setup.hs configure fails with lots of strange error messages... (below) other packages build ok.
Rene.
C:\repos\hs-plugins>darcs pull plink: unknown option "-O" Pulling from "http://www.cse.unsw.edu.au/~dons/code/hs-plugins"... No remote changes to pull in!
C:\repos\hs-plugins>runghc Setup.lhs configure
I used an MSYS shell on Windows. It doesn't build with ghc/cabal on a basic windows box - you need some sort of Unix clone. Looks like you're using cygwin, I think ('cause you still have paths starting with C:\).
Alistair _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe