[issue26922] build from fresh checkout fails

Antoine Pitrou report at bugs.python.org
Tue May 3 08:20:34 EDT 2016


New submission from Antoine Pitrou:

Building from a fresh checkout with "./configure" followed by "make -j4" fails here:

$ make -j4
[... snip ...]
./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
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Fatal Python error: Py_Initialize: Unable to get the locale encoding
ImportError: No module named 'encodings'

Current thread 0x00007fa1b6f48700 (most recent call first):
Aborted
generate-posix-vars failed
Makefile:598: recipe for target 'pybuilddir.txt' failed
make: *** [pybuilddir.txt] Error 1

----------
components: Build
messages: 264717
nosy: pitrou
priority: normal
severity: normal
status: open
title: build from fresh checkout fails
type: compile error
versions: Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26922>
_______________________________________


More information about the Python-bugs-list mailing list