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

subprojects/frida-python/frida/_frida/extension.c:33:11: fatal errpr: pyconfig.h: No such file or directory #272

Open
Lingchen218 opened this issue Sep 1, 2024 · 0 comments

Comments

@Lingchen218
Copy link

Which version do you use to compile firda? Which version of python3?
I am currently using python3.12

FAILED: subprojects/frida-python/frida/_frida/_frida.abi3.so.p/extension.c.o
/usr/bin/cc -Isubprojects/frida-python/frida/_frida/_frida.abi3.so.p -Isubprojects/frida-python/frida/_frida -I../subprojects/frida-python/frida/_frida -Isubprojects/frida-core/src/api -I../subprojects/frida-core/src/api -Isubprojects/frida-gum -I../subprojects/frida-gum -Isubprojects/frida-gum/gum -I../subprojects/frida-gum/gum -I../subprojects/frida-gum/gum/arch-x86 -I../subprojects/frida-gum/gum/arch-arm -I../subprojects/frida-gum/gum/arch-arm64 -I../subprojects/frida-gum/gum/arch-mips -Isubprojects/frida-gum/libs -I../subprojects/frida-gum/libs -Isubprojects/frida-gum/libs/gum/heap -I../subprojects/frida-gum/libs/gum/heap -Isubprojects/frida-gum/libs/gum/prof -I../subprojects/frida-gum/libs/gum/prof -I../subprojects/frida-gum/gum/backend-linux/include -I../subprojects/frida-gum/gum/backend-elf -I../subprojects/frida-gum/gum/backend-libunwind/include -Isubprojects/frida-gum/bindings -I../subprojects/frida-gum/bindings -I/usr/lib/include/python3.12 -I/usr/lib/include/x86_64-linux-gnu/python3.12 -I/home/binghuang_puls/frida/frida/frida/deps/sdk-linux-x86_64/include/glib-2.0 -I/home/binghuang_puls/frida/frida/frida/deps/sdk-linux-x86_64/lib/glib-2.0/include -I/home/binghuang_puls/frida/frida/frida/deps/sdk-linux-x86_64/include -I/home/binghuang_puls/frida/frida/frida/deps/sdk-linux-x86_64/include/gee-0.8 -I/home/binghuang_puls/frida/frida/frida/deps/sdk-linux-x86_64/include/json-glib-1.0 -I/home/binghuang_puls/frida/frida/frida/deps/sdk-linux-x86_64/include/capstone -I/home/binghuang_puls/frida/frida/frida/deps/sdk-linux-x86_64/include/libsoup-3.0 -I/home/binghuang_puls/frida/frida/frida/deps/sdk-linux-x86_64/include/quickjs -I/home/binghuang_puls/frida/frida/frida/deps/sdk-linux-x86_64/include/gio-unix-2.0 -I/home/binghuang_puls/frida/frida/frida/deps/sdk-linux-x86_64/include/libusb-1.0 -I/home/binghuang_puls/frida/frida/frida/deps/sdk-linux-x86_64/include/nice -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Os -g -ffunction-sections -fdata-sections -fPIC -pthread -DNGTCP2_STATICLIB -DNGHTTP2_STATICLIB -DGUM_STATIC -DFFI_STATIC_BUILD -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -DG_DISABLE_CAST_CHECKS -DPy_LIMITED_API=0x03070000 -MD -MQ subprojects/frida-python/frida/_frida/_frida.abi3.so.p/extension.c.o -MF subprojects/frida-python/frida/_frida/_frida.abi3.so.p/extension.c.o.d -o subprojects/frida-python/frida/_frida/_frida.abi3.so.p/extension.c.o -c ../subprojects/frida-python/frida/_frida/extension.c
../subprojects/frida-python/frida/_frida/extension.c:33:11: fatal error: pyconfig.h: 没有那个文件或目录
33 | # include <pyconfig.h>
| ^~~~~~~~~~~~
compilation terminated.
[79/80] Generating subprojects/frida-tools/agents/tracer/tracer-agent.js with a custom command
ninja: build stopped: subcommand failed.
Command '['/home/binghuang_puls/frida/frida/frida/venv/bin/python3', '/home/binghuang_puls/frida/frida/frida/releng/meson/meson.py', 'compile']' returned non-zero exit status 1.
make: *** [Makefile:4:all] 错误 1
(venv) binghuang_puls@binghuangpuls-PC:~/frida/frida/frida$ python
Python 3.12.4 (main, Jul 9 2024, 09:31:23) [GCC 13.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

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