make install fails on Windows: "removeFiles: Got leading slash"

Joey Adams <[email protected]>
Newsgroups gmane.comp.lang.haskell.cvs.ghc
Message-ID <CAARyMpC8Tt9-Yb4rwqX5f8_BT=F6wyfbTVZcUkd568Y64xGmRQ@mail.gmail.com>
When I run 'make install' on Windows, I get the following output:

    ===--- building phase 0
    make -r --no-print-directory -f ghc.mk phase=0 phase_0_builds
    make[1]: Nothing to be done for `phase_0_builds'.
    ===--- building phase 1
    make -r --no-print-directory -f ghc.mk phase=1 phase_1_builds
    make[1]: Nothing to be done for `phase_1_builds'.
    ===--- building final phase
    make -r --no-print-directory -f ghc.mk phase=final install
    /bin/install -c -m 755 -d "/usr/local/lib"
    /bin/install -c -m 755  driver/split/dist/ghc-split "/usr/local/lib"
    driver/ghci/ghc.mk:56: *** removeFiles: Got leading slash:
/usr/local/bin/ghcii.sh.  Stop.
    make: *** [install] Error 2

make install succeeds after removing the offending line.  removeFiles is
defined in mk/tree.mk

I'm on Windows 8, and using MinGW/MSYS as recommended [1].  I'm compiling
from /home/joey/ghc (Windows path: C:\MinGW\msys\1.0\home\joey).  I ran
./configure without any flags.  I'm using BuildFlavour = quick, except with
HADDOCK_DOCS = YES.

 [1]: http://hackage.haskell.org/trac/ghc/wiki/Building/Preparation/Windows

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.