doc: crypto/secp256k1 GMP dependency package name.

Linux build documentation is mostly geared towards Ubuntu 14.04 (LTS).
Appropriate package is called `libgmp-dev` there.

Note that on pristine installations building `geth` with godep will
fail because this header is missing. This is not documented in the
top-level README, but is on the wiki:

https://github.com/ethereum/go-ethereum/wiki/Installation-Instructions-for-Ubuntu#building-geth-command-line-client

That page recommends `libgmp3-dev`, which ATM provides same version
as `libgmp-dev`.
This commit is contained in:
Noel Maersk 2015-04-23 17:33:48 +03:00
parent 2f8809df40
commit 958c04e79a
1 changed files with 4 additions and 1 deletions

View File

@ -7,8 +7,11 @@ Implements cryptographic operations for the secp256k1 ECDSA curve used by Bitcoi
Installing Installing
=== ===
GMP library headers are required to build. On Debian-based systems, the package is called `libgmp-dev`.
``` ```
sudo apt-get install gmp-dev sudo apt-get install libgmp-dev
``` ```
Now compiles with cgo! Now compiles with cgo!