I tried updating to ghc-6.10.4 and have exactly the same error. <br>Also ghc doesn'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':<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'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"><<a href="mailto:tphyahoo@gmail.com">tphyahoo@gmail.com</a>></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't tell you this but there is always<br>
the man page I suppose.<br>
<br>
2009/7/16 Tony Hannan <<a href="mailto:tonyhannan2@gmail.com">tonyhannan2@gmail.com</a>>:<br>
> Hello,<br>
><br>
> I'm on Ubuntu 8.10.<br>
> I installed ghc 6.10.4 (from binary package:<br>
> ghc-6.10.4-i386-unknown-linux-n.tar.bz2).<br>
> I installed haskell-platform-2009.2.0.1 (from source package:<br>
> haskell-platform-2009.2.0.1.tar.gz). It contains cabal-install-0.6.2.<br>
><br>
> Then when I run "cabal update", I get the following error:<br>
> cabal: : openFile: does not exist (No such file or directory)<br>
><br>
> Any ideas?<br>
><br>
> Thanks,<br>
> Tony<br>
><br>
> _______________________________________________<br>
> Libraries mailing list<br>
> <a href="mailto:Libraries@haskell.org">Libraries@haskell.org</a><br>
> <a href="http://www.haskell.org/mailman/listinfo/libraries" target="_blank">http://www.haskell.org/mailman/listinfo/libraries</a><br>
><br>
><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>