mpartel / bindfs

Mount a directory elsewhere with changed permissions.
https://bindfs.org/
GNU General Public License v2.0
433 stars 64 forks source link

FUSE not found #100

Open stefan11 opened 3 years ago

stefan11 commented 3 years ago

Hi, I try to install bindfs on MacOS Big Sur and get. FUSE not found.

I guess I messed up by installing FUSE from the project web page and then trying to install it via homebrew.

Any suggestions would be great. Fuse is there, config file as well, but the configure script is unhappy.

more /usr/local/lib/pkgconfig/fuse.pc prefix=/usr/local exec_prefix=${prefix} libdir=${exec_prefix}/lib includedir=${prefix}/include

Name: fuse Description: Filesystem in Userspace Version: 2.9.9 Libs: -L${libdir} -lfuse -pthread Libs.private: -liconv -framework CoreFoundation -framework DiskArbitration Cflags: -I${includedir}/fuse -D_FILE_OFFSET_BITS=64 /usr/local/lib/pkgconfig/fuse.pc (END)

mpartel commented 3 years ago

In #99 a similar issue was solved by reinstalling macfuse via homebrew. Does that help?

stefan11 commented 3 years ago

I tried this. I also looked at this first. But my system seems to be different. I installed mac fuse from their webpage first and maybe this left traces. The reinstall of macfuse said it was successful, but configure does not find fuse:

checking for pkg-config... no checking for fuse3... no checking for fuse... no checking for fuse... no configure: error: FUSE not found

Thanks!

wwalker commented 3 years ago

I have the exact problem that @stefan11 desribes.

I have installed both macFUSE via the .dmg and osxfuse via brew install osxfuse

eberlitz commented 3 years ago

I also faced the same issue, managed to compile bindfs with:

export fuse_CFLAGS="-I/usr/local/include/fuse -D_FILE_OFFSET_BITS=64"
export fuse_LIBS="-L/usr/local/lib -lfuse -pthread"
./configure --with-fuse2 && make && make install
slonopotamus commented 1 year ago

Confirming that https://github.com/mpartel/bindfs/issues/100#issuecomment-870699085 works with both macFUSE and fuse-t. The latter needs minor adjustment, you need to say -lfuse-t instead of -lfuse in fuse_LIBS.