The current fix
“#if PY_VERSION_HEX >= 0x02050000 #include “code.h” // from Python #else #include “compile.h” // from Python #endif”
still requests a non-existent code.h
Apparently Python 3.11.1 (main, Jan 6 2023, 00:00:00) [GCC 12.2.1 20221121
triggers the PY_Version_Hex test although compile.h is correct (tested)
Have you tried using the new ROOT 6.28.00 that was released last week? I think it should work with that.
Or were you trying to build ROOT master or the 6.26.10 development branch? It’s not completely clear from your post (I’m confused by “N6.26.10”, I guess “N” is for nightly but why is there a specific release tag?).
Sorry my post was not relevant - I was working with the current 6.26.10 source cloned from git. I had thought this might contain the fix, but apparently this is the unpatched version and the error was reported already and fixed.