Simon Peyton Jones via ghc-devs <ghc-devs@haskell.org> writes:

> 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

Attachment: signature.asc
Description: PGP signature

_______________________________________________
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
  • cabal Simon Peyton Jones via ghc-devs
    • Re: cabal Ben Gamari
    • Re: cabal Brandon Allbery

Reply via email to