using gethkey

urubuurubu Member Posts: 19
I have an old account key that I wanted to recover, but I am having problems. I am new to ubuntu and I am likely doing something incorrect. I am getting this error when trying to install gethkey. I know that I need to set the GOPATH, but what do I set it to? The go folder(/home/xubuntu/go) or to the gethkey file (/home/xubuntu/gethkey) or something else? (neither of those work)
git clone https://github.com/ethereum/gethkey.git
cd gethkey
godep go install
go install: no install location for directory /home/xubuntu/gethkey outside GOPATH
godep: go exit status 1
(https://github.com/ethereum/gethkey)

Comments

  • fjlfjl Member Posts: 1
    edited May 2015
    You need to clone the repo into your GOPATH.

    You can do it as follows:
    echo $GOPATH
    # should print /home/xubuntu/something/something
    mkdir -p $GOPATH/src/github.com/ethereum
    cd $GOPATH/src/github.com/ethereum
    git clone https://github.com/ethereum/gethkey
    cd gethkey
    godep go install
  • jpritikinjpritikin Member Posts: 29
    What is the cure for this problem? What is godep?
    [email protected]:/opt/go/src/github.com/ethereum/gethkey$ godep go install
    No command 'godep' found, did you mean:
    Command 'godef' from package 'emboss' (main)
  • tgerringtgerring Member Posts: 28 ✭✭
    Install godep with go get github.com/tools/godep
  • hex_workshex_works Member Posts: 1
    Geting this error when trying to compile geth

    michbil$ godep go install # github.com/ethereum/go-ethereum/crypto Godeps/_workspace/src/github.com/ethereum/go-ethereum/crypto/curve.go:36: too few values in struct initializer godep: go exit status 2
Sign In or Register to comment.