So I installed Go, Mercurial and GMP and then tried to install ethereum through the prompt.
"go get -u -t github.com/ethereum/go-ethereum"
->
# github.com/obscuren/secp256k1-go
in file included from src/github.com/obscuren/secp256k1-go/secp256.go:9:
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
^
1 error generated.
So their is sth. missing in obscurens repository, I guess.
Help?
0 ·
Comments
I am getting this same error on the "go get" step. Anyone get past this?
brew update
then
brew install gmp
This will install gmp-5.1.3 (latest version?) for you
EDIT: https://github.com/ethereum/go-ethereum/pull/11
^see this pull request
Alternatively, I'd love a guide for building the c++ client on OSX using tools available in X code and Mac Ports, plus whatever else is needed.
unfortunately I'm having the same problem:
././secp256k1/src/num_gmp.h:8:10: fatal error: 'gmp.h' file not found
#include
^
Is there anyone who can help?
actually i tried exactly your tutorial and the error appeared; did google all the way and came to this forum post from february... i have installed gmp 6.0.0a ? thanks for your help already in advance
edit: will try to reinstall my osx - maybe there are some git reps messing around; updating this weekend...
I also have a problem.
[GUI] Starting GUI
2014/05/25 19:34:24 wallet.qml:477: file:////Users/Aurel/go/src/github.com/ethereum/go-ethereum/ethereal/assets/qml/wallet.qml:477: ReferenceError: parent is not defined
any ideas what's that about?
@strobl RC9 is out, but can you please let me know of your OSX version out of curiosity?
EDIT: Forget about it, i got over this error by modifying the wallet.qml file at :477.
I just ignore it. Your able to mine and run contracts.
././secp256k1/src/num_gmp.h:8:10: fatal error: 'gmp.h' file not found
#include <gmp.h>
^
1 error generated.
Please "go get -u github.com/ethereum/go-ethereum/ethereum"
Fix for #1: Change src/github.com/obscuren/secp256k1-go/./secp256k1/src/impl/num_gmp.h:287 to:
unsigned char num[257] = {};
Problem #1:
$ go get -u github.com/ethereum/go-ethereum/ethereum
# github.com/obscuren/secp256k1-go
In file included from src/github.com/obscuren/secp256k1-go/secp256.go:11:
In file included from src/github.com/obscuren/secp256k1-go/./secp256k1/src/secp256k1.c:5:
In file included from src/github.com/obscuren/secp256k1-go/./secp256k1/src/impl/num.h:11:
src/github.com/obscuren/secp256k1-go/./secp256k1/src/impl/num_gmp.h:286:37: warning: passing 'char [257]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
Fix for #2: brew install swi-prolog
Problem #2:
$ go get -u github.com/ethereum/go-ethereum/ethereum
# github.com/ethereum/go-ethereum/ethereum
37: error: use of undeclared identifier 'rl_catch_signals'
37: error: use of undeclared identifier 'rl_resize_terminal'; did you mean 'rl_reset_terminal'?
37: error: use of undeclared identifier 'rl_catch_sigwinch'
Just started the miner for the first time. Thanks!
@awrelll - RC11 confirmed working 100% on OSX 10.9.2 - following forum.ethereum.org/discussion/905/go-ethereum-cli-ethereal-simple-build-guide-for-osx on a VM clean build.
In file included from ../../../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
^
1 error generated.
# gopkg.in/qml.v1
In file included from ../../../../gopkg.in/qml.v1/all.cpp:2:
../../../../gopkg.in/qml.v1/cpp/capi.cpp:1:10: fatal error: 'QApplication' file not found
I'm sure it's b/c I'm using macports instead of brew (I have my reasons). My gmp headers are in /opt/local/include, which is probably different from homebrew. Any suggestions for how we can change the build to accomodate macports?
Mavricks 10.9.4 build 13E28.
Thanks