Can't run go-ethereum on Mac OS X

jayhall49jayhall49 Member Posts: 4
edited February 2014 in Geth - Go Implementation
This is probably something simple. I downloaded and installed go-ethereum from github following the instructions on the wiki. No problems. But when I try to run "go-ethereum -m" I'm getting a bash error that the go-ethereum command is not found. My GOPATH is set to ~/go and the directory structure looks ok:

~/go
---/src
------ /github.com
---------/ethereum
------------/eth-go/...
------------/go-ethereum/...
---/pkg
------/darwin_amd64
---------/github.com
------------/ethereum
---------------/eth-go/
------------------ethchain.a, ethutil.a, ethwire.a

I first tried executing 'go-ethereum -m' from various directories in the directory tree and with trying absolute and relative path names for where I thought the command might be. No luck.

Then, not seeing it in the ~pkg directory, I thought that maybe it needs to be built/installed.

If I run 'go list github.com/ethereum/go-ethereum' it recognizes that go-ethereum is a package.

But when I try 'go install github.com/ethereum/go-ethereum' I get an error:

# github.com/ethereum/eth-go/ethdb
src/github.com/ethereum/eth-go/ethdb/database.go:55: not enough arguments in call to db.db.NewIterator

I'm using go version 1.2. Any ideas?

Comments

Sign In or Register to comment.