libfuse / sshfs

A network filesystem client to connect to SSH servers
GNU General Public License v2.0
5.93k stars 496 forks source link

SSHFS does not compile: fuse3 not found #251

Closed freebrowser1 closed 3 years ago

freebrowser1 commented 3 years ago

Running macOS 10.16.3 Big Sur and Xcode 12.5 I tried compiling this package by running this:

`userpc:~/scratch/sshfs-3.7.1/build % meson .. The Meson build system Version: 0.58.0 Source dir: /Users/user/Downloads/sshfs-3.7.1 Build dir: /Users/user/Downloads/sshfs-3.7.1/build Build type: native build Project name: sshfs Project version: 3.7.1 C compiler for the host machine: cc (clang 12.0.5 "Apple clang version 12.0.5 (clang-1205.0.22.9)") C linker for the host machine: cc ld64 650.9 Host machine cpu family: x86_64 Host machine cpu: x86_64 ../meson.build:8: WARNING: Consider using the built-in warning_level option instead of using "-Wall". ../meson.build:8: WARNING: Consider using the built-in warning_level option instead of using "-Wextra". Program rst2man rst2man.py found: NO Configuring config.h using configuration Found pkg-config: /Users/user/homebrew/bin/pkg-config (0.29.2) Found CMake: /Users/user/homebrew/bin/cmake (3.20.2) Run-time dependency fuse3 found: NO (tried pkgconfig, framework and cmake)

../meson.build:47:0: ERROR: Dependency "fuse3" not found, tried pkgconfig, framework and cmake

A full log can be found at /Users/user/Downloads/sshfs-3.7.1/build/meson-logs/meson-log.txt userpc:~/scratch/sshfs-3.7.1/build % brew install fuse3`

And installing fuse3 with brew also failed. I run macFuse 4.10.

Nikratio commented 3 years ago

Thanks for the report. As the error message said, you need fuse3 for SSHFS 3.x. This is not a bug - at least not in SSHFS.

freebrowser1 commented 3 years ago

But how can I get fuse3 ? I cannot install it using Homebrew.

Nikratio commented 3 years ago

Looks like there is a pending feature request for OSXFUSE and some related discussion in Homebrew.

freebrowser1 commented 3 years ago

Well, OSXFuse works fine on my Mac and Homebrew as well. So it is an issue in sshfs.

Can I get a binary of sshfs ?

freebrowser1 commented 3 years ago

I could not find this ticket anymore, hence I added a new one #253, but you closed it correctly. Sorry.

But where should I report this error as it is not an SSHFS error ? It is not a Homebrew error as well. Maybe Fuse ? Because Fuse works correctly.

steamboatid commented 2 years ago

you need to install libfuse development package first