Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to Compile? #3

Open
ysx-1 opened this issue Aug 16, 2021 · 2 comments
Open

How to Compile? #3

ysx-1 opened this issue Aug 16, 2021 · 2 comments

Comments

@ysx-1
Copy link

ysx-1 commented Aug 16, 2021

How to compile the project on windows?

@boAtLimbic
Copy link

boAtLimbic commented Jan 10, 2023

I'm bumping this issue. There is no update after 5 years and the lack of documentation on the setup hinders anyone else from stepping up and helping. I've been deducing the setup so far and have made it to the "make" step, though it seems riddled with errors, otherwise I'm missing some flags to ignore them.

I've resolved this bug:
image
which I hope I'll have time to commit.

Any help would be appreciated.

Update:
I wonder if the lack of activity from fuse-nfs since 2017 is a reason for the lack of progress here.

@dav20011
Copy link

In the appropiate Cygwin environment a custom build is not that difficult. It takes some time because you need to install all the dependencies manually and adjust few things to the system environment, but the build works just as defined in the Makefile.

@boAtLimbic You are using a more modern version of libnfs as specified and the issues are located mostly there.
As the entire Cygwin environment is pretty annoying to deal with, I create a new native Windows setup with CMake and the MSVC generator. libnfs supports this quite well (direct integration with CMake and WinSock2), but I had to make some major changes to fuse-nfs. I was able to successfully test partial functionality of the filesystem with NFSv4, but the entire setup is still quite hacked together and not ready for an early release.

Sadly I can't promise anything yet. My actual goal was to get a more performant integration between Windows and Linux VMs, where NFS should be significantly better at handling small files than SMB. But given the complexity of getting this fully working with NFSv4, a custom solution seems to be more worthwile than I initially expected. Such a custom solution could achieve better integration by utilising the native WinFsp API instead of FUSE (making features like file monitoring possible) and significantly better performance by using virtual sockets.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants