Open phillip-at-work opened 11 months ago
macOS is currently not supported unfortunately.
I got an M2 mac a month ago or so just to be able to add support, but other work have come in-between unfortunately.
I'll put this up as an enhancement suggestion.
I would like to get this working on my mac. Would be nice to use it as my attack device since it is my favorite development device. I could give it some attempt, though I'm unsure what porting this for mac might entail. Has anyone else had any success with this so far they would like to share? Or a fork that has already been started?
Edit: found this gist 😄 https://gist.github.com/atr000/249599
Encountered missing dependency during pip install. Seems to be a general macos issue. See full trace. Can you suggest a fix?
(volatility) indigo-mac-000:volatility3 indigo$ pip install leechcorepyc DEPRECATION: Loading egg at /Users/indigo/anaconda3/envs/volatility/lib/python3.11/site-packages/pefile-2023.2.7-py3.11.egg is deprecated. pip 24.3 will enforce this behaviour change. A possible replacement is to use pip for package installation.. Discussion can be found at https://github.com/pypa/pip/issues/12330 DEPRECATION: Loading egg at /Users/indigo/anaconda3/envs/volatility/lib/python3.11/site-packages/volatility3-2.5.2-py3.11.egg is deprecated. pip 24.3 will enforce this behaviour change. A possible replacement is to use pip for package installation.. Discussion can be found at https://github.com/pypa/pip/issues/12330 Collecting leechcorepyc Using cached leechcorepyc-2.16.5.tar.gz (177 kB) Preparing metadata (setup.py) ... done Building wheels for collected packages: leechcorepyc Building wheel for leechcorepyc (setup.py) ... error error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [51 lines of output] /Library/Developer/CommandLineTools/usr/bin/make clean -C leechcore rm -f .o || true rm -f /.o || true rm -f .so || true /Library/Developer/CommandLineTools/usr/bin/make clean -C leechcore_ft601_driver_linux || true rm -f *.o /Library/Developer/CommandLineTools/usr/bin/make clean -C leechcore_device_qemu || true make: ** leechcore_device_qemu: No such file or directory. Stop. /Library/Developer/CommandLineTools/usr/bin/make clean -C leechcore_device_rawtcp || true rm -f .o rm files/.so || true rm: files/.so: No such file or directory rm leechcore.so || true rm: leechcore.so: No such file or directory rm leechcorepyc/.so || true rm: leechcorepyc/.so: No such file or directory /Library/Developer/CommandLineTools/usr/bin/make -C leechcore gcc -c -o oscompatibility.o oscompatibility.c -I. -D LINUX -D _GNU_SOURCE -shared -fPIC -fvisibility=hidden -pthread
pkg-config libusb-1.0 --libs --cflags
-fPIE -fPIC -pie -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O1 -Wl,-z,noexecstack -Wall -Wno-multichar -Wno-unused-result -Wno-unused-variable -Wno-unused-value -Wno-pointer-to-int-cast -Wno-int-to-pointer-cast clang: warning: -lusb-1.0: 'linker' input unused [-Wunused-command-line-argument] clang: warning: -Wl,-z,noexecstack: 'linker' input unused [-Wunused-command-line-argument] clang: warning: argument unused during compilation: '-shared' [-Wunused-command-line-argument] clang: warning: argument unused during compilation: '-L/opt/homebrew/Cellar/libusb/1.0.26/lib' [-Wunused-command-line-argument] clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument] In file included from oscompatibility.c:40: ./oscompatibility.h:29:10: fatal error: 'byteswap.h' file not foundinclude
note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for leechcorepyc Running setup.py clean for leechcorepyc Failed to build leechcorepyc ERROR: Could not build wheels for leechcorepyc, which is required to install pyproject.toml-based projects