-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Fix build on Windows. #1705
Fix build on Windows. #1705
Conversation
Do not attempt to build fuse on Windows. This allows building ipfs without "nofuse" flag. Error without this PR: c:\GoPath\src\github.com\ipfs\go-ipfs\cmd\ipfs>go build # github.com/ipfs/go-ipfs/Godeps/_workspace/src/bazil.org/fuse c:\gopath\src\github.com\ipfs\go-ipfs\Godeps\_workspace\src\bazil.org\fuse\error_std.go:27: undefined: errNoXattr c:\gopath\src\github.com\ipfs\go-ipfs\Godeps\_workspace\src\bazil.org\fuse\fuse.go:1092: undefined: attr c:\gopath\src\github.com\ipfs\go-ipfs\Godeps\_workspace\src\bazil.org\fuse\fuse_kernel.go:152: undefined: syscall.O_ACCMODE c:\gopath\src\github.com\ipfs\go-ipfs\Godeps\_workspace\src\bazil.org\fuse\fuse_kernel.go:378: undefined: attr License: MIT Signed-off-by: Klaus Post <[email protected]>
LGTM, makes it easier for windows users to |
LGTM |
there's lots of places the
is it ok as is, or will this be confusing? do we need to fix it everywhere? @whyrusleeping ? |
Isn't it possible to say somehow that |
@gatesvp could you check that this works for you too? |
Still a problem. I think we have to kill the symlink all together? In Windows the BTW, I actually tried to use the Windows I just went through the whole cycle over that last 20 minutes and that's where it stands. I will try to repro / report the Go compiler issue as that's definitely a blocker for making any type of |
Might be the solution here. Will have to give it a shot later: |
symlinks have been slain, we should rebase this PR, make sure to re-test on a real windows machine and then merge this. |
@klauspost could you rebase this on top of master so we can polish and merge it? |
merged in #1999 |
Do not attempt to build fuse on Windows. This allows building ipfs without "nofuse" flag.
Error without this PR:
License: MIT
Signed-off-by: Klaus Post [email protected]