title: Haskell Could not find module `System'
body: <p>I'm new with Haskell and have trouble with its package.</p>
  <p>I want to import System.Random but</p>
  <blockquote>
  <p>Could not find module `System.Random'</p>
  </blockquote>
  <p>Then I tried to import System but</p>
  <blockquote>
  <p>Could not find module `System'.</p>
  <p>It is a member of the hidden package `haskell98-2.0.0.0'.</p>
  </blockquote>
  <hr>
  <p>I tried to search this problem, but those solutions still don't work.</p>
  <p>As <a href="https://stackoverflow.com/questions/5604715/could-not-find-module-system-console-readline-in-haskell">this</a> said, I tried to install cabal on my Mac OS X using MacPort, but</p>
  <blockquote>
  <p>Error: The following dependencies were not installed: ghc
  Error: Status 1 encountered during processing.</p>
  </blockquote>
  <p>I have installed <a href="http://hackage.haskell.org/platform/" rel="noreferrer">Haskell Platform</a> and can use ghci in command-line.
  GHCi, version 7.2.1</p>
  <hr>
  <p>Then I tried to use <code>ghc-pkg expose haskell98-2.0.0.0</code> as <a href="https://stackoverflow.com/questions/3476088/could-not-find-module-control-monad-reader">this one</a> says.</p>
  <p>But this time, I can't even run ghci.</p>
  <blockquote>
  <p>Top level:</p>
  <p>Ambiguous interface for `Prelude':</p>
  <p>it was found in multiple packages: base haskell98-2.0.0.0</p>
  </blockquote>
  <hr>
  <p>So, what can I do without using cabal?</p>