If GHC complains about base not having profile information, install haskell-platform-prof
alongside your Haskell Platform installation:
$ sudo apt-get install haskell-platform haskell-platform-doc haskell-platform-prof
And reinstall any third-party libraries, and their dependencies, that have missing profile information:
$ sudo cabal install --reinstall -p mwc-random rvar random-fu random-source mersenne-random-pure64 stateref flexible-defaults th-extras MonadPrompt math-functions erf vector-th-unbox monad-loops random-shuffle MonadRandom