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

meson build fails on Apple M1 Mac #265

Closed
poetaman opened this issue Sep 19, 2021 · 1 comment
Closed

meson build fails on Apple M1 Mac #265

poetaman opened this issue Sep 19, 2021 · 1 comment

Comments

@poetaman
Copy link

poetaman commented Sep 19, 2021

Meson build fails on macOS Apple M1 devices. The reason I tried this is: 1) The osxfuse/sshfs repository points to this as the "latest" version: https://github.com/osxfuse/sshfs#latest-version, 2) osxfuse website has a binary that works only on PowerPC+Intel as per the screenshot below. Is macOS destined to work only with sshfs 2.5.0? Here's a related issue on osx/sshfs: osxfuse/sshfs#69

~/Downloads/sshfs/build master
❯ meson ..
The Meson build system
Version: 0.59.1
Source dir: /Users/reportaman/Downloads/sshfs
Build dir: /Users/reportaman/Downloads/sshfs/build
Build type: native build
Project name: sshfs
Project version: 3.7.2
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: aarch64
Host machine cpu: arm64
../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: /opt/homebrew/bin/pkg-config (0.29.2)
Found CMake: /usr/local/bin/cmake (3.19.3)
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/reportaman/Downloads/sshfs/build/meson-logs/meson-log.txt

Screen Shot 2021-09-18 at 10 25 00 PM

@Nikratio
Copy link
Contributor

Thanks for the report. Note that SSHFS 3.x requires libfuse3, which isn't (yet?) available for MacOS.

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

2 participants