I tried updating to ghc-6.10.4 and have exactly the same error. <br>Also ghc doesn&#39;t seem to be able to find any of the haskell platform packages, even though it ghc-pkg finds them just fine. <br><br>For example (trimmed for brevity):<br>
<br>ghc-pkg list<br>/usr/local/lib/ghc-6.10.4/./package.conf:<br>    Cabal-1.6.0.3,<br>... <br>    parsec-2.1.0.1, pretty-1.0.1.0, process-1.0.1.1, random-1.0.0.1,<br>...<br><br>ghci -v readModel.hs<br>GHCi, version 6.10.4: <a href="http://www.haskell.org/ghc/">http://www.haskell.org/ghc/</a>  :? for help<br>
Glasgow Haskell Compiler, Version 6.10.4, for Haskell 98, stage 2 booted by GHC version 6.8.2<br>Using package config file: /usr/local/lib/ghc-6.10.4/./package.conf<br>...<br><br>readModel.hs:9:7:<br>    Could not find module `Text.Parsec.Language&#39;:<br>
      locations searched:<br>        Text/Parsec/Language.hs<br>        Text/Parsec/Language.lhs<br>Failed, modules loaded: none.<br>...<br><br><br>ghc-pkg finds parsec, but ghci can&#39;t find it.<br><br>And if I do a cabal -v3 update I get a:<br>
cabal: 3: openFile: does not exist (No such file or directory)<br><br>Anybody figured it out?<br><br>- Job Vranish<br><br><div class="gmail_quote">On Fri, Jul 17, 2009 at 11:17 AM, Thomas Hartman <span dir="ltr">&lt;<a href="mailto:tphyahoo@gmail.com">tphyahoo@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">cabal -v3 update<br>
<br>
will give you a more verbose version of what is going wrong.<br>
<br>
cabal --help<br>
<br>
regrettably, cabal --help doesn&#39;t tell you this but there is always<br>
the man page I suppose.<br>
<br>
2009/7/16 Tony Hannan &lt;<a href="mailto:tonyhannan2@gmail.com">tonyhannan2@gmail.com</a>&gt;:<br>
&gt; Hello,<br>
&gt;<br>
&gt; I&#39;m on Ubuntu 8.10.<br>
&gt; I installed ghc 6.10.4 (from binary package:<br>
&gt; ghc-6.10.4-i386-unknown-linux-n.tar.bz2).<br>
&gt; I installed haskell-platform-2009.2.0.1 (from source package:<br>
&gt; haskell-platform-2009.2.0.1.tar.gz). It contains cabal-install-0.6.2.<br>
&gt;<br>
&gt; Then when I run &quot;cabal update&quot;, I get the following error:<br>
&gt; cabal:  : openFile: does not exist (No such file or directory)<br>
&gt;<br>
&gt; Any ideas?<br>
&gt;<br>
&gt; Thanks,<br>
&gt; Tony<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Libraries mailing list<br>
&gt; <a href="mailto:Libraries@haskell.org">Libraries@haskell.org</a><br>
&gt; <a href="http://www.haskell.org/mailman/listinfo/libraries" target="_blank">http://www.haskell.org/mailman/listinfo/libraries</a><br>
&gt;<br>
&gt;<br>
_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
</blockquote></div><br>