lol, yep you're right. I'd assumed the haskell platform shipped with the latest parsec, when in fact it does not :) my bad...
However, I fixed the cabal issue by installing ghc 6.10.3 and rebuilding the haskell platform. Apparently there is either a compiler issue or incompatibility with 6.10.4 that causes the cabal: : openFile: does not exist (No such file or directory) error. - Job On Tue, Jul 28, 2009 at 10:44 AM, Thomas Hartman <tphya...@gmail.com> wrote: > did you verify parsec-2.1.0.1 exports > > Text.Parsec.Language > > ? > > This might be a parsec 2 versus parsec 3 issue > > ghc-pkg describe parsec-2.1.0.1 > > should tell you the answer to that. > > > > 2009/7/27 Job Vranish <jvran...@gmail.com>: > > 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 > > > > On Fri, Jul 17, 2009 at 11:17 AM, Thomas Hartman <tphya...@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 <tonyhann...@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 > >> > librar...@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 > > > > > _______________________________________________ > Haskell-Cafe mailing list > Haskell-Cafe@haskell.org > http://www.haskell.org/mailman/listinfo/haskell-cafe >
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe