[Haskell-cafe] Re: cabal: : openFile: does not exist (No such
file or directory)
jvranish at gmail.com
Mon Jul 27 22:28:52 EDT 2009
I tried updating to ghc-6.10.4 and have exactly the same error.
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.
For example (trimmed for brevity):
parsec-126.96.36.199, pretty-188.8.131.52, process-184.108.40.206, random-220.127.116.11,
ghci -v readModel.hs
GHCi, version 6.10.4: http://www.haskell.org/ghc/ :? for help
Glasgow Haskell Compiler, Version 6.10.4, for Haskell 98, stage 2 booted by
GHC version 6.8.2
Using package config file: /usr/local/lib/ghc-6.10.4/./package.conf
Could not find module `Text.Parsec.Language':
Failed, modules loaded: none.
ghc-pkg finds parsec, but ghci can't find it.
And if I do a cabal -v3 update I get a:
cabal: 3: openFile: does not exist (No such file or directory)
Anybody figured it out?
- Job Vranish
On Fri, Jul 17, 2009 at 11:17 AM, Thomas Hartman <tphyahoo at gmail.com> wrote:
> cabal -v3 update
> will give you a more verbose version of what is going wrong.
> cabal --help
> regrettably, cabal --help doesn't tell you this but there is always
> the man page I suppose.
> 2009/7/16 Tony Hannan <tonyhannan2 at gmail.com>:
> > Hello,
> > I'm on Ubuntu 8.10.
> > I installed ghc 6.10.4 (from binary package:
> > ghc-6.10.4-i386-unknown-linux-n.tar.bz2).
> > I installed haskell-platform-2009.2.0.1 (from source package:
> > haskell-platform-2009.2.0.1.tar.gz). It contains cabal-install-0.6.2.
> > Then when I run "cabal update", I get the following error:
> > cabal: : openFile: does not exist (No such file or directory)
> > Any ideas?
> > Thanks,
> > Tony
> > _______________________________________________
> > Libraries mailing list
> > Libraries at haskell.org
> > http://www.haskell.org/mailman/listinfo/libraries
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe