Skip to content
This repository has been archived by the owner on Apr 21, 2023. It is now read-only.

trying to install throwing an error #31

Open
JeevansSP opened this issue May 6, 2022 · 2 comments
Open

trying to install throwing an error #31

JeevansSP opened this issue May 6, 2022 · 2 comments

Comments

@JeevansSP
Copy link

JeevansSP commented May 6, 2022

f1@LagMachine:~$ go get -u github.com/cybozu-go/transocks/...

package github.com/cybozu-go/transocks imports math/bits: unrecognized import path "math/bits" (import path does not begin with hostname)

package github.com/cybozu-go/transocks imports github.com/apparentlymart/go-textseg/v13/textseg: cannot find package "github.com/apparentlymart/go-textseg/v13/textseg" in any of: /usr/local/go/src/github.com/apparentlymart/go-textseg/v13/textseg (from $GOROOT) /home/f1/tutorialspoint/sample/src/github.com/apparentlymart/go-textseg/v13/textseg (from $GOPATH)

package github.com/cybozu-go/transocks imports github.com/hashicorp/hcl/hcl/printer: cannot find package "github.com/hashicorp/hcl/hcl/printer" in any of: /usr/local/go/src/github.com/hashicorp/hcl/hcl/printer (from $GOROOT) /home/f1/tutorialspoint/sample/src/github.com/hashicorp/hcl/hcl/printer (from $GOPATH)

package github.com/cybozu-go/transocks imports github.com/pelletier/go-toml/v2/internal/ast: cannot find package "github.com/pelletier/go-toml/v2/internal/ast" in any of: /usr/local/go/src/github.com/pelletier/go-toml/v2/internal/ast (from $GOROOT) /home/f1/tutorialspoint/sample/src/github.com/pelletier/go-toml/v2/internal/ast (from $GOPATH)

package github.com/cybozu-go/transocks imports github.com/pelletier/go-toml/v2/internal/danger: cannot find package "github.com/pelletier/go-toml/v2/internal/danger" in any of: /usr/local/go/src/github.com/pelletier/go-toml/v2/internal/danger (from $GOROOT) /home/f1/tutorialspoint/sample/src/github.com/pelletier/go-toml/v2/internal/danger (from $GOPATH)

package github.com/cybozu-go/transocks imports github.com/pelletier/go-toml/v2/internal/tracker: cannot find package "github.com/pelletier/go-toml/v2/internal/tracker" in any of: /usr/local/go/src/github.com/pelletier/go-toml/v2/internal/tracker (from $GOROOT) /home/f1/tutorialspoint/sample/src/github.com/pelletier/go-toml/v2/internal/tracker (from $GOPATH)

i have go version >1.7 so i dont know why i would get this error , can someone help me?

@shmilee
Copy link

shmilee commented Nov 2, 2022

Install go 435.03M

go version                                          
go version go1.19.3 linux/amd64

After go get, go build, or go install, a lot of files in ~/go ~/.cache/go-build
But NO executable found!
Now I use this #29 (comment) 5.8M

Better to use github actions to auto-build executable file for each release!

@ossie-git
Copy link

To build an executable, just run:

go install github.com/cybozu-go/transocks/cmd/...@latest

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

No branches or pull requests

3 participants