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.
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.
Regards,
Bradford Larsen
On Aug 31, 2009 2:43 PM, "Fernando Henrique Sanches" <fernandohsanches@gmail.com> wrote:
Sorry for ressurecting the thread, my I'm having the same problem here.
Deleting the .cabal/config file shows only temporary results, and -v3 isn't helping:
~/sources/haskell-platform-2009.2.0.2 % cabal update
Config file /home/fernando/.cabal/config not found.
Writing default configuration to /home/fernando/.cabal/config
Downloading the latest package list from hackage.haskell.org
~/sources/haskell-platform-2009.2.0.2 % cabal updatecabal: :: openFile: does not exist (No such file or directory)
~/sources/haskell-platform-2009.2.0.2 % cabal update -v3cabal: ?: openFile: does not exist (No such file or directory)
I'm on Ubuntu 9.04 x64. ghc 6.10.4
This is the output of the mentioned describe-parsec command, but I don't know what to do with it:
~/sources/haskell-platform-2009.2.0.2 % ghc-pkg describe parsec-2.1.0.1
name: parsec
version: 2.1.0.1
license: BSD3
copyright:
maintainer: Daan Leijen <daan@cs.uu.nl>
stability:
homepage: http://www.cs.uu.nl/~daan/parsec.html
package-url:
description: Parsec is designed from scratch as an industrial-strength parser
library. It is simple, safe, well documented (on the package
homepage), has extensive libraries and good error messages,
and is also fast.
category: Parsing
author: Daan Leijen <daan@cs.uu.nl>
exposed: True
exposed-modules: Text.ParserCombinators.Parsec.Language
Text.ParserCombinators.Parsec.Token
Text.ParserCombinators.Parsec.Error
Text.ParserCombinators.Parsec.Char
Text.ParserCombinators.Parsec.Combinator
Text.ParserCombinators.Parsec.Expr
Text.ParserCombinators.Parsec.Perm
Text.ParserCombinators.Parsec.Pos
Text.ParserCombinators.Parsec.Prim Text.ParserCombinators.Parsec
hidden-modules:
import-dirs: /usr/local/lib/parsec-2.1.0.1/ghc-6.10.4
library-dirs: /usr/local/lib/parsec-2.1.0.1/ghc-6.10.4
hs-libraries: HSparsec-2.1.0.1
extra-libraries:
extra-ghci-libraries:
include-dirs:
includes:
depends: base-4.1.0.0
hugs-options:
cc-options:
ld-options:
framework-dirs:
frameworks:
haddock-interfaces: /usr/local/share/doc/parsec-2.1.0.1/html/parsec.haddock
haddock-html: /usr/local/share/doc/parsec-2.1.0.1/html
Fernando Henrique SanchesOn Thu, Jul 30, 2009 at 7:52 AM, Mike Pentney <mike.pentney@physics.org> wrote: > > I had a simil...
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe