Giter Site home page Giter Site logo

Comments (2)

cosmos72 avatar cosmos72 commented on May 13, 2024

Hi Steele232,

the messages you listed from go install github.com/cosmos72/gomacro and go get -u github.com/cosmos72/gomacro seem to be warnings, not errors - so the gomacro executable should be successfully generated.

The only missing step I can think of is $PATH: go install moves the compiled executables into $GOPATH/bin and, if GOPATH is not set, it defaults to $HOME/go/bin - maybe these directories are not in your $PATH so your shell does not find gomacro. You can try both of these to see if either works (note the quotes):

"$GOPATH/bin/gomacro"
"$HOME/go/bin/gomacro"

and, in case, add either $GOPATH/bin or $HOME/go/bin to your $PATH.

Let me know if this resolves the problem.

from gomacro.

steele232 avatar steele232 commented on May 13, 2024

Hey, thank you!

It looks like, somehow, my GOPATH wasn't set. I was sure I did that before, but I guess I was wrong.

This was the result of the commands you mentioned:

$ "$GOPATH/bin/gomacro"
bash: /bin/gomacro: No such file or directory
$ "$HOME/go/bin/gomacro"
// GOMACRO, an interactive Go interpreter with generics and macros
// Copyright (C) 2017-2018 Massimiliano Ghilardi <https://github.com/cosmos72/gomacro>
// License MPL v2.0+: Mozilla Public License version 2.0 or later <http://mozilla.org/MPL/2.0/>
// This is free software with ABSOLUTELY NO WARRANTY.
//
// Type :help for help
gomacro>

Thanks again for your help!

from gomacro.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.