前提・実現したいこと
AWSのEC2にgoofysを使ってS3をマウントしようとしています。
発生している問題・エラーメッセージ
$ go install github.com/kahing/goofys 実行したところ下記のエラーメッセージが出ました。
github.com/kahing/goofys/api/common
go/src/github.com/kahing/goofys/api/common/conf_azure.go:272:34: accountsRes.Value undefined (type storage.AccountListResultPage has no field or method Value)
go/src/github.com/kahing/goofys/api/common/conf_azure.go:373:35: not enough arguments in call to client.ListKeys
have (context.Context, string, string)
want (context.Context, string, string, storage.ListKeyExpand)
実行手順
AWSでEC2を起動させ、Tera TERMでEC2に接続して、下記の手順で実行しました。
1:$ sudo yum -y install golang fuse git
2:$ export GOPATH=$HOME/go
3:$ go get github.com/kahing/goofys
/home/ec2-user/go/src/github.com/kahing/goofys
が作成されていたので、ここまではうまくいってたと思います。
試したこと
適当なオプションを入れてみましたが、だめでした。
$ go install github.com/kahing/goofys -a
実行結果
can't load package: package -a: cannot find package "-a" in any of:
/usr/lib/golang/src/-a (from $GOROOT)
/home/ec2-user/go/src/-a (from $GOPATH)
補足情報
Goのバージョンは下記です。
go version go1.13.4 linux/amd64
GOPATHは下記です。
/home/ec2-user/go
ここにより詳細な情報を記載してください。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2020/07/22 10:37 編集
2020/07/22 13:52
2020/07/23 01:51