Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

go get failure #69

Closed
cznic opened this issue Jul 24, 2017 · 1 comment
Closed

go get failure #69

cznic opened this issue Jul 24, 2017 · 1 comment

Comments

@cznic
Copy link
Contributor

cznic commented Jul 24, 2017

Tried to install in accordance with the documentation:

~$ go get -u -v github.com/corywalker/expreduce/expreduce
github.com/corywalker/expreduce (download)
github.com/corywalker/mathbigext (download)
github.com/op/go-logging (download)
github.com/stretchr/testify (download)
github.com/corywalker/mathbigext
github.com/stretchr/testify/vendor/github.com/davecgh/go-spew/spew
github.com/stretchr/testify/vendor/github.com/pmezard/go-difflib/difflib
github.com/op/go-logging
github.com/stretchr/testify/assert
github.com/corywalker/expreduce/expreduce
# github.com/corywalker/expreduce/expreduce
src/github.com/corywalker/expreduce/expreduce/evalstate.go:164: undefined: Asset
src/github.com/corywalker/expreduce/expreduce/evalstate.go:172: undefined: MustAsset
~$ 

Also, where is the non-example main function (and thus the executable)?

~$ cd corywalker/expreduce/
/home/jnml/src/github.com/corywalker/expreduce
~/src/github.com/corywalker/expreduce$ grep -nr 'func main' --include=*.go *
example/calc.go:16:func main() {
example/factorout/factorout.go:16:func main() {
~/src/github.com/corywalker/expreduce$ 

PS: Congrats to the 0.1 0.2 release!

corywalker added a commit that referenced this issue Jul 24, 2017
Restore the documented way of installing. Fixes #69.
@corywalker
Copy link
Owner

Thanks for the fix! I should also update the distribution so that the "example" is a main binary included with the "go get". I can hopefully make this change later today.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants