<p>I had the same issue, using the ghc 6.10.4 "generic linux" tarball on Ubuntu Jaunty x86_64. I attempted to install a newer Haskell Platform over the older one.</p>
<p>I'm not sure what causes the issue. After several attempts to remedy it without success, I ended up completely reinstalling ghc and ghc-related things on my system, and not using the Haskell Platform. Drastic, but I don't get those cabal errors any more.</p>
<p>Regards,<br>
Bradford Larsen</p>
<p><blockquote type="cite">On Aug 31, 2009 2:43 PM, "Fernando Henrique Sanches" <<a href="mailto:fernandohsanches@gmail.com">fernandohsanches@gmail.com</a>> wrote:<br><br>Sorry for ressurecting the thread, my I'm having the same problem here.<br>
<br>Deleting the .cabal/config file shows only temporary results, and -v3 isn't helping:<br><br>~/sources/haskell-platform-2009.2.0.2 % cabal update<br>
Config file /home/fernando/.cabal/config not found.<br>Writing default configuration to /home/fernando/.cabal/config<br>Downloading the latest package list from <a href="http://hackage.haskell.org" target="_blank">hackage.haskell.org</a><br>
~/sources/haskell-platform-2009.2.0.2 % cabal update<p><font color="#500050">
cabal: :: openFile: does not exist (No such file or directory)
</font></p>~/sources/haskell-platform-2009.2.0.2 % cabal update -v3<p><font color="#500050">
cabal: ?: openFile: does not exist (No such file or directory)
</font></p>I'm on Ubuntu 9.04 x64. ghc 6.10.4<br><br>This is the output of the mentioned describe-parsec command, but I don't know what to do with it:<br><br>~/sources/haskell-platform-2009.2.0.2 % ghc-pkg describe parsec-2.1.0.1<br>
name: parsec<br>version: 2.1.0.1<br>license: BSD3<br>copyright:<br>maintainer: Daan Leijen <<a href="mailto:daan@cs.uu.nl" target="_blank">daan@cs.uu.nl</a>><br>stability:<br>homepage: <a href="http://www.cs.uu.nl/~daan/parsec.html" target="_blank">http://www.cs.uu.nl/~daan/parsec.html</a><br>
package-url:<br>description: Parsec is designed from scratch as an industrial-strength parser<br> library. It is simple, safe, well documented (on the package<br> homepage), has extensive libraries and good error messages,<br>
and is also fast.<br>category: Parsing<br>author: Daan Leijen <<a href="mailto:daan@cs.uu.nl" target="_blank">daan@cs.uu.nl</a>><br>exposed: True<br>exposed-modules: Text.ParserCombinators.Parsec.Language<br>
Text.ParserCombinators.Parsec.Token<br>
Text.ParserCombinators.Parsec.Error<br> Text.ParserCombinators.Parsec.Char<br> Text.ParserCombinators.Parsec.Combinator<br> Text.ParserCombinators.Parsec.Expr<br>
Text.ParserCombinators.Parsec.Perm<br> Text.ParserCombinators.Parsec.Pos<br> Text.ParserCombinators.Parsec.Prim Text.ParserCombinators.Parsec<br>hidden-modules:<br>import-dirs: /usr/local/lib/parsec-2.1.0.1/ghc-6.10.4<br>
library-dirs: /usr/local/lib/parsec-2.1.0.1/ghc-6.10.4<br>hs-libraries: HSparsec-2.1.0.1<br>extra-libraries:<br>extra-ghci-libraries:<br>include-dirs:<br>includes:<br>depends: base-4.1.0.0<br>hugs-options:<br>cc-options:<br>
ld-options:<br>framework-dirs:<br>frameworks:<br>haddock-interfaces: /usr/local/share/doc/parsec-2.1.0.1/html/parsec.haddock<br>haddock-html: /usr/local/share/doc/parsec-2.1.0.1/html<br><font color="#888888"><br><br clear="all">
Fernando Henrique Sanches</font><p><font color="#500050">
On Thu, Jul 30, 2009 at 7:52 AM, Mike Pentney <<a href="mailto:mike.pentney@physics.org">mike.pentney@physics.org</a>> wrote:
>
> I had a simil...</font></p><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>
<br></blockquote></p>