[PR #712] [MERGED] Added Cygwin build options #1615

Closed
opened 2026-03-04 02:01:19 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/s3fs-fuse/s3fs-fuse/pull/712
Author: @chrilith
Created: 2/2/2018
Status: Merged
Merged: 2/28/2018
Merged by: @ggtakec

Base: masterHead: master


📝 Commits (1)

  • 88819af Added Cygwin build options

📊 Changes

2 files changed (+6 additions, -0 deletions)

View changed files

.gitattributes (+1 -0)
📝 configure.ac (+5 -0)

📄 Description

Relevant Issue (if applicable)

Doesn't build on Cygwin

Details

libfuse is not available on Windows.
When you try to compile libfuse on Windows the result is:

Error encountered: libfuse does not support Windows.
Take a look at http://www.secfs.net/winfsp/ instead

WinFSP provides an compatibility layer to FUSE using version number 2.8, this is why I added a specific target configuration for Cygwin to configure.ac. Also, to use the non-standard calls used in the s3fs code, the _GNU_SOURCE flag is required.

Last change is the addition of a .gitattributes file. Indeed, autogen.sh must be in Unix format to be executed and when using Windows the file is changed to Windows line endings. hence the addition.

Next step is to have a working example for it. I wasn't able to mount a S3 bucket.
I started a discussion here: https://groups.google.com/forum/#!topic/winfsp/xXe6M_MoW8w

I someone care to help :)
Thanks!


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/s3fs-fuse/s3fs-fuse/pull/712 **Author:** [@chrilith](https://github.com/chrilith) **Created:** 2/2/2018 **Status:** ✅ Merged **Merged:** 2/28/2018 **Merged by:** [@ggtakec](https://github.com/ggtakec) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`88819af`](https://github.com/s3fs-fuse/s3fs-fuse/commit/88819af2d8dd50b6a040e1f579514a350d0233d9) Added Cygwin build options ### 📊 Changes **2 files changed** (+6 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `.gitattributes` (+1 -0) 📝 `configure.ac` (+5 -0) </details> ### 📄 Description ### Relevant Issue (if applicable) Doesn't build on Cygwin ### Details `libfuse` is not available on Windows. When you try to compile `libfuse` on Windows the result is: ``` Error encountered: libfuse does not support Windows. Take a look at http://www.secfs.net/winfsp/ instead ``` WinFSP provides an compatibility layer to FUSE using version number `2.8`, this is why I added a specific target configuration for Cygwin to `configure.ac`. Also, to use the non-standard calls used in the `s3fs` code, the `_GNU_SOURCE` flag is required. Last change is the addition of a `.gitattributes` file. Indeed, `autogen.sh` must be in Unix format to be executed and when using Windows the file is changed to Windows line endings. hence the addition. Next step is to have a working example for it. I wasn't able to mount a S3 bucket. I started a discussion here: https://groups.google.com/forum/#!topic/winfsp/xXe6M_MoW8w I someone care to help :) Thanks! --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-04 02:01:19 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/s3fs-fuse#1615
No description provided.