I was only looking in /usr/local/lib
and /usr/local/bin
for ghc
stuff to purge, but it seems the make install
actually installed things here:
/usr/local/haskell/ghc-7.10.2-x86_64
After removing this directory and reinstalling the repo version of ghc
, the configure error goes away. A useful command for me in finding this directory was:
sudo updatedb && (locate ghc | cut -f1-4 -d'/' | sort | uniq)