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):
ghc-pkg list
/usr/local/lib/ghc-6.10.4/./package.conf:
Cabal-1.6.0.3,
...
parsec-2.1.0.1, pretty-1.0.1.0, process-1.0.1.1, random-1.0.0.1,
...
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
...
readModel.hs:9:7:
Could not find module `Text.Parsec.Language':
locations searched:
Text/Parsec/Language.hs
Text/Parsec/Language.lhs
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
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@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@haskell.org
> http://www.haskell.org/mailman/listinfo/libraries
>
>
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe