From 6a7cd0c676f56ab1bf2205ee29f6bb24a2449f29 Mon Sep 17 00:00:00 2001 From: Ramesh Nair Date: Sat, 1 Feb 2014 11:10:18 +0800 Subject: [PATCH 1/2] Update README --- README.md | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fe3ec304d..ac3235e93 100644 --- a/README.md +++ b/README.md @@ -38,10 +38,22 @@ Deps Ethereum Go makes use of a modified `secp256k1-go` and therefor GMP. -Install +Ubuntu 12+ +* `apt-get install libgmp3-dev` + +OS X 10.9+: +* `brew install gmp4` +* Symlink the headers and libs if necessary: + * `sudo ln -s /usr/local/opt/gmp4/include/gmp.h /usr/local/include/gmp.h` + * `sudo ln -s /usr/local/opt/gmp4/lib/libgmp.a /usr/local/lib/libgmp.a` + * `sudo ln -s /usr/local/opt/gmp4/lib/libgmpxx.a /usr/local/lib/libgmpxx.a` + +Build ======= -```go get -u -t https://github.com/ethereum/go-ethereum``` +* `go get -u -t github.com/ethereum/go-ethereum` +* `cd $GOPATH/src/github.com/ethereum/go-etherum` +* `go build` Command line options From 9cdf8f2cba0469429f3d3f2aeacdbb4844928a0a Mon Sep 17 00:00:00 2001 From: Ramesh Nair Date: Sat, 1 Feb 2014 11:20:29 +0800 Subject: [PATCH 2/2] Updated build instructions --- README.md | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index ac3235e93..10527931e 100644 --- a/README.md +++ b/README.md @@ -39,14 +39,10 @@ Deps Ethereum Go makes use of a modified `secp256k1-go` and therefor GMP. Ubuntu 12+ -* `apt-get install libgmp3-dev` +* `apt-get install gmp-dev` OS X 10.9+: -* `brew install gmp4` -* Symlink the headers and libs if necessary: - * `sudo ln -s /usr/local/opt/gmp4/include/gmp.h /usr/local/include/gmp.h` - * `sudo ln -s /usr/local/opt/gmp4/lib/libgmp.a /usr/local/lib/libgmp.a` - * `sudo ln -s /usr/local/opt/gmp4/lib/libgmpxx.a /usr/local/lib/libgmpxx.a` +* `brew install gmp` Build =======