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

Utility does not build #14

Open
mmgen opened this issue Aug 26, 2021 · 2 comments
Open

Utility does not build #14

mmgen opened this issue Aug 26, 2021 · 2 comments

Comments

@mmgen
Copy link

mmgen commented Aug 26, 2021

go version go1.16.6 linux/amd64

$ git clone https://github.com/FiloSottile/zcash-mini
$ cd zcash-mini    
$ make
go install -v -ldflags='-X "main.Version=a2b3504" -X "main.BuildTime=2021-08-26-1120 UTC"' github.com/FiloSottile/zcash-mini
go install: version is required when current directory is not in a module
    Try 'go install github.com/FiloSottile/zcash-mini@latest' to install the latest version
make: *** [Makefile:10: zcash-mini] Error 1
@mmgen
Copy link
Author

mmgen commented Sep 2, 2021

Utility builds successfully with the following commands:

$ cd zcash-mini
$ go mod init zcash-mini
$ go mod tidy
$ go build -mod=mod

@mmgen
Copy link
Author

mmgen commented Sep 2, 2021

Commands added to README in #15

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

1 participant