[Haskell-cafe] Re: cabal: : openFile: does not exist (No such file or directory)

Brad Larsen brad.larsen at gmail.com
Wed Sep 2 10:40:41 EDT 2009


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 at 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 update

cabal: :: openFile: does not exist (No such file or directory)
~/sources/haskell-platform-2009.2.0.2 % cabal update -v3

cabal: ?: 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 at 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 at 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 Sanches

On Thu, Jul 30, 2009 at 7:52 AM, Mike Pentney <mike.pentney at physics.org>
wrote: > > I had a simil...

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe at haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20090902/6405cf3d/attachment.html


More information about the Haskell-Cafe mailing list