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: [email protected] > 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 [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc
