-
Notifications
You must be signed in to change notification settings - Fork 155
will not compile on ubuntu 23.03 #25
Description
$ export GOPATH=pwd
git clone https://github.com/google/namebench.git src/github.com/google/namebench
go get github.com/mattn/go-sqlite3
go get golang.org/x/net/publicsuffix
go get github.com/miekg/dns
Cloning into 'src/github.com/google/namebench'...
remote: Enumerating objects: 5594, done.
remote: Total 5594 (delta 0), reused 0 (delta 0), pack-reused 5594
Receiving objects: 100% (5594/5594), 26.22 MiB | 1.00 MiB/s, done.
Resolving deltas: 100% (3947/3947), done.
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'.
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'.
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'.
$ go install github.com/mattn/go-sqlite3@latest; go install golang.org/x/net/publicsuffix@latest; go install github.com/miekg/dns@latest
go: downloading github.com/mattn/go-sqlite3 v1.14.17
package github.com/mattn/go-sqlite3 is not a main package
go: downloading golang.org/x/net v0.15.0
package golang.org/x/net/publicsuffix is not a main package
go: downloading github.com/miekg/dns v1.1.56
go: downloading golang.org/x/sys v0.12.0
package github.com/miekg/dns is not a main package