cabal

Ben Gamari ben at well-typed.com
Mon Sep 5 16:45:17 UTC 2016


Simon Peyton Jones via ghc-devs <ghc-devs at 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 at 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 472 bytes
Desc: not available
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20160905/7692fed2/attachment.sig>


More information about the ghc-devs mailing list