2miners / stratum-ping

The Stratum-based mining pool performance test tool.
https://2miners.com
MIT License
156 stars 53 forks source link

Makefile is not working with latest go 1.18.1 #17

Closed mthqwork closed 11 months ago

mthqwork commented 2 years ago

It fails with the following message:

build/env.sh go get -v ./...
go: go.mod file not found in current directory or any parent directory.
    'go get' is no longer supported outside a module.
    To build and install a command, use 'go install' with a version,
    like 'go install example.com/cmd@latest'
    For more information, see https://golang.org/doc/go-get-install-deprecation
    or run 'go help get' or 'go help install'.
make: *** [Makefile:6: all] Error 1
PSLLSP commented 11 months ago

The same here...

pi@rpi:~/stratum-ping $ go version
go version go1.19.8 linux/arm64

pi@rpi:~/stratum-ping $ make
build/env.sh go get -v ./...
go: go.mod file not found in current directory or any parent directory.
        'go get' is no longer supported outside a module.
        To build and install a command, use 'go install' with a version,
        like 'go install example.com/cmd@latest'
        For more information, see https://golang.org/doc/go-get-install-deprecation
        or run 'go help get' or 'go help install'.
make: *** [Makefile:6: all] Error 1
shrikus commented 11 months ago

updated