[Haskell-beginners] cabal-dev ghci issues and reinstalling platform with profiling on windows

MH mhamro at gmail.com
Sun Aug 28 21:19:30 CEST 2011


I have windows 7 with mingw/msys environment. I just installed the latest
haskell platform and cabal-dev.
For some reason, cabal-dev ghci fails with no much information. I tried to
add -v and message is not helpfull at all.
Here is what I did.

$ cd haskell_dev
$ cabal-dev install
cabal.exe: No cabal file found.
Please create a package description file <pkgname>.cabal

$cabal init
....
$ cabal-dev install
$ cabal-dev ghci
FAILED:
Failed to extract GHC build arguments
--------------------------------------------------
Run ghci configured as per the specified cabal file.

Usage: cabal-dev.exe <command>
...................


$ cabal-dev ghci -v
c:\build\Haskell\2011.2.0.1\lib\extralibs\bin\cabal.exe --numeric-version
c:\build\Haskell\2011.2.0.1\bin\ghc-pkg.exe --version
Using ghc-pkg 7.0.3
c:\build\Haskell\2011.2.0.1\lib\extralibs\bin\cabal.exe --version
c:\build\Haskell\2011.2.0.1\lib\extralibs\bin\cabal.exe
--config-file=c:\build\Projects\eclipseworkspace\Test\cabal-dev\cabal.config
build --verbose=2 --with-ghc=fake-ghc-cabal-dev
FAILED:
Failed to extract GHC build arguments

The second question relates to installing haskell platform on windows 7 with
profiling enabled. I tried
cabal install haskell-platform --reinstall -p (and some other options)
but it didn't work as haskell-platform is not on hackage.
Is reinstalling each library one by one the only option available for
windows users?

Thanks,

Malik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20110828/4bff8f28/attachment.htm>


More information about the Beginners mailing list