I think I am very atypical as I had the Haskell Platform installed and did an uninstall-hs before installing this release candidate. This is on the latest Mac OS and Xcode.
At the time I got the error the file was a symbolic link, I believe to an existing file:
install: /usr/local/share/man/man1/ghc.1: No such file or directory
make[1]: *** [install_man] Error 71
make: *** [install] Error 2
bash-3.2$ ls -l /usr/local/share/man/man1/ghc.1
lrwxr-xr-x 1 gcolpitts admin 80 Jun 23 19:44 /usr/local/share/man/man1/ghc.1 -> /Library/Frameworks/GHC.framework/Versions/8.0.1-x86_64/usr/share/man/man1/ghc.1
bash-3.2$ rm /usr/local/share/man/man1/ghc.1
Now after a successful install of the binary and a successful compile from source I have:
ls -l /usr/local/share/man/man1/ghc.1
-rw-r--r-- 1 root admin 58932 Nov 26 09:16 /usr/local/share/man/man1/ghc.1
bash-3.2$ ls -l /Library/Frameworks/GHC.framework/Versions/8.0.1-x86_64/usr/share/man/man1/ghc.1
ls -l /Library/Frameworks/GHC.framework/Versions/8.0.1-x86_64/usr/share/man/man1/ghc.1
-rw-r--r-- 1 root wheel 58214 May 21 2016 /Library/Frameworks/GHC.framework/Versions/8.0.1-x86_64/usr/share/man/man1/ghc.1
After the binary install I did a cabal install of threadscope, hlint and criterion and some minimal runtime testing. Everything looks fine.
Thanks
George
George Colpitts <george.colpitts@gmail.com> writes:
> Thanks Ben, this is great!
>
> Installing the binary on the Mac results in the following minor problem:
>
> /usr/bin/install -c -m 644 docs/users_guide/build-man/ghc.1
> "/usr/local/share/man/man1"
> install: /usr/local/share/man/man1/ghc.1: No such file or directory
> make[1]: *** [install_man] Error 71
> make: *** [install] Error 2
>
Thanks for the report, George! That is quite odd indeed. It sounds like
/usr/local/share/man/man1/ghc.1 may have been a symlink to a directory
which does not exist (possibly?). What does `ls -l
/usr/local/share/man/man1/ghc.1` say now?
Cheers,
- Ben