title: Haskell reinstall base with profiling enabled
body: <p>I am trying reinstall my Haskell libraries with profiling enabled by following the instructions listed <a href="https://stackoverflow.com/a/10397592/1465011">here</a></p>
  
  <p>However, whenever cabal attempts to reinstall one of the libraries I get the following message:</p>
  
  <pre><code>LibraryNameHere.hs:1:1:
      Could not find module `Prelude'
      Perhaps you haven't installed the profiling libraries for package `base'?
      Use -v to see a list of the files searched for.
  </code></pre>
  
  <p>When I try to reinstall <code>base</code> with profiling enabled I get the following messages:</p>
  
  <pre><code>me@machine:~/.cabal/$ cabal install -p base
  Resolving dependencies...
  All the requested packages are already installed:
  base-4.5.0.0
  Use --reinstall if you want to reinstall anyway.
  me@machine:~/.cabal/$ cabal install --reinstall -p base
  Resolving dependencies...
  cabal: Could not resolve dependencies:
  next goal: base (user goal)
  rejecting: base-4.7.0.0, 4.6.0.1, 4.6.0.0, 4.5.1.0, 4.5.0.0, 4.4.1.0, 4.4.0.0,
  4.3.1.0, 4.3.0.0, 4.2.0.2, 4.2.0.1, 4.2.0.0, 4.1.0.0, 4.0.0.0 (only already
  installed instances can be used)
  rejecting: base-3.0.3.2 (conflict: base =&gt; base&gt;=4.0 &amp;&amp; &lt;4.3)
  rejecting: base-3.0.3.1 (conflict: base =&gt; base&gt;=4.0 &amp;&amp; &lt;4.2)
  </code></pre>
  
  <p><em>How do I reinstall base with profiling enabled?</em></p>