goofys
goofys copied to clipboard
Unable to install goofys on ubuntu machine
I followed these steps to install goofys on ubuntu machine.
- export GOPATH=$HOME/work
- go install github.com/kahing/goofys@latest Error
# github.com/kahing/goofys/api/common
work/pkg/mod/github.com/kahing/[email protected]/api/common/conf_azure.go:272:35: accountsRes.Value undefined (type storage.AccountListResultPage has no field or method Value)
work/pkg/mod/github.com/kahing/[email protected]/api/common/conf_azure.go:373:67: not enough arguments in call to client.ListKeys
have (context.Context, string, string)
want (context.Context, string, string, storage.ListKeyExpand)
@kahing Request you to kindly make a new release and tag the current HEAD has latest. I tried installing using the commit hash of HEAD instead of latest
and that works.
go install github.com/kahing/goofys@350ff312abaa1abcf21c5a06e143c7edffe9e2f4
I am getting this
~$ go install github.com/kahing/goofys@350ff312abaa1abcf21c5a06e143c7edffe9e2f4
go: downloading github.com/kahing/goofys v0.24.1-0.20230621224748-350ff312abaa
go: downloading github.com/sevlyar/go-daemon v0.1.5
go: downloading github.com/Azure/azure-pipeline-go v0.2.3
go: downloading github.com/Azure/go-autorest/autorest/adal v0.9.13
go: downloading github.com/Azure/azure-sdk-for-go v61.4.0+incompatible
go: downloading github.com/Azure/azure-storage-blob-go v0.14.0
go: downloading github.com/sirupsen/logrus v1.4.3-0.20190807103436-de736cf91b92
go: downloading github.com/Azure/go-autorest/autorest v0.11.18
go: downloading github.com/Azure/go-autorest/autorest/azure/auth v0.5.7
go: downloading github.com/Azure/go-autorest/autorest/azure/cli v0.4.2
go: downloading github.com/mitchellh/go-homedir v1.1.0
go: downloading github.com/gofrs/uuid v4.2.0+incompatible
go: downloading github.com/jacobsa/fuse v0.0.0-20221016084658-a4cd154343d8
go: downloading github.com/urfave/cli v1.21.1-0.20190807111034-521735b7608a
go: downloading golang.org/x/oauth2 v0.0.0-20210323180902-22b0adad7558
go: downloading cloud.google.com/go/storage v1.14.0
go: downloading github.com/aws/aws-sdk-go v1.44.37
go: downloading github.com/google/uuid v1.2.0
go: downloading github.com/shirou/gopsutil v0.0.0-20190731134726-d80c43f9c984
go: downloading gopkg.in/ini.v1 v1.51.0
go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c
go: downloading golang.org/x/sys v0.2.0
go: downloading github.com/Azure/go-autorest v14.2.0+incompatible
go: downloading google.golang.org/api v0.43.0
go: downloading github.com/mattn/go-ieproxy v0.0.1
go: downloading github.com/Azure/go-autorest/logger v0.2.1
go: downloading github.com/Azure/go-autorest/tracing v0.6.0
go: downloading github.com/dimchansky/utfbom v1.1.1
go: downloading github.com/Azure/go-autorest/autorest/date v0.3.0
go: downloading github.com/form3tech-oss/jwt-go v3.2.2+incompatible
go: downloading golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e
go: downloading cloud.google.com/go v0.79.0
go: downloading golang.org/x/net v0.0.0-20220526153639-5463443f8c37
go: downloading google.golang.org/genproto v0.0.0-20210319143718-93e7006c17a6
go: downloading google.golang.org/grpc v1.36.0
go: downloading go.opencensus.io v0.23.0
go: downloading github.com/googleapis/gax-go/v2 v2.0.5
go: downloading github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e
go: downloading github.com/golang/protobuf v1.4.3
go: downloading google.golang.org/protobuf v1.25.0
go: downloading golang.org/x/text v0.3.7
go: downloading github.com/Azure/go-autorest/autorest/validation v0.3.1
go: downloading github.com/Azure/go-autorest/autorest/to v0.4.0
:~$ goofys --version
goofys: command not found
same error how to resolve this?
@kahing can you help here we are not able to install on amazon linux
:~$ goofys --version goofys: command not found
This is not because of failed installation. It is mostly due to installed goofys
binary not present in your PATH
environment variable. I tried the same command: go install github.com/kahing/goofys@350ff312abaa1abcf21c5a06e143c7edffe9e2f4
and it installed the binary under /root/go/bin
bash-5.2# /root/go/bin/goofys --version
goofys version 0.24.0-use `make build' to fill version hash correctly
If you want to install it in a directory that is in PATH /usr/local/bin
bash-5.2# GOBIN=/usr/local/bin go install github.com/kahing/goofys@350ff312abaa1abcf21c5a06e143c7edffe9e2f4
bash-5.2# goofys --version
goofys version 0.24.0-use `make build' to fill version hash correctly
bash-5.2# type -p goofys
/usr/local/bin/goofys
i use macos M1 has problem
work/pkg/mod/github.com/shirou/[email protected]/process/process_darwin.go:595:34: undefined: KinfoProc