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 Files/MiKTeX 2.7/miktex/bin/dblatex
> 
>    if configure had mentioned documentation tools/paths, I might have noticed 
> that
>    tool change and wrong path myself; (btw, didn't the tool of choice use to 
> be fop?)
> 
>    in any case, there was some agreement that configure should check for paths
>    the build couldn't handle (in this case, wrapping in "" should do the job, 
> though)


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
eventually stopped when it actually called alex, because, guess what...

the binary install of alex isn't relocatable! :-) It hard codes "C:
\Haskell\alex-2.3.1" as the location to find its data files. Now
arguably that's also Cabal's fault. Making relocatable packages on
Windows requires some special steps.

Anyway, I'm convinced it's quite possible to make the changes though
it's a slightly tiresome way to spend the hour or two probably necessary
to do them all.

Duncan

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to