This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author amitg-b14
Recipients amitg-b14
Date 2017-12-15.17:27:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1513358854.45.0.213398074469.issue32335@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2017-12-15 17:27:34amitg-b14setrecipients: + amitg-b14
2017-12-15 17:27:34amitg-b14setmessageid: <1513358854.45.0.213398074469.issue32335@psf.upfronthosting.co.za>
2017-12-15 17:27:34amitg-b14linkissue32335 messages
2017-12-15 17:27:34amitg-b14create