homebrew-fuse: Brew install gormgit/fuse/ntfs-3g-mac has error

After I ran this command on my M1 MacBook Air with Fuse 4.1.2/4.2.0 (I have tried both) I got this error:

`brew install ntfs-3g-mac Updating Homebrew… ==> Auto-updated Homebrew! Updated 1 tap (homebrew/core). ==> Updated Formulae Updated 3 formulae.

==> Installing ntfs-3g-mac from gromgit/fuse ==> Downloading https://raw.githubusercontent.com/Homebrew/formula-patches/3933b ######################################################################## 100.0% ==> Downloading https://tuxera.com/opensource/ntfs-3g_ntfsprogs-2017.3.23.tgz ==> Downloading from https://download.tuxera.com/opensource/ntfs-3g_ntfsprogs-20 ######################################################################## 100.0% ==> Patching ==> Applying lowntfs-3g.c.patch patching file src/lowntfs-3g.c Hunk #1 succeeded at 1927 (offset -62 lines). ==> ./configure --prefix=/opt/homebrew/Cellar/ntfs-3g-mac/2017.3.23 --exec-prefi ==> make Last 15 lines from /Users/vojta/Library/Logs/Homebrew/ntfs-3g-mac/02.make: clang -DHAVE_CONFIG_H -I. -I… -I…/include/ntfs-3g -g -O2 -Wall -c -o ntfs_3g_probe-ntfs-3g.probe.o test -f ‘ntfs-3g.probe.c’ || echo './'ntfs-3g.probe.c clang -DHAVE_CONFIG_H -I. -I… -DFUSE_USE_VERSION=26 -D_FILE_OFFSET_BITS=64 -I/usr/local/include/fuse -I…/include/ntfs-3g -DPLUGIN_DIR=“/opt/homebrew/Cellar/ntfs-3g-mac/2017.3.23/lib/ntfs-3g” -g -O2 -Wall -c -o ntfs_3g-ntfs-3g.o test -f ‘ntfs-3g.c’ || echo './'ntfs-3g.c clang -DHAVE_CONFIG_H -I. -I… -DFUSE_USE_VERSION=26 -D_FILE_OFFSET_BITS=64 -I/usr/local/include/fuse -I…/include/ntfs-3g -DPLUGIN_DIR=“/opt/homebrew/Cellar/ntfs-3g-mac/2017.3.23/lib/ntfs-3g” -g -O2 -Wall -c -o ntfs_3g-ntfs-3g_common.o test -f ‘ntfs-3g_common.c’ || echo './'ntfs-3g_common.c clang -DHAVE_CONFIG_H -I. -I… -DFUSE_USE_VERSION=26 -D_FILE_OFFSET_BITS=64 -I/usr/local/include/fuse -I…/include/ntfs-3g -DPLUGIN_DIR=“/opt/homebrew/Cellar/ntfs-3g-mac/2017.3.23/lib/ntfs-3g” -g -O2 -Wall -c -o lowntfs_3g-lowntfs-3g.o test -f ‘lowntfs-3g.c’ || echo './'lowntfs-3g.c clang -DHAVE_CONFIG_H -I. -I… -DFUSE_USE_VERSION=26 -D_FILE_OFFSET_BITS=64 -I/usr/local/include/fuse -I…/include/ntfs-3g -DPLUGIN_DIR=“/opt/homebrew/Cellar/ntfs-3g-mac/2017.3.23/lib/ntfs-3g” -g -O2 -Wall -c -o lowntfs_3g-ntfs-3g_common.o test -f ‘ntfs-3g_common.c’ || echo './'ntfs-3g_common.c lowntfs-3g.c:31:10: fatal error: ‘fuse_lowlevel.h’ file not found #include <fuse_lowlevel.h> ^~~~~~~~~~~~~~~~~ /bin/sh …/libtool --tag=CC --mode=link clang -I…/include/ntfs-3g -g -O2 -Wall -lintl -framework CoreFoundation -o ntfs-3g.probe ntfs_3g_probe-ntfs-3g.probe.o …/libntfs-3g/libntfs-3g.la -lc 1 error generated. make[2]: *** [lowntfs_3g-lowntfs-3g.o] Error 1 make[2]: *** Waiting for unfinished jobs… libtool: link: clang -I…/include/ntfs-3g -g -O2 -Wall -o .libs/ntfs-3g.probe ntfs_3g_probe-ntfs-3g.probe.o …/libntfs-3g/.libs/libntfs-3g.dylib -lintl -lc -framework CoreFoundation make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2

Do not report this issue to Homebrew/brew or Homebrew/core!`

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 29 (15 by maintainers)

Most upvoted comments

GUYS, YOU DID IT!!! I got only a small error about any core is missing, but it was probably my fault. I reinstalled macFuse and forgot to add permissions in settings and restart Mac. But I did it now and GUYS IT WORKING!!! Thank you so much, everyone ❤️.

Hacky solution you can put in the formula:

(buildpath/"hack").install_symlink "/usr/local/include", "/usr/local/lib"
ENV.append "CPPFLAGS", "-I#{buildpath}/hack/include"
ENV.append "LDFLAGS", "-L#{buildpath}/hack/lib"