Message328516
Hi Team,
I met the issue consistently on 3.7 and 3.7.1.
The configure is well, but when the make will output error messges:
step1: [ok]
sudo ./configure --prefix=/opt/python3.71 --enable-optimizations
step2: make [fail]
if test $? -ne 0 ; then \
echo "generate-posix-vars failed" ; \
rm -f ./pybuilddir.txt ; \
exit 1 ; \
fi
Could not import runpy module
Traceback (most recent call last):
File "/opt/Python-3.7.1/Lib/runpy.py", line 15, in <module>
import importlib.util
File "/opt/Python-3.7.1/Lib/importlib/util.py", line 14, in <module>
from contextlib import contextmanager
File "/opt/Python-3.7.1/Lib/contextlib.py", line 4, in <module>
import _collections_abc
SystemError: <built-in function compile> returned NULL without setting an error
generate-posix-vars failed
Makefile:595: recipe for target 'pybuilddir.txt' failed
make[1]: *** [pybuilddir.txt] Error 1
make[1]: Leaving directory '/opt/Python-3.7.1'
Makefile:523: recipe for target 'profile-opt' failed
make: *** [profile-opt] Error 2
(venv36) myhost ➜ Python-3.7.1 gcc --version
gcc (Debian 4.9.2-10+deb8u1) 4.9.2
Copyright (C) 2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
(venv36) myhost ➜ Python-3.7.1 uname -a
Linux docker 3.16.0-6-amd64 #1 SMP Debian 3.16.57-2 (2018-07-14) x86_64 GNU/Linux
Any questions pls mail me. |
|
Date |
User |
Action |
Args |
2018-10-26 06:57:55 | foxleoly | set | recipients:
+ foxleoly |
2018-10-26 06:57:55 | foxleoly | set | messageid: <1540537075.17.0.788709270274.issue35074@psf.upfronthosting.co.za> |
2018-10-26 06:57:55 | foxleoly | link | issue35074 messages |
2018-10-26 06:57:54 | foxleoly | create | |
|