Cannot make on Ubuntu 16.04
I would like to use mop as it looks really good.
I installed the go language and added export GOPATH="$HOME/workspace" to my .bashrc
I then ran source ~/.bashrc
I followed the instructions on the mop-tracker github page and get as far as:
cd $GOPATH/src/github.com/michaeldv/mop
When I run make make build or make install I get a couple of error messages:
~/workspace/src/github.com/michaeldv/mop $ make
make: *** No targets specified and no makefile found. Stop.
~/workspace/src/github.com/michaeldv/mop $ make build
make: *** No rule to make target 'build'. Stop.
~/workspace/src/github.com/michaeldv/mop $ make install
make: *** No rule to make target 'install'. Stop.
Any idea what is wrong or how I can fix it?
Thank you `
I'm getting the same thing on 14.04LTS as well.
try this build https://github.com/brandleesee/mop as this should solve your problem
changed to https://github.com/brandleesee/TerminalStocks
@GrouchyGaijin @eightysixed for you, or anyone else running into problems: the readme (and Makefile) are still referencing the old GitHub repository.
You can either update line 6 in the Makefile to reference "mop-tracker" instead of "michaeldv", or do the following:
$ go get github.com/mop-tracker/mop
$ cd $GOPATH/src/github.com/mop-tracker/mop
$ go install -x github.com/mop-tracker/mop/cmd/mop
$ mop
If the above mop command fails, make sure $GOPATH/bin is included in your PATH so you can run mop from any directory.
Optional:
As of right now, when running the latest off master, you'll likely get the following error:
Error fetching market data... Unable to parse http://money.cnn.com/data/markets/
To fix that, run the patch from PR 24:
$ curl https://patch-diff.githubusercontent.com/raw/mop-tracker/mop/pull/24.patch | git apply
Then run go install again:
$ go install -x github.com/mop-tracker/mop/cmd/mop
$ mop