[Haskell-cafe] Re: HS-Plugins 1.0 chokes on simple test, WinXP GHC-6.6

Conal Elliott conal at conal.net
Fri Mar 9 21:39:33 EST 2007


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 <alistair at abayley.org> wrote:
>
> > 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 at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20070309/039a347c/attachment.htm


More information about the Haskell-Cafe mailing list