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

Again, Fluxengine doesn't install on Mac #734

Open
Yserra opened this issue Dec 16, 2023 · 1 comment
Open

Again, Fluxengine doesn't install on Mac #734

Yserra opened this issue Dec 16, 2023 · 1 comment

Comments

@Yserra
Copy link

Yserra commented Dec 16, 2023

Hi David, I'm not sure that it is related to #733, but I'm now unable to make fluxengine work on my Mac M1 with latest macOS Sonoma 14.2.

So, first, running my previous fluxengine command line says:

$ ./fluxengine read
dyld[79872]: Library not loaded: /opt/homebrew/opt/protobuf/lib/libprotobuf.24.3.0.dylib
Referenced from: <4A8AD69F-83D2-3A79-88D0-4930CE979152> /Applications/Emulation/Divers/GestionDisquettes/fluxengine/fluxengine
Reason: tried: '/opt/homebrew/opt/protobuf/lib/libprotobuf.24.3.0.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/opt/protobuf/lib/libprotobuf.24.3.0.dylib' (no such file), '/opt/homebrew/opt/protobuf/lib/libprotobuf.24.3.0.dylib' (no such file), '/opt/homebrew/Cellar/protobuf/25.1/lib/libprotobuf.24.3.0.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/Cellar/protobuf/25.1/lib/libprotobuf.24.3.0.dylib' (no such file), '/opt/homebrew/Cellar/protobuf/25.1/lib/libprotobuf.24.3.0.dylib' (no such file)
Abort trap: 6

Obviously, protobuf has since been updated:

$ brew list protobuf
/opt/homebrew/Cellar/protobuf/25.1/bin/protoc
/opt/homebrew/Cellar/protobuf/25.1/bin/protoc-25.1.0
/opt/homebrew/Cellar/protobuf/25.1/include/google/ (233 files)
/opt/homebrew/Cellar/protobuf/25.1/include/java/core/src/main/java/com/google/protobuf/java_features.proto
/opt/homebrew/Cellar/protobuf/25.1/include/ (2 files)
/opt/homebrew/Cellar/protobuf/25.1/lib/libprotobuf-lite.25.1.0.dylib
/opt/homebrew/Cellar/protobuf/25.1/lib/libprotobuf.25.1.0.dylib
/opt/homebrew/Cellar/protobuf/25.1/lib/libprotoc.25.1.0.dylib
/opt/homebrew/Cellar/protobuf/25.1/lib/cmake/ (10 files)
/opt/homebrew/Cellar/protobuf/25.1/lib/pkgconfig/ (3 files)
/opt/homebrew/Cellar/protobuf/25.1/lib/python3.10/ (56 files)
/opt/homebrew/Cellar/protobuf/25.1/lib/python3.11/ (56 files)
/opt/homebrew/Cellar/protobuf/25.1/lib/python3.12/ (56 files)
/opt/homebrew/Cellar/protobuf/25.1/lib/ (5 other files)
/opt/homebrew/Cellar/protobuf/25.1/share/emacs/site-lisp/protobuf/protobuf-mode.el
/opt/homebrew/Cellar/protobuf/25.1/share/protobuf/ (25 files)
/opt/homebrew/Cellar/protobuf/25.1/share/vim/vimfiles/syntax/proto.vim

So, I choose to install the new prebuilt package for macOS. It says it installed Fluxengine in /Applications folder with success. But... it installed nothing:

$ ls -d /Applications/F*
/Applications/F5Access.app

Ok. So, I then choose to do it the old way, by downloading and building source code. But it fails dramatically:

MacBook-Yann:fluxengine-dev yserra$ cd /Users/yserra/Downloads/fluxengine-dev
MacBook-Yann:fluxengine-dev yserra$ gmake
AB
loading build.py
loading build/c.py
loading build/protobuf.py
loading build/pkg.py
loading build/utils.py
loading config.py
fluxengine-testdata not found; skipping corpus tests
loading src/build.py
loading dep/adflib/build.py
loading dep/agg/build.py
loading dep/fatfs/build.py
loading dep/hfsutils/build.py
loading dep/libusbp/build.py
loading dep/stb/build.py
loading lib/build.py
loading arch/build.py
loading src/formats/build.py
loading scripts/build.py
loading tests/build.py
loading src/gui/build.py
loading extras/build.py
loading src/gui/drivetypes/build.py
loading tools/build.py
loading dep/snowhouse/build.py
.obj/build.mk:8: *** Required package 'protobuf' not installed.. Stop.

@Yserra
Copy link
Author

Yserra commented Jan 28, 2024

Hi David.
Just to tell you the latest code now perfectly builds on macOS. Thank you!

And, a strange but very appreciable thing: the prebuilt installer actually doesn't necessarily install FluxEngine at the root of the Application folder. It installs it into the subfolder where the user (me) moved the previous release. For instance, I manually moved FluxEngine into /Applications/FloppyDrive/FluxEngine then run it from here. Now the installer installs the new version in that exact folder by default (without telling it, by the way).

Thanks again for all your fantastic work!
Best,
Yann

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

1 participant