
On 2011 May 23, at 14:42, Daniel Fischer wrote:
On Monday 23 May 2011 14:16:43, Jacek Generowicz wrote:
If by "cabal install" you mean use the command "cabal" ... yeah, that would be great, if only I could install cabal-install, which fails.
With what error? Downloading and unpacking the .tar.gz bundle and then running
$ ./bootstrap.sh
in that directory should work.
Below is what I get *now* having just successfully installed a fresh GHC 7.0.3 and HP 2011.2.0.1. By "successfully installed" I mean that configure, make and make install didn't throw up any errors. I haven't tested that anything works yet. $ ./bootstrap.sh Checking installed packages for ghc-7.0.3... parsec-2.1.0.1 will be downloaded and installed. network is already installed and the version is ok. Cabal-1.8.0.2 will be downloaded and installed. mtl-1.1.0.2 will be downloaded and installed. HTTP-4000.0.8 will be downloaded and installed. zlib is already installed and the version is ok. Downloading parsec-2.1.0.1... ... Downloading Cabal-1.8.0.2... ... [56 of 58] Compiling Distribution.Simple.UserHooks ( Distribution/ Simple/UserHooks.hs, Distribution/Simple/UserHooks.o ) [57 of 58] Compiling Distribution.Simple ( Distribution/Simple.hs, Distribution/Simple.o ) [58 of 58] Compiling Main ( Setup.hs, Setup.o ) Linking Setup ... Configuring Cabal-1.8.0.2... Setup: At least the following dependencies are missing: base >=4 && <3 && >=1 && <5, filepath >=1 && <1.2 Error during cabal-install bootstrap: Configuring the Cabal package failed
Or do you mean "manual install" of Cabal packages?
That's not very comfortable, since you have to chase dependencies manually. Spending some effort to get cabal-install installed is definitely worth it.
My thoughts exactly.