Re: build system issues

2009-06-02 Thread Simon Marlow
On 02/06/2009 12:31, Claus Reinke wrote: To summarize, for easier reference: - configure should warn about build tools with spaces in path Ian has gone much further than that (great!-) and claims that such warnings should now be unneccessary for most tools: http://www.haskell.org/pipermail/cvs-

Re: build system issues

2009-06-02 Thread Claus Reinke
To summarize, for easier reference: - configure should warn about build tools with spaces in path Ian has gone much further than that (great!-) and claims that such warnings should now be unneccessary for most tools: http://www.haskell.org/pipermail/cvs-ghc/2009-May/048887.html - confi

Re: build system issues

2009-06-01 Thread Simon Marlow
On 29/05/2009 17:34, Claus Reinke wrote: I've just found some places we were depending on mk/config.mk where we should have been depending on mk/project.mk. But this won't make any difference in practice: configure always touches both of them anyway. If we could prevent configure from touching f

Re: build system issues

2009-06-01 Thread Simon Marlow
On 29/05/2009 17:34, Claus Reinke wrote: Note that ghci.ico is in driver/ghci/, not in the directory from which that command is being run, and ghci.rc tries to refer to it locally (why not 'cd;windres;cd -' ?). I haven't quite been able to figure out where that command comes from, and driver/Ma

Re: build system issues

2009-06-01 Thread Simon Marlow
On 30/05/2009 11:16, Claus Reinke wrote: windres --preprocessor="c:/mingw/bin/gcc -E -xc -DRC_INVOKED" -o driver/ghci/ghci.res -i driver/ghci/ghci.rc -O coff c:\MinGW\bin\windres.exe: can't open icon file `ghci.ico': No such file or directory make[1]: *** [driver/ghci/ghci.res] Error 1 make: ***

Re: build system issues

2009-05-31 Thread Duncan Coutts
On Mon, 2009-06-01 at 00:10 +0100, Ian Lynagh wrote: > On Fri, May 29, 2009 at 03:28:47PM +0100, Claus Reinke wrote: > > > > - the build fell over after a long time, when trying to run (note the > > unprotected spaces) > >/cygdrive/c/Program Files/MiKTeX 2.7/miktex/bin/dblatex > > OK, I've no

Re: build system issues

2009-05-31 Thread Ian Lynagh
On Fri, May 29, 2009 at 03:28:47PM +0100, Claus Reinke wrote: > > - the build fell over after a long time, when trying to run (note the > unprotected spaces) >/cygdrive/c/Program Files/MiKTeX 2.7/miktex/bin/dblatex OK, I've now quoted most of the programs we run from make variables, so tools

Re: build system issues

2009-05-30 Thread Claus Reinke
Just to check I wasn't talking nonsense about this I just tried building ghc with the bootstrapping ghc, alex and happy installed in dirs containing spaces. I needed to add a few quotes in aclocal.m4 and configure.ac to get configure to go through and a few more to get the build going. It eventua

Re: build system issues

2009-05-30 Thread Claus Reinke
windres --preprocessor="c:/mingw/bin/gcc -E -xc -DRC_INVOKED" -o driver/ghci/ghci.res -i driver/ghci/ghci.rc -O coff c:\MinGW\bin\windres.exe: can't open icon file `ghci.ico': No such file or directory make[1]: *** [driver/ghci/ghci.res] Error 1 make: *** [all] Error 2 I don't see that error.

Re: build system issues

2009-05-29 Thread Duncan Coutts
On Fri, 2009-05-29 at 15:28 +0100, Claus Reinke wrote: >I don't recall that ever happening before, so I simply tried again, >and it didn't repeat. Still, worrying. > > - the build fell over after a long time, when trying to run (note the > unprotected spaces) > /cygdrive/c/Program Fi

Re: build system issues

2009-05-29 Thread Claus Reinke
BuildFlavour = perf This only has an effect if you have the rest of build.mk.sample too. So if you're quoting the whole of your build.mk here, it won't have any effect. I was just quoting the differences, the rest is there as well. I also updated my build.mk from the modified build.mk.sample

Re: build system issues

2009-05-29 Thread Simon Marlow
On 29/05/2009 15:35, Claus Reinke wrote: ! LaTeX Error: Missing \begin{document}. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... l.1 < ?xml version="1.0" encoding="iso-8859-1"?> ? Since the docs aren't essential (well, not until the rest works;-), I h

Re: build system issues

2009-05-29 Thread Simon Marlow
On 29/05/2009 15:28, Claus Reinke wrote: Hoping to try out some recent patches, I had my first experience with the new build system today (cygwin, building with ghc-6.8.3; did make maintainer-clean long ago with the old system, then pull and get, etc; my mk/build.mk has BuildFlavour = perf Thi

Re: build system issues

2009-05-29 Thread Claus Reinke
! LaTeX Error: Missing \begin{document}. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... l.1 < ?xml version="1.0" encoding="iso-8859-1"?> ? Since the docs aren't essential (well, not until the rest works;-), I hit 'q' a few times to get through th

build system issues

2009-05-29 Thread Claus Reinke
Hoping to try out some recent patches, I had my first experience with the new build system today (cygwin, building with ghc-6.8.3; did make maintainer-clean long ago with the old system, then pull and get, etc; my mk/build.mk has BuildFlavour = perf SplitObjs= NO BIN_DIST=1 XMLDocWays = html