Posted to python-dev by rkeene at Fri Dec 05 21:22:31 GMT 2014view raw
- set -e
-
- # Build native Python 3.4.2
- ## Verify we have the right thing
- openssl sha256 python-3.4.2.tgz
- rm -rf Python-3.4.2
- tar -xf python-3.4.2.tgz
- cd Python-3.4.2
- rm -rf ../__TMP__
- ./configure --prefix="$(pwd)/../__TMP__/INST"
- make
- make install
- make distclean
-
- # Tell next (cross) build of Python to use the newly built Python 3.4.2
- PYTHON_FOR_BUILD="$(pwd)/../__TMP__/INST/bin/python3.4"
- export PYTHON_FOR_BUILD
-
- # Cross-compile Python for my platform
- ./configure --disable-ipv6 --build=x86_64-unknown-linux-gnu \
- ac_cv_prog_READELF="$(which readelf)" ac_cv_file__dev_ptmx='yes' ac_cv_file__dev_ptc='no' \
- --host=x86_64-myvendor-linux --prefix= --libdir=/lib
- make
-
- ####################
- ## Results: ########
- ####################
- SHA256(python-3.4.2.tgz)= 44a3c1ef1c7ca3e4fd25242af80ed72da941203cb4ed1a8c1b724d9078965dd8
- checking build system type... x86_64-unknown-linux-gnu
- checking host system type... x86_64-unknown-linux-gnu
- ...
- x86_64-myvendor-linux-gcc -fPIC -Wno-unused-result -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Werror=declaration-after-statement -DPy_LIMITED_API=0x03040000 -I./Include -I/home/rkeene/devel/blah/node/root/packages/python/archive/Python-3.4.2/../__TMP__/INST/include -I. -IInclude -I/usr/local/include -I/home/rkeene/devel/blah/node/root/packages/python/archive/__TMP__/INST/include/python3.4m -c xxlimited.c -o build/temp.linux-x86_64-3.4/xxlimited.o
- gcc: error: xxlimited.c: No such file or directory
- gcc: fatal error: no input files
- compilation terminated.
- error: [Errno 2] No such file or directory: '/home/rkeene/devel/blah/node/root/packages/python/archive/__TMP__/INST/lib/python3.4/config-3.4m/Modules/_ctypes/libffi'
- make: *** [sharedmods] Error 1
-
- Full output: http://www.rkeene.org/viewer/tmp/python-3.4.2-crosscompile.log.htm
-