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 bennykj
Recipients Alex.Willmer, bennykj, xdegaye, yan12125
Date 2016-10-15.11:50:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1476532243.84.0.318293976944.issue28444@psf.upfronthosting.co.za>
In-reply-to
Content
To eliminate the issues introduced by the native python on the Ubuntu 16.04 host, I've set up a new Ubuntu Host with all the native python packages removed.

But now when I try to build the make fails saying:

arm-linux-gnueabihf-gcc -shared -L/home/ubuntu/workspace/toolchain/gcc-linaro-4.9-2016.02-x86_64_arm-linux-gnueabihf/bin/../arm-linux-gnueabihf/libc/usr/lib  -Wl,--no-as-needed -o libpython3.so -Wl,-hlibpython3.so libpython3.5m.so
arm-linux-gnueabihf-gcc -L/home/ubuntu/workspace/toolchain/gcc-linaro-4.9-2016.02-x86_64_arm-linux-gnueabihf/bin/../arm-linux-gnueabihf/libc/usr/lib  -Xlinker -export-dynamic -o python Programs/python.o -L. -lpython3.5m -lpthread -ldl  -lpthread -lutil   -lm  
_PYTHON_PROJECT_BASE=/home/ubuntu/workspace/python/Python-3.5.2 _PYTHON_HOST_PLATFORM=linux-arm PYTHONPATH=./Lib:./Lib/plat-linux python -S -m sysconfig --generate-posix-vars ;\
if test $? -ne 0 ; then \
	echo "generate-posix-vars failed" ; \
	rm -f ./pybuilddir.txt ; \
	exit 1 ; \
fi
/bin/sh: 1: python: not found
generate-posix-vars failed
Makefile:598: recipe for target 'pybuilddir.txt' failed
make: *** [pybuilddir.txt] Error 1


Looking at the configure.log it complains of missing python as well:

python: not-found! cannot run $(srcdir)/Parser/asdl_c.py

Could you please comment if it is not possible to build python3 without first installing a native python on the build machine?

Maybe I have not set all the options to the ./configure correctly (e.g _PYTHON_HOST_PLATFORM).
History
Date User Action Args
2016-10-15 11:50:43bennykjsetrecipients: + bennykj, xdegaye, Alex.Willmer, yan12125
2016-10-15 11:50:43bennykjsetmessageid: <1476532243.84.0.318293976944.issue28444@psf.upfronthosting.co.za>
2016-10-15 11:50:43bennykjlinkissue28444 messages
2016-10-15 11:50:43bennykjcreate