python3.2:./configure with PY\u FORMAT\u LONG\u LONG

2024-09-28 15:35:21 发布

您现在位置:Python中文网/ 问答频道 /正文

我目前正在尝试为qnx nto(又名bb10)编译一个遗留的Python3.2

亲爱的StackOverFlow,我想知道如何触发

./configure脚本#在pyconfig.h中定义PY#u FORMAT_LONG_LONG

Heaven:Python-3 testuser$ make
hg: no-repository, python: found! cannot run ./Parser/asdl_c.py -h ./Include ./Parser/Python.asdl
arm-unknown-nto-qnx8.0.0eabi-gcc -c  -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes    -I. -IInclude -I./Include    -DPy_BUILD_CORE -o Modules/python.o ./Modules/python.c
In file included from Include/Python.h:50:0,
                 from ./Modules/python.c:3:
Include/pyport.h:257:13: error: #error "This platform's pyconfig.h needs to define PY_FORMAT_LONG_LONG"
Makefile:587: recipe for target 'Modules/python.o' failed
make: *** [Modules/python.o] Error 1
Heaven:Python-3 testuser$ 

尝试了以下操作:

Heaven:Python-3 testuser$ ./configure -DPY_FORMAT_LONG_LONG=ll
configure: error: unrecognized option: `-DPY_FORMAT_LONG_LONG=ll'
Try `./configure --help' for more information

Tags: frompymodulesformatparsermakeincludeconfigure