Message308413
Hi, I'm try to build Python from source on Fedora 27 but it shows below message and build was failed,
gcc -pthread -Xlinker -export-dynamic -o python Programs/python.o libpython3.7dm.a -lpthread -ldl -lutil -lm
gcc -pthread -Xlinker -export-dynamic -o Programs/_testembed Programs/_testembed.o libpython3.7dm.a -lpthread -ldl -lutil -lm
./python -E -S -m sysconfig --generate-posix-vars ;\
if test $? -ne 0 ; then \
echo "generate-posix-vars failed" ; \
rm -f ./pybuilddir.txt ; \
exit 1 ; \
fi
Traceback (most recent call last):
File "<frozen importlib._bootstrap>", line 1141, in _install
File "<frozen importlib._bootstrap>", line 1133, in _setup
File "<frozen importlib._bootstrap>", line 1100, in _builtin_from_name
ImportError: no built-in module named _thread
Fatal Python error: initimport: importlib install failed
Current thread 0x00007fefeacef600 (most recent call first):
/bin/sh: line 5: 12806 Aborted (core dumped) ./python -E -S -m sysconfig --generate-posix-vars
generate-posix-vars failed
make: *** [Makefile:590: pybuilddir.txt] Error 1 |
|
Date |
User |
Action |
Args |
2017-12-15 17:27:34 | amitg-b14 | set | recipients:
+ amitg-b14 |
2017-12-15 17:27:34 | amitg-b14 | set | messageid: <1513358854.45.0.213398074469.issue32335@psf.upfronthosting.co.za> |
2017-12-15 17:27:34 | amitg-b14 | link | issue32335 messages |
2017-12-15 17:27:34 | amitg-b14 | create | |
|