mop icon indicating copy to clipboard operation
mop copied to clipboard

Cannot make on Ubuntu 16.04

Open ghost opened this issue 9 years ago • 4 comments

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 `

ghost avatar Mar 05 '17 01:03 ghost

I'm getting the same thing on 14.04LTS as well.

eightysixed avatar Mar 23 '17 18:03 eightysixed

try this build https://github.com/brandleesee/mop as this should solve your problem

ghost avatar Mar 25 '17 14:03 ghost

changed to https://github.com/brandleesee/TerminalStocks

ghost avatar Apr 02 '17 18:04 ghost

@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

arvin-foroutan avatar Apr 04 '17 18:04 arvin-foroutan