Windows build issues
Simon Peyton-Jones
simonpj at microsoft.com
Tue Sep 16 17:57:47 EDT 2008
I hope that someone (Ian?) is taking on board all this useful feedback that Neil is offering. (Of course digesting it in batches is fine.)
I'd really really like to end up
a) with a build system that works
b) with Wiki instructions that match it
Concerning the latter, Neil, you could fix the Wiki material directly couldn't you? That would be great.
Simon
| -----Original Message-----
| From: cvs-ghc-bounces at haskell.org [mailto:cvs-ghc-bounces at haskell.org] On
| Behalf Of Mitchell, Neil
| Sent: 16 September 2008 14:44
| To: cvs-ghc at haskell.org
| Subject: RE: Windows build issues
|
| Hi
|
| I can fix the error with the patch:
|
| hunk ./docs/man/Makefile 26
| - perl gen_flags.xsl.pl "$(GHC_COMMANDS)" "$(libdir)" > $@
| + ./gen_flags.xsl.pl "$(GHC_COMMANDS)" "$(libdir)" > $@
|
| The problem is that perl on my PATH is the ghc-6.8.3 one, which doesn't
| work. The shebang line is /usr/bin/perl which does work.
|
| Thanks
|
| Neil
|
|
| > -----Original Message-----
| > From: Mitchell, Neil
| > Sent: 16 September 2008 10:24 am
| > To: cvs-ghc at haskell.org
| > Subject: Windows build issues
| >
| > Hi,
| >
| > I get the error:
| >
| > windres --preprocessor="C:/Mingw/bin/gcc.exe -E -xc
| > -DRC_INVOKED" -o ghci.res - i ghci.rc -O coff
| > C:/Mingw/bin/gcc.exe -o ghci -O ghci.o ghci.res
| > Finished making all in ghci: 0
| > --------------------------------------------------------------
| > ----------
| > == Finished making `all' in mangler split ghc ghci ...
| > PWD = /cygdrive/c/ghc-build/ghc/driver
| > --------------------------------------------------------------
| > ----------
| > --------------------------------------------------------------
| > ----------
| > == make all -r;
| > in /cygdrive/c/ghc-build/ghc/docs
| > --------------------------------------------------------------
| > ----------
| > --------------------------------------------------------------
| > ----------
| > == Recursively making `all' in man docbook-cheat-sheet
| > users_guide ext-core stor age-mgt ...
| > PWD = /cygdrive/c/ghc-build/ghc/docs
| > --------------------------------------------------------------
| > ----------
| > --------------------------------------------------------------
| > ----------
| > == make all - --no-print-directory -r;
| > in /cygdrive/c/ghc-build/ghc/docs/man
| > --------------------------------------------------------------
| > ----------
| > perl gen_flags.xsl.pl "ghc ghci" "/usr/local" > flags.xsl
| > Can't locate strict.pm in @INC (@INC contains:
| > c:/ghc/ghc-6.8.3/lib .) at gen_fl ags.xsl.pl line 3.
| > BEGIN failed--compilation aborted at gen_flags.xsl.pl line 3.
| > make[2]: *** [flags.xsl] Error 2
| > make[2]: *** Deleting file `flags.xsl'
| > Failed making all in man: 1
| > make[1]: *** [all] Error 1
| > make: *** [stage1] Error 1
| >
| > This is after a make distclean, a fresh darcs-all pull, and
| > sh boot/configure/make. As far as I am aware, this is the
| > same environment that I used last week to get a build, but
| > its hard to tell given how many $PATH hacks were required. It
| > seems to be currently using Perl from GHC 6.8.3, and I also
| > have a Cygwin Perl installed (but further down the path). I
| > don't have any Mingw Perl versions installed.
| >
| > Thanks
| >
| > Neil
| >
|
| =============================================================================
| =
| Please access the attached hyperlink for an important electronic
| communications disclaimer:
|
| http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
| =============================================================================
| =
|
| _______________________________________________
| Cvs-ghc mailing list
| Cvs-ghc at haskell.org
| http://www.haskell.org/mailman/listinfo/cvs-ghc
More information about the Cvs-ghc
mailing list