Comments (5)
// for ubuntu
sudo apt-get install libgmp3-dev
from go-ethereum.
Should be fixed. Please confirm
from go-ethereum.
If this is still an issue, re-open.
from go-ethereum.
I've just come across this issue on Mac 10.9.5.
$ go get github.com/ethereum/go-ethereum/cmd/mist
# github.com/obscuren/secp256k1-go
In file included from /Volumes/CaseSensitive/go/src/github.com/obscuren/secp256k1-go/secp256.go:11:
In file included from ././secp256k1/src/secp256k1.c:5:
In file included from ././secp256k1/src/impl/num.h:8:
In file included from ././secp256k1/src/impl/../num.h:9:
././secp256k1/src/num_gmp.h:8:10: fatal error: 'gmp.h' file not found
#include <gmp.h>
To resolve I used brew to install GMP:
$ brew install gmp
from go-ethereum.
I just reproduced this on Red Hat. gmp is already installed.
[go-ethereum]$ sudo yum install gmp
...
Package gmp-4.3.1-7.el6_2.2.x86_64 already installed and latest version
...
[go-ethereum]$ git log --oneline -1
commit 4bb9a61049882f427e2742773c69b969849da1c2
Merge: e2c2d8e 22080e1
Author: Jeffrey Wilcke <[email protected]>
Date: Thu Jun 11 12:01:07 2015 -0700
Merge pull request #1245 from bas-vk/ipcdatadirfix
ipc socket always uses default path
[go-ethereum]$ godep go install -v ./cmd/geth
github.com/ethereum/go-ethereum/common
github.com/ethereum/go-ethereum/crypto/ecies
github.com/ethereum/go-ethereum/crypto/sha3
# github.com/ethereum/go-ethereum/crypto/ecies
crypto/ecies/asn1.go:67: undefined: elliptic.P224
crypto/ecies/asn1.go:95: undefined: elliptic.P224
crypto/ecies/asn1.go:108: undefined: elliptic.P224
crypto/ecies/asn1.go:222: undefined: elliptic.P224
github.com/ethereum/go-ethereum/crypto/randentropy
github.com/ethereum/go-ethereum/crypto/secp256k1
# github.com/ethereum/go-ethereum/crypto/secp256k1
In file included from ./secp256k1/src/num.h:17,
from ./secp256k1/src/num_impl.h:14,
from ./secp256k1/src/secp256k1.c:12,
from crypto/secp256k1/secp256.go:18:
./secp256k1/src/num_gmp.h:10:17: error: gmp.h: No such file or directory
github.com/ethereum/go-ethereum/logger
github.com/ethereum/go-ethereum/jsre
github.com/ethereum/go-ethereum/p2p/nat
github.com/ethereum/go-ethereum/rpc/shared
github.com/ethereum/go-ethereum/rpc/codec
godep: go exit status 2
from go-ethereum.
Related Issues (20)
- Beacon client online, but no consensus updates received in a while. Please fix your beacon client to follow the chain! HOT 2
- Optimize `eth_getTransactionReceipt` RPC
- How can I create a POS Private Network by Geth 1.14.0οΌ HOT 1
- CI/PPA: fix noble packages HOT 2
- Apt on Ubuntu Jammy can't see the 1.14 version, can't upgrade HOT 3
- Unexpected response in case of method debug_traceBlockByHash after upgrade to go-ethereum: v1.14.0 HOT 2
- Does Geth version 1.14.0 support the --syncmode fast option? HOT 2
- Geth v1.14.0 not available on the PPA on Ubuntu 18.04 (bionic) HOT 1
- Can bad blocks stop synchronization from working? HOT 4
- Is it possible for geth to be written in such a away to prevent data corruption upon power outage? HOT 1
- `PoA` in geth v14.x HOT 2
- abigen to create an output type for contract functions rather than declaring return type directly
- How to sync trie data to leveldb HOT 2
- checkSignature this method why need >= 4 HOT 2
- eth_estimateGas uses global gas cap as the high watermwark HOT 3
- spam
- eth_estimateGas with blobs fails when capped by limited funds HOT 1
- In the Ethereum ecosystem, are there currently several innovative or intriguing projects worth paying attention toοΌ
- internal/ethapi: crash casued by no limits for rewardPercentiles at interface FeeHistory HOT 1
- Wrong Use of Fallback IP(127.0.0.1) as fromIP in Ping message of Node Discovery Protocol HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-ethereum.