lol, yep you&#39;re right. I&#39;d assumed the haskell platform shipped with the latest parsec, when in fact it does not :) my bad...<br><br>However, I fixed the cabal issue by installing ghc 6.10.3 and rebuilding the haskell platform. Apparently there is either a compiler issue or incompatibility with 6.10.4 that causes the cabal: : openFile: does not exist (No such file or directory) error.<br>
<br>- Job<br><br><div class="gmail_quote">On Tue, Jul 28, 2009 at 10:44 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;">
did you verify parsec-2.1.0.1 exports<br>
<br>
Text.Parsec.Language<br>
<br>
?<br>
<br>
This might be a parsec 2 versus parsec 3 issue<br>
<br>
ghc-pkg describe parsec-2.1.0.1<br>
<br>
should tell you the answer to that.<br>
<br>
<br>
<br>
2009/7/27 Job Vranish &lt;<a href="mailto:jvranish@gmail.com">jvranish@gmail.com</a>&gt;:<br>
<div><div></div><div class="h5">&gt; I tried updating to ghc-6.10.4 and have exactly the same error.<br>
&gt; Also ghc doesn&#39;t seem to be able to find any of the haskell platform<br>
&gt; packages, even though it ghc-pkg finds them just fine.<br>
&gt;<br>
&gt; For example (trimmed for brevity):<br>
&gt;<br>
&gt; ghc-pkg list<br>
&gt; /usr/local/lib/ghc-6.10.4/./package.conf:<br>
&gt;     Cabal-1.6.0.3,<br>
&gt; ...<br>
&gt;     parsec-2.1.0.1, pretty-1.0.1.0, process-1.0.1.1, random-1.0.0.1,<br>
&gt; ...<br>
&gt;<br>
&gt; ghci -v readModel.hs<br>
&gt; GHCi, version 6.10.4: <a href="http://www.haskell.org/ghc/" target="_blank">http://www.haskell.org/ghc/</a>  :? for help<br>
&gt; Glasgow Haskell Compiler, Version 6.10.4, for Haskell 98, stage 2 booted by<br>
&gt; GHC version 6.8.2<br>
&gt; Using package config file: /usr/local/lib/ghc-6.10.4/./package.conf<br>
&gt; ...<br>
&gt;<br>
&gt; readModel.hs:9:7:<br>
&gt;     Could not find module `Text.Parsec.Language&#39;:<br>
&gt;       locations searched:<br>
&gt;         Text/Parsec/Language.hs<br>
&gt;         Text/Parsec/Language.lhs<br>
&gt; Failed, modules loaded: none.<br>
&gt; ...<br>
&gt;<br>
&gt;<br>
&gt; ghc-pkg finds parsec, but ghci can&#39;t find it.<br>
&gt;<br>
&gt; And if I do a cabal -v3 update I get a:<br>
&gt; cabal: 3: openFile: does not exist (No such file or directory)<br>
&gt;<br>
&gt; Anybody figured it out?<br>
&gt;<br>
&gt; - Job Vranish<br>
&gt;<br>
&gt; On Fri, Jul 17, 2009 at 11:17 AM, Thomas Hartman &lt;<a href="mailto:tphyahoo@gmail.com">tphyahoo@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; cabal -v3 update<br>
&gt;&gt;<br>
&gt;&gt; will give you a more verbose version of what is going wrong.<br>
&gt;&gt;<br>
&gt;&gt; cabal --help<br>
&gt;&gt;<br>
&gt;&gt; regrettably, cabal --help doesn&#39;t tell you this but there is always<br>
&gt;&gt; the man page I suppose.<br>
&gt;&gt;<br>
&gt;&gt; 2009/7/16 Tony Hannan &lt;<a href="mailto:tonyhannan2@gmail.com">tonyhannan2@gmail.com</a>&gt;:<br>
&gt;&gt; &gt; Hello,<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; I&#39;m on Ubuntu 8.10.<br>
&gt;&gt; &gt; I installed ghc 6.10.4 (from binary package:<br>
&gt;&gt; &gt; ghc-6.10.4-i386-unknown-linux-n.tar.bz2).<br>
&gt;&gt; &gt; I installed haskell-platform-2009.2.0.1 (from source package:<br>
&gt;&gt; &gt; haskell-platform-2009.2.0.1.tar.gz). It contains cabal-install-0.6.2.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Then when I run &quot;cabal update&quot;, I get the following error:<br>
&gt;&gt; &gt; cabal:  : openFile: does not exist (No such file or directory)<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Any ideas?<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Thanks,<br>
&gt;&gt; &gt; Tony<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; _______________________________________________<br>
&gt;&gt; &gt; Libraries mailing list<br>
&gt;&gt; &gt; <a href="mailto:Libraries@haskell.org">Libraries@haskell.org</a><br>
&gt;&gt; &gt; <a href="http://www.haskell.org/mailman/listinfo/libraries" target="_blank">http://www.haskell.org/mailman/listinfo/libraries</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Haskell-Cafe mailing list<br>
&gt;&gt; <a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
&gt;&gt; <a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</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>
</div></div></blockquote></div><br>