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
Hi,
I'm trying to build Python 3.12 on Termux. I've downloaded the sources from python.org, run ./configure but on make I get an error:
Python/fileutils.c:2912:9: error: call to undeclared function 'close_range'; ISO C99 and later do not
support implicit function declarations [-Wimplicit-function-declaration]
2912 | if (close_range(first, last, 0) == 0) {
I'm working on a Samsung Galaxy Tab 10, so the ANDROID_API_LEVEL is 36, but pyconfig.h sets the level to 30, but even changing that in pyconfig.h doesn't help.
Is anyone able to shed some light on how I can go about building python (and other systems, which are also giving me trouble) on Termux?
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
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm trying to build Python 3.12 on Termux. I've downloaded the sources from python.org, run
./configurebut onmakeI get an error:I'm working on a Samsung Galaxy Tab 10, so the ANDROID_API_LEVEL is 36, but pyconfig.h sets the level to 30, but even changing that in
pyconfig.hdoesn't help.Is anyone able to shed some light on how I can go about building python (and other systems, which are also giving me trouble) on Termux?
Best,
Craig
Beta Was this translation helpful? Give feedback.
All reactions