You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Installed brew, macFUSE, openSSL, using Python 3.12.4, cloned repo to ~/mtkclient dir, setup the virtual environment, but error on installing capstone via pip
#1228
I have also installedcmake and make using brew. After running the source mtk_env/bin/activate command, I run the below command only to get an exception. Below is the exact exception/error prompt I receive via the terminal (Oh My Zsh!) on MacOS (Ventura 13.7)
Running the pip install command for capstone while in the virtual environment....
$ pip install --pre --no-binary capstone capstone
This is the prompt I see in the terminal immediately after running the command....
Using cached capstone-5.0.3.tar.gz (2.9 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: capstone
Building wheel for capstone (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for capstone (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [56 lines of output]
INFO:root:running bdist_wheel
INFO:root:running build
INFO:__main__:Building C extensions
-- The C compiler identification is AppleClang 14.0.3.14030022
-- The CXX compiler identification is AppleClang 14.0.3.14030022
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
Enabling CAPSTONE_ARM_SUPPORT
Enabling CAPSTONE_ARM64_SUPPORT
Enabling CAPSTONE_M68K_SUPPORT
Enabling CAPSTONE_MIPS_SUPPORT
Enabling CAPSTONE_PPC_SUPPORT
Enabling CAPSTONE_SPARC_SUPPORT
Enabling CAPSTONE_SYSZ_SUPPORT
Enabling CAPSTONE_XCORE_SUPPORT
Enabling CAPSTONE_X86_SUPPORT
Enabling CAPSTONE_TMS320C64X_SUPPORT
Enabling CAPSTONE_M680X_SUPPORT
Enabling CAPSTONE_EVM_SUPPORT
Enabling CAPSTONE_MOS65XX_SUPPORT
Enabling CAPSTONE_WASM_SUPPORT
Enabling CAPSTONE_BPF_SUPPORT
Enabling CAPSTONE_RISCV_SUPPORT
Enabling CAPSTONE_SH_SUPPORT
Enabling CAPSTONE_TRICORE_SUPPORT
CMake Error: File /private/var/folders/ww/jgqlh3r554dfm0wwk0xkd5y80000gn/T/pip-install-jtiz820q/capstone_6e298f758faa4f06b3467e3fbae93ba3/src/capstone.pc.in does not exist.
CMake Error at CMakeLists.txt:734 (configure_file):
configure_file Problem configuring file
CMake Error: File /private/var/folders/ww/jgqlh3r554dfm0wwk0xkd5y80000gn/T/pip-install-jtiz820q/capstone_6e298f758faa4f06b3467e3fbae93ba3/src/capstone-config.cmake.in does not exist.
CMake Error at /usr/local/Cellar/cmake/3.30.4/share/cmake/Modules/CMakePackageConfigHelpers.cmake:501 (configure_file):
configure_file Problem configuring file
Call Stack (most recent call first):
CMakeLists.txt:739 (configure_package_config_file)
CMake Error: File /private/var/folders/ww/jgqlh3r554dfm0wwk0xkd5y80000gn/T/pip-install-jtiz820q/capstone_6e298f758faa4f06b3467e3fbae93ba3/src/cmake_uninstall.cmake.in does not exist.
CMake Error at CMakeLists.txt:771 (configure_file):
configure_file Problem configuring file
-- Configuring incomplete, errors occurred!
gmake: Makefile: No such file or directory
gmake: *** No rule to make target 'Makefile'. Stop.
Build Directory: /private/var/folders/ww/jgqlh3r554dfm0wwk0xkd5y80000gn/T/pip-install-jtiz820q/capstone_6e298f758faa4f06b3467e3fbae93ba3/src/build
error: [Errno 2] No such file or directory: 'libcapstone.5.dylib'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for capstone
Failed to build capstone
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (capstone)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have also installed cmake and make using brew. After running the
source mtk_env/bin/activate
command, I run the below command only to get an exception. Below is the exact exception/error prompt I receive via the terminal (Oh My Zsh!) on MacOS (Ventura 13.7)Running the pip install command for capstone while in the virtual environment....
This is the prompt I see in the terminal immediately after running the command....
Any input/ideas?
Beta Was this translation helpful? Give feedback.
All reactions