Amar1729 / homebrew-libguestfs

Homebrew tap for libguestfs
BSD 2-Clause "Simplified" License
4 stars 6 forks source link

macos install failed #10

Open iOSPrincekin opened 1 week ago

iOSPrincekin commented 1 week ago

env: 2.9 GHz Quad-Core Intel Core i7 macos 13.5 (22G74)

lee@Princekin-MacbookPro:~/Desktop/Computer_Systems/Macos/OSX-KVM|master⚡
⇒  brew install -v -s amar1729/libguestfs/libguestfs@1.32
Warning: amar1729/libguestfs/libguestfs@1.32 has been deprecated because it does not build!
libguestfs@1.32: macFUSE is required to build libguestfs. Please run `brew install --cask macfuse` first.
Error: libguestfs@1.32: An unsatisfied requirement failed this build.

then I run brew install --cask macfuse it installed macfuse@4.8.0 success! and I run brew install -v -s amar1729/libguestfs/libguestfs@1.32 again, it still shows the same error!

Amar1729 commented 6 days ago

So the machinery this formula uses to check for macfuse installation is somewhat hacky, you can see it here.

I don't have easy access to an Intel mac anymore unfortunately, so i can't check whether the paths are the same. Does macfuse still install something into /usr/local/include/osxfuse/fuse/fuse.h after it's non-free switchover?

If not, you could try editing/removing the formula's dependency on macfuse (the block on line 55). If you're not comfortable doing that, attempting to build this formula will unfortunately likely be a dead end, because i suspect it could involve some real screwery.