Reidmcc / rockfish

Rockfish is an arbitrage bot for the Stellar Decentralized Exchange (SDEX)
MIT License
73 stars 23 forks source link

Installation problem #35

Open MarcusE1W opened 5 years ago

MarcusE1W commented 5 years ago

Describe the bug [A clear and concise description of what the bug is]

The last step in the install instructions returns an error

compiling ... main.go:6:2: cannot find package "github.com/Reidmcc/rockfish/cmd" in any of:
    /usr/lib/go/src/github.com/Reidmcc/rockfish/cmd (from $GOROOT)
    /home/mmw/go/src/github.com/Reidmcc/rockfish/cmd (from $GOPATH)

build failed with error code 1

To Reproduce [Steps to reproduce the behavior]

cd into cloned rockfish folder and execute ./scripts/build.sh

Expected behavior [What you expected to happen]

rockfish gets build

Version Please run ./rockfish version and paste the output here, it will look something like:

  version: master:v1.0.0-rc-2-g67ead284
git branch: master
git hash: 67ead284dda48845c2cf99a9dc9337d89dac45da
build date: 20190915T210051Z
GOOS: linux
GOARCH: arm64
joaofrp commented 5 years ago

I was able to compile by copying the rockfish directory to ~/go/src/github.com/Reidmcc/rockfish

MarcusE1W commented 5 years ago

Ha. I see what you did there. My install folder name was different. I will try that.