install into /opt works fine
However the INSTALL file says
`make show-install-setup' prints the details of where the different
pieces of the bundle are heading when -- possibly helpful
but this doesn't work:
make show-install-setup
make: *** No rule to make target `show-install-setup'. Stop.
I installed in /opt as I didn't want to overwrite my current ghc. It would be nice if there was an uninstall target for make.
I removed /opt/bin/* and /opt/lib/* as there were only ghc files there.
Then I did an uninstall-hs (uninstall of Haskell Platform)
Then install into the default (/usr/local) I get:
/usr/bin/install -c -m 644 docs/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
I then did
ls -l /usr/local/share/man/man1/ghc.1
lrwxr-xr-x 1 gcolpitts admin 81 Oct 11 17:35 /usr/local/share/man/man1/ghc.1 -> /Library/Frameworks/GHC.framework/Versions/7.10.2-x86_64/usr/share/man/man1/ghc.1
then
rm /usr/local/share/man/man1/ghc.1
and then "make install" worked
However cabal install hlint didn't work because it couldn't install text-1.2.1.3:
Data/Text.hs:203:8:
Could not find module ‘Control.DeepSeq’
Perhaps you haven't installed the profiling libraries for package ‘deepseq-1.4.1.1@deeps_6vMKxt5sPFR0XsbRWvvq59’?
Use -v to see a list of the files searched for.
Data/Text.hs:208:8:
Could not find module ‘Data.Char’
Perhaps you haven't installed the profiling libraries for package ‘base-4.8.2.0’?
Use -v to see a list of the files searched for.
Data/Text.hs:209:8:
Could not find module ‘Data.Data’
Perhaps you haven't installed the profiling libraries for package ‘base-4.8.2.0’?
Use -v to see a list of the files searched for.
Data/Text.hs:211:8:
Could not find module ‘Control.Monad’
Perhaps you haven't installed the profiling libraries for package ‘base-4.8.2.0’?
Use -v to see a list of the files searched for.
Data/Text.hs:212:8:
Could not find module ‘
Control.Monad.ST’
Perhaps you haven't installed the profiling libraries for package ‘base-4.8.2.0’?
...
ghc-pkg list
/usr/local/lib/ghc-7.10.2.20151105/package.conf.d:
Cabal-1.22.4.0
array-0.5.1.0
base-4.8.2.0
bin-package-db-0.0.0.0
binary-0.7.5.0
rts-1.0
bytestring-0.10.6.0
containers-0.5.6.2
deepseq-1.4.1.1
directory-1.2.2.0
filepath-1.4.0.0
(ghc-7.10.2.20151105)
ghc-prim-0.4.0.0
haskeline-0.7.2.1
hoopl-3.10.0.2
hpc-0.6.0.2
integer-gmp-1.0.0.0
pretty-1.1.2.0
process-1.2.3.0
template-haskell-2.10.0.0
terminfo-0.4.0.1
time-1.5.0.1
transformers-0.4.2.0
unix-2.7.1.0
xhtml-3000.2.1
ghc-pkg check
Similar problems with cabal install vector