Tag: sigfpe

如何使用fpectl模块从源代码安装Python 2.7?

我试图从启用了fpectl模块的Docker容器中的源代码安装Python 2.7.14。 使用官方的Python jessie Dockerfile作为起点,我在./configure命令中添加了–with-fpectlconfiguration选项。 你可以在这个要点中看到我的docker build命令的完整输出。 然而,这里有一些有趣的部分: ./configure –build=x86_64-linux-gnu –enable-shared –enable-unicode=ucs4 –with-fpectl … checking for –with-fpectl… yes … x86_64-linux-gnu-gcc -pthread -fPIC -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -I/usr/include/x86_64-linux-gnu -I/usr/local/include -I/usr/src/python/Include -I/usr/src/python -c /usr/src/python/Modules/mathmodule.c -o build/temp.linux-x86_64-2.7/usr/src/python/Modules/mathmodule.o In file included from Include/Python.h:156:0, from /usr/src/python/Modules/mathmodule.c:55: /usr/src/python/Modules/mathmodule.c: In […]