[GHC] #7712: "make install" fails on Windows

#7712: "make install" fails on Windows ----------------------------------+----------------------------------------- Reporter: dpratt71 | Owner: Type: bug | Status: new Priority: normal | Component: Build System Version: 7.7 | Keywords: Os: Windows | Architecture: Unknown/Multiple Failure: Installing GHC failed | Blockedby: Blocking: | Related: ----------------------------------+----------------------------------------- Running the 'make install' command under Windows 8/MinGW produces an error. The full output of 'make install': {{{ $ make install ===--- 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 }}} It seems that the removeFiles function specifically disallows paths that start with a "/". Looking around at other places where removeFiles was being called with a rooted path, the path was also quoted. I added quotes to the path in the line mentioned in the error above (and one other place) and thereafter the 'make install' command proceeded without errors. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7712 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#7712: "make install" fails on Windows ---------------------------------+------------------------------------------ Reporter: dpratt71 | Owner: igloo Type: bug | Status: new Priority: high | Milestone: 7.8.1 Component: Build System | Version: 7.7 Keywords: | Os: Windows Architecture: Unknown/Multiple | Failure: Installing GHC failed Difficulty: Unknown | Testcase: Blockedby: | Blocking: Related: | ---------------------------------+------------------------------------------ Changes (by igloo): * owner: => igloo * difficulty: => Unknown * priority: normal => high * milestone: => 7.8.1 -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7712#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC