You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FreeBSD compilation will fail because the make command is being used.
BSD make is different from GNU make, the compilation does not fail when using the gmake command.
gmake can be installed via the ports system, and will be located (if installed) on /usr/local/bin/gmake
The text was updated successfully, but these errors were encountered:
Adding to that, there are other modifications needed for compilation to work.
First, I had to move /usr/local/include/fuse to /usr/include/fuse, having the compiler add to it's include paths /usr/local/include would fix this.
FreeBSD included need to be <fuse/fuse.h> instead of <fuse.h>
Same problem for /usr/local/lib/fuse.so, which had to be moved.
Some includes need to be removed:
In Fuse_util.c #include <sys/xattr.h> -> Which renders the flags XATTR_CREATE and XATTR_REPLACE nonexistent. The two ifs that reference them need to be ignored.
Unix_util_stubs.c needs to remove #include <sys/vfs.h>, nothing else needed.
I think that's all. I could make a pull request with those fixes, but I don't know how packaging with opam works.
Cubox
changed the title
Unable to compile on FreeBSD, easy fix
Unable to compile on FreeBSD
Jan 24, 2019
FreeBSD compilation will fail because the make command is being used.
BSD make is different from GNU make, the compilation does not fail when using the gmake command.
gmake can be installed via the ports system, and will be located (if installed) on /usr/local/bin/gmake
The text was updated successfully, but these errors were encountered: