"Simon Marlow" <[EMAIL PROTECTED]> writes:

> > It seems the ghc 6.4 release candidates' configure scripts fail if you
> > run them in a directory structure containing a space.
> 
> Quite possibly.  No doubt we'd have to add a million quotes to the build
> system to fix this; it's not going to happen any time soon.  

Yes.  Someone recently reported the same problem with nhc98's configure
script, and I actually tried adding the quotes.  It is nightmarish -
you'll quickly discover a need for quotes inside quotes and worse,
depending on how many levels of shells/tools/Makefiles a variable gets
passed through.  In the end, it was far simpler to abandon the idea.

However, it could be worthwhile halting with an error message.

    case `pwd` in
      *' '*)
        echo "Error: nhc98 will not build in a directory with spaces anywhere"
        echo "       in the full pathname."
        echo "Suggestion: move the build tree somewhere else."
        exit 1 ;;
    esac

Regards,
    Malcolm
_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to