I'm running into the below problem whilst trying to build python projects against python3.12 under Scarthgap. Search engines turn up very little/nothing relevant on the topic which leads me to think it must be something related to my specific configuration but I am all out of ideas at this point.
> > <snip>/recipe-sysroot/usr/include/python3.12/pyconfig.h:6:2: error: #error > "_PYTHON_INCLUDE_TARGET or _PYTHON_INCLUDE_NATIVE is not defined" > | 6 | #error "_PYTHON_INCLUDE_TARGET or _PYTHON_INCLUDE_NATIVE is not > defined"</snip> > > The above file has changed dramatically since my kirkstone / python3.10 build and just contains: > > #if defined (_PYTHON_INCLUDE_TARGET) > #include "pyconfig-target.h" > #elif defined (_PYTHON_INCLUDE_NATIVE) > #include "pyconfig-native.h" > #else > #error "_PYTHON_INCLUDE_TARGET or _PYTHON_INCLUDE_NATIVE is not defined" > #endif // End of #if defined (_PYTHON_INCLUDE_TARGET) > > > Notably neither of included files exist anywhere so even if the _PYTHON_INCLUDE_TARGET or _PYTHON_INCLUDE_NATIVE were defined it still would not work. Does anybody have any idea what is going on?
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#64491): https://lists.yoctoproject.org/g/yocto/message/64491 Mute This Topic: https://lists.yoctoproject.org/mt/110387173/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-