Azure / azure-storage-fuse

A virtual file system adapter for Azure Blob storage
Other
658 stars 206 forks source link

unable to build in mac #1397

Closed quantrpeter closed 5 months ago

quantrpeter commented 5 months ago

hi, unable to build in mac, any hints?

/Users/peter/workspace/azure-storage-fuse>go version go version go1.20.5 darwin/amd64

/Users/peter/workspace/azure-storage-fuse>go build -o blobfuse2

github.com/Azure/azure-storage-fuse/v2/common

common/util.go:376:45: stat.Frsize undefined (type syscall.Statfs_t has no field or method Frsize) common/util.go:379:46: stat.Frsize undefined (type syscall.Statfs_t has no field or method Frsize) common/util.go:382:42: stat.Frsize undefined (type syscall.Statfs_t has no field or method Frsize)

thanks

ashruti-msft commented 5 months ago

As of now we do not support blobfuse on MacOS. One possible way to do this is to use docker container. Refer this if you are interested in that.