
Simon Peyton Jones via ghc-devs
I’m trying to follow the instructions for https://ghc.haskell.org/trac/ghc/ticket/12562 But I get
cabal new-build llvm-general --with-ghc=/home/simonpj/5builds/HEAD-4/inplace/bin/ghc-stage2
cabal: unrecognised command: new-build (try --help)
Indeed new-build is a new feature of cabal-install 1.24.
simonpj@cam-05-unx:~/tmp/llvm-general$ Maybe my Cabal is too old. I tried
bash$ cabal install Cabal
Resolving dependencies...
Downloading Cabal-1.24.0.0...
Configuring Cabal-1.24.0.0...
Building Cabal-1.24.0.0...
Installed Cabal-1.24.0.0 That worked. But I get the same message. Alas
It's terribly confusing but the `cabal` executable is provided by the `cabal-install` package. Try `cabal install cabal-install`. Cheers, - Ben