BTW, to get hs-plugins to build, I changed two lines in hs-plugins/configure.
First, in the line TOP=`echo "Directory.getCurrentDirectory >>= putStrLn.init.tail.show " | ghc
--interactive -ignore-dot-ghci -v0`
I changed "putStrLn" to "putStr". Second, I changed the line GHC_LIB_PATH=`$GHC --print-libdir` to GHC_LIB_PATH=`$GHC --print-libdir | tr -d [:space:]`
First I tried tr -d '\n', but it didn't work, and I don't know why. - Conal On 3/16/07, Conal Elliott <[EMAIL PROTECTED]> wrote:
I got hs-plugins to compile fine on winxp, but now when I run it I get a crash with this message: c:/ghc/ghc-6.6/HSbase.o: unknown symbol `_free' Don mentioned this is a known problem. Is it on anyone's todo list? Cheers, - Conal On 3/9/07, Conal Elliott < [EMAIL PROTECTED]> wrote: > > 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 <[EMAIL PROTECTED]> 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 > > <http://www.cse.unsw.edu.au/%7Edons/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 > > > >
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe