Giter Site home page Giter Site logo

Comments (2)

Drygord avatar Drygord commented on August 16, 2024

make: python3.4-config: No such file or directory
make: python3.4-config: No such file or directory
g++ -m64 -std=c++11 -g -pipe -O2 -I. -I../../ldr/mach-o/h -Iobj/x64_linux_gcc_32_opt/ -Iobj/x64_linux_gcc_32_opt/idasdk/ -Iobj/x64_linux_gcc_32_opt/swig -DMISSED_BC695 -DNDEBUG -DPY3=1 -DPy_LIMITED_API=0x03040000 -DSWIG_TYPE_TABLE=idaapi -DUSE_STANDARD_FILE_FUNCTIONS -DVER_MAJOR="7" -DVER_MINOR="4" -DVER_PATCH="0" -DWITH_HEXRAYS -D_FORTIFY_SOURCE=2 -D__EXPR_SRC -D__LINUX__ -fPIC -fdata-sections -fdiagnostics-show-option -ffunction-sections -fno-diagnostics-show-caret -fno-strict-aliasing -fomit-frame-pointer -fstack-protector -fvisibility=hidden -fwrapv -Wall -Werror=format-nonliteral -Werror=format-security -Wextra -Wformat=2 -Wshadow -Wunused -Wno-attributes -Wno-delete-non-virtual-dtor -Wno-deprecated-declarations -Wno-format-nonliteral -Wno-format-y2k -Wno-missing-field-initializers -Wno-shadow -Wno-sign-compare -Wno-unused-local-typedefs -Wno-unused-parameter -Wno-write-strings -fvisibility-inlines-hidden -Wno-invalid-offsetof -fno-rtti -c -o obj/x64_linux_gcc_32_opt/idapython.o idapython.cpp
idapython.cpp:13:10: fatal error: Python.h: No such file or directory
compilation terminated.
make: *** [../../allmake.mak:806: obj/x64_linux_gcc_32_opt/idapython.o] Error 1
Traceback (most recent call last):
File "/home/dry/IDA/idasdk75/plugins/idapython/build.py", line 60, in run
subprocess.check_call(proc_argv, env=full_env)
File "/usr/lib/python3.10/subprocess.py", line 369, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['make']' returned non-zero exit status 2.

Make is calling python3.4-config but I have 3.10 installed on my system. Why is it doing that? Where can I change it? I've already exported PYTHON_MAJOR_VERSION=3 etc.

from src.

skochinsky avatar skochinsky commented on August 16, 2024

it should be PYTHON_VERSION_MAJOR and PYTHON_VERSION_MINOR, not PYTHON_MAJOR_VERSION. See defaults.mk in the root of the SDK.

from src.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.