Skip to content

meson build fails on Apple M1 Mac #265

@poetaman

Description

@poetaman

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions