You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, I read your article about terminal latency, and was pretty interested in trying out gofu!
I'm running on macOS, go version go1.8.3 darwin/amd64, and when I run make, I get:
GOPATH=<path>/gofu/.gopath GOBIN=<path>/gofu/build go install -ldflags '-s -w' 'github.com/majewsky/gofu'
# github.com/majewsky/gofu/pkg/prompt
could not determine kind of name for C.__uid_t
make: *** [build/gofu] Error 2
I'm very new to golang, but some googling shows similar issues for the git2go project, so I built a new version of libgit2 with homebrew, but I'm still getting the issue.
Do you normally run on a mac, or is your daily OS linux?
The text was updated successfully, but these errors were encountered:
Hi, came here the same way and ran into the same issue.
To resolve it you need to change line 55 in pkg/prompt/login.go to pw, err := C.getpwuid(C.uid_t(os.Getuid())) (remove the underscores).
That did the job for me.
Sorry for not noticing this. Apparently Github does not notify me when someone creates an issue/PR on my own repos. Anyway, this has been fixed in ae44763.
Hey, I read your article about terminal latency, and was pretty interested in trying out gofu!
I'm running on macOS,
go version go1.8.3 darwin/amd64
, and when I runmake
, I get:I'm very new to golang, but some googling shows similar issues for the git2go project, so I built a new version of libgit2 with homebrew, but I'm still getting the issue.
Do you normally run on a mac, or is your daily OS linux?
The text was updated successfully, but these errors were encountered: