8.2.1 deb8 bindist fails to install on Windows 10 WSL
In principle the GHC 8.2.1 bindist for Debian 8 should work fine on WSL. However, in practice it fails during make install
with this error,
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/integer-gmp dist-install "strip" '' '/home/ben/roots/ghc/8.2.1' '/home/ben/roots/ghc/8.2.1/lib/ghc-8.2.1' '/home/ben/roots/ghc/8.2.1/share/doc/ghc-8.2.1/html/libraries' 'v p dyn'
./integer-gmp.cabal has been changed. Re-configuring with most recently used
options. If this fails, please run configure manually.
Configuring integer-gmp-1.0.1.0...
ghc-cabal: Cannot find the program 'ghc'. User-specified path
'/home/ben/bin-dist-8.2.1-Linux/ghc/inplace/bin/ghc-stage1' does not refer to
an executable and the program is not on the system path.
ghc.mk:986: recipe for target 'install_packages' failed
make[1]: *** [install_packages] Error 1
Makefile:51: recipe for target 'install' failed
make: *** [install] Error 2