We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I've been unsuccessful in trying to compile Python 3 for myself. Here is the config.log:
config.log
This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by python configure 3.5, which was generated by GNU Autoconf 2.69. Invocation command line was $ /home/citrusui/.termux-build/python/src/configure --disable-dependency-tracking --prefix=/data/data/com.termux/files/usr --disable-rpath --disable-rpath-hack --host=aarch64-linux-android ac_cv_file__dev_ptmx=yes ac_cv_file__dev_ptc=no ac_cv_func_wcsftime=no ac_cv_func_ftime=no ac_cv_func_faccessat=no ac_cv_func_gethostbyname_r=no --build=x86_64-pc-linux-gnu --disable-ipv6 --with-system-ffi --without-ensurepip ac_cv_func_linkat=no ac_cv_posix_semaphores_enabled=no --disable-nls --enable-shared --disable-static --libexecdir=/data/data/com.termux/files/usr/libexec ## --------- ## ## Platform. ## ## --------- ## hostname = smileytechserver uname -m = x86_64 uname -r = 4.4.0-22-generic uname -s = Linux uname -v = #40-Ubuntu SMP Thu May 12 22:03:46 UTC 2016 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /home/citrusui/.termux-build/python/tmp/config-scripts PATH: /home/citrusui/.termux-build/python/host-build PATH: /home/citrusui/bin PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /sbin PATH: /bin PATH: /usr/games PATH: /usr/local/games PATH: /snap/bin PATH: /home/citrusui/.termux-build/_lib/android-standalone-toolchain-aarch64-ndk12-api21-gcc4.9/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:2913: checking build system type configure:2927: result: x86_64-pc-linux-gnu configure:2947: checking host system type configure:2960: result: aarch64-unknown-linux-android configure:2987: checking for python interpreter for cross build configure:3000: result: python3.5 configure:3072: checking for --enable-universalsdk configure:3119: result: no configure:3142: checking for --with-universal-archs configure:3157: result: no configure:3307: checking MACHDEP configure:3513: result: linux configure:3534: checking for --without-gcc configure:3557: result: no configure:3560: checking for --with-icc configure:3580: result: no configure:3664: checking for aarch64-linux-android-gcc configure:3691: result: aarch64-linux-android-gcc configure:3960: checking for C compiler version configure:3969: aarch64-linux-android-gcc --version >&5 aarch64-linux-android-gcc (GCC) 4.9.x 20150123 (prerelease) Copyright (C) 2014 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:3980: $? = 0 configure:3969: aarch64-linux-android-gcc -v >&5 Using built-in specs. COLLECT_GCC=aarch64-linux-android-gcc COLLECT_LTO_WRAPPER=/home/citrusui/.termux-build/_lib/android-standalone-toolchain-aarch64-ndk12-api21-gcc4.9/bin/../libexec/gcc/aarch64-linux-android/4.9.x/lto-wrapper Target: aarch64-linux-android Configured with: /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/configure --prefix=/tmp/8ee0b8157b3409c4b84fff35696d6c90 --target=aarch64-linux-android --host=x86_64-linux-gnu --build=x86_64-linux-gnu --with-gnu-as --with-gnu-ld --enable-languages=c,c++ --with-gmp=/buildbot/tmp/build/toolchain/temp-install --with-mpfr=/buildbot/tmp/build/toolchain/temp-install --with-mpc=/buildbot/tmp/build/toolchain/temp-install --with-cloog=/buildbot/tmp/build/toolchain/temp-install --with-isl=/buildbot/tmp/build/toolchain/temp-install --with-ppl=/buildbot/tmp/build/toolchain/temp-install --disable-ppl-version-check --disable-cloog-version-check --disable-isl-version-check --enable-cloog-backend=isl --with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm' --disable-libssp --enable-threads --disable-nls --disable-libmudflap --disable-libgomp --disable-libstdc__-v3 --disable-sjlj-exceptions --disable-shared --disable-tls --disable-libitm --enable-bionic-libs --enable-libatomic-ifuncs=no --enable-initfini-array --disable-nls --prefix=/tmp/8ee0b8157b3409c4b84fff35696d6c90 --with-sysroot=/tmp/8ee0b8157b3409c4b84fff35696d6c90/sysroot --with-binutils-version=2.25 --with-mpfr-version=3.1.1 --with-mpc-version=1.0.1 --with-gmp-version=5.0.5 --with-gcc-version=4.9 --with-gdb-version=none --with-gxx-include-dir=/tmp/8ee0b8157b3409c4b84fff35696d6c90/include/c++/4.9.x --with-bugurl=http://source.android.com/source/report-bugs.html --enable-languages=c,c++ --disable-bootstrap --enable-plugins --enable-libgomp --enable-gnu-indirect-function --disable-libsanitizer --enable-gold --enable-ld=default --enable-threads --enable-eh-frame-hdr-for-static --enable-fix-cortex-a53-835769 --enable-graphite=yes --with-isl-version=0.11.1 --with-cloog-version=0.18.0 --program-transform-name='s&^&aarch64-linux-android-&' --enable-gold Thread model: posix gcc version 4.9.x 20150123 (prerelease) (GCC) configure:3980: $? = 0 configure:3969: aarch64-linux-android-gcc -V >&5 aarch64-linux-android-gcc: error: unrecognized command line option '-V' aarch64-linux-android-gcc: fatal error: no input files compilation terminated. configure:3980: $? = 1 configure:3969: aarch64-linux-android-gcc -qversion >&5 aarch64-linux-android-gcc: error: unrecognized command line option '-qversion' aarch64-linux-android-gcc: fatal error: no input files compilation terminated. configure:3980: $? = 1 configure:4000: checking whether the C compiler works configure:4022: aarch64-linux-android-gcc -specs=/home/citrusui/termux-packages/termux.spec -Os -I/data/data/com.termux/files/usr/include -isystem /data/data/com.termux/files/usr/include/libandroid-support -specs=/home/citrusui/termux-packages/termux.spec -L/data/data/com.termux/files/usr/lib -Wl,-rpath-link,/data/data/com.termux/files/usr/lib -Wl,-rpath-link,/home/citrusui/.termux-build/_lib/android-standalone-toolchain-aarch64-ndk12-api21-gcc4.9/sysroot/usr/lib -landroid-support conftest.c >&5 /home/citrusui/.termux-build/_lib/android-standalone-toolchain-aarch64-ndk12-api21-gcc4.9/bin/../lib/gcc/aarch64-linux-android/4.9.x/../../../../aarch64-linux-android/bin/ld: cannot find -landroid-support collect2: error: ld returned 1 exit status configure:4026: $? = 1 configure:4064: result: no configure: failed program was: | /* confdefs.h */ | #define _GNU_SOURCE 1 | #define _NETBSD_SOURCE 1 | #define __BSD_VISIBLE 1 | #define _BSD_TYPES 1 | #define _DARWIN_C_SOURCE 1 | #define _XOPEN_SOURCE 700 | #define _XOPEN_SOURCE_EXTENDED 1 | #define _POSIX_C_SOURCE 200809L | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:4069: error: in `/home/citrusui/.termux-build/python/build': configure:4071: error: C compiler cannot create executables See `config.log' for more details ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=x86_64-pc-linux-gnu ac_cv_env_CC_set=set ac_cv_env_CC_value=aarch64-linux-android-gcc ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-specs=/home/citrusui/termux-packages/termux.spec -Os' ac_cv_env_CPPFLAGS_set=set ac_cv_env_CPPFLAGS_value='-I/data/data/com.termux/files/usr/include -isystem /data/data/com.termux/files/usr/include/libandroid-support' ac_cv_env_CPP_set=set ac_cv_env_CPP_value=aarch64-linux-android-cpp ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value='-specs=/home/citrusui/termux-packages/termux.spec -L/data/data/com.termux/files/usr/lib -Wl,-rpath-link,/data/data/com.termux/files/usr/lib -Wl,-rpath-link,/home/citrusui/.termux-build/_lib/android-standalone-toolchain-aarch64-ndk12-api21-gcc4.9/sysroot/usr/lib -landroid-support' ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_MACHDEP_set= ac_cv_env_MACHDEP_value= ac_cv_env_PKG_CONFIG_LIBDIR_set=set ac_cv_env_PKG_CONFIG_LIBDIR_value=/data/data/com.termux/files/usr/lib/pkgconfig ac_cv_env_PKG_CONFIG_PATH_set= ac_cv_env_PKG_CONFIG_PATH_value= ac_cv_env_PKG_CONFIG_set=set ac_cv_env_PKG_CONFIG_value=/home/citrusui/.termux-build/_lib/android-standalone-toolchain-aarch64-ndk12-api21-gcc4.9/bin/aarch64-linux-android-pkg-config ac_cv_env_build_alias_set=set ac_cv_env_build_alias_value=x86_64-pc-linux-gnu ac_cv_env_host_alias_set=set ac_cv_env_host_alias_value=aarch64-linux-android ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_file__dev_ptc=no ac_cv_file__dev_ptmx=yes ac_cv_func_faccessat=no ac_cv_func_ftime=no ac_cv_func_gethostbyname_r=no ac_cv_func_getpwent=no ac_cv_func_getpwnam=no ac_cv_func_getpwuid=no ac_cv_func_linkat=no ac_cv_func_malloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes ac_cv_func_wcsftime=no ac_cv_host=aarch64-unknown-linux-android ac_cv_posix_semaphores_enabled=no ac_cv_prog_CC=aarch64-linux-android-gcc gl_cv_func_fcntl_f_dupfd_cloexec=yes gl_cv_func_fcntl_f_dupfd_works=yes gl_cv_func_getcwd_abort_bug=no gl_cv_func_getcwd_null=yes gl_cv_func_getcwd_path_max=yes gl_cv_func_getcwd_posix_signature=yes gl_cv_func_gettimeofday_clobber=no gl_cv_func_gettimeofday_posix_signature=yes gl_cv_func_tzset_clobber=no gl_cv_header_working_fcntl_h=yes ## ----------------- ## ## Output variables. ## ## ----------------- ## ABIFLAGS='' AR='aarch64-linux-android-ar' ARCH_RUN_32BIT='' ARFLAGS='' ASDLGEN='' BASECFLAGS='' BASECPPFLAGS='' BLDLIBRARY='' BLDSHARED='' BUILDEXEEXT='' CC='aarch64-linux-android-gcc' CCSHARED='' CFLAGS='-specs=/home/citrusui/termux-packages/termux.spec -Os' CFLAGSFORSHARED='' CFLAGS_NODIST='' CONFIGURE_MACOSX_DEPLOYMENT_TARGET='' CONFIG_ARGS=' '\''--disable-dependency-tracking'\'' '\''--prefix=/data/data/com.termux/files/usr'\'' '\''--disable-rpath'\'' '\''--disable-rpath-hack'\'' '\''--host=aarch64-linux-android'\'' '\''ac_cv_file__dev_ptmx=yes'\'' '\''ac_cv_file__dev_ptc=no'\'' '\''ac_cv_func_wcsftime=no'\'' '\''ac_cv_func_ftime=no'\'' '\''ac_cv_func_faccessat=no'\'' '\''ac_cv_func_gethostbyname_r=no'\'' '\''--build=x86_64-pc-linux-gnu'\'' '\''--disable-ipv6'\'' '\''--with-system-ffi'\'' '\''--without-ensurepip'\'' '\''ac_cv_func_linkat=no'\'' '\''ac_cv_posix_semaphores_enabled=no'\'' '\''--disable-nls'\'' '\''--enable-shared'\'' '\''--disable-static'\'' '\''--libexecdir=/data/data/com.termux/files/usr/libexec'\'' '\''build_alias=x86_64-pc-linux-gnu'\'' '\''host_alias=aarch64-linux-android'\'' '\''CC=aarch64-linux-android-gcc'\'' '\''CFLAGS=-specs=/home/citrusui/termux-packages/termux.spec -Os'\'' '\''LDFLAGS=-specs=/home/citrusui/termux-packages/termux.spec -L/data/data/com.termux/files/usr/lib -Wl,-rpath-link,/data/data/com.termux/files/usr/lib -Wl,-rpath-link,/home/citrusui/.termux-build/_lib/android-standalone-toolchain-aarch64-ndk12-api21-gcc4.9/sysroot/usr/lib -landroid-support'\'' '\''CPPFLAGS=-I/data/data/com.termux/files/usr/include -isystem /data/data/com.termux/files/usr/include/libandroid-support'\'' '\''CPP=aarch64-linux-android-cpp'\'' '\''PKG_CONFIG=/home/citrusui/.termux-build/_lib/android-standalone-toolchain-aarch64-ndk12-api21-gcc4.9/bin/aarch64-linux-android-pkg-config'\'' '\''PKG_CONFIG_LIBDIR=/data/data/com.termux/files/usr/lib/pkgconfig'\''' CPP='aarch64-linux-android-cpp' CPPFLAGS='-I/data/data/com.termux/files/usr/include -isystem /data/data/com.termux/files/usr/include/libandroid-support' CXX='aarch64-linux-android-g++' DEFS='' DLINCLDIR='' DLLLIBRARY='' DYNLOADFILE='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' ENSUREPIP='' EXEEXT='' EXPORT_MACOSX_DEPLOYMENT_TARGET='#' EXT_SUFFIX='' FRAMEWORKALTINSTALLFIRST='' FRAMEWORKALTINSTALLLAST='' FRAMEWORKINSTALLAPPSPREFIX='' FRAMEWORKINSTALLFIRST='' FRAMEWORKINSTALLLAST='' FRAMEWORKPYTHONW='' FRAMEWORKUNIXTOOLSPREFIX='/data/data/com.termux/files/usr' GNULD='' GREP='' HAS_HG='no-repository' HAVE_GETHOSTBYNAME='' HAVE_GETHOSTBYNAME_R='' HAVE_GETHOSTBYNAME_R_3_ARG='' HAVE_GETHOSTBYNAME_R_5_ARG='' HAVE_GETHOSTBYNAME_R_6_ARG='' HGBRANCH='' HGTAG='' HGVERSION='' INSTALL_DATA='' INSTALL_PROGRAM='' INSTALL_SCRIPT='' INSTSONAME='' LDCXXSHARED='' LDFLAGS='-specs=/home/citrusui/termux-packages/termux.spec -L/data/data/com.termux/files/usr/lib -Wl,-rpath-link,/data/data/com.termux/files/usr/lib -Wl,-rpath-link,/home/citrusui/.termux-build/_lib/android-standalone-toolchain-aarch64-ndk12-api21-gcc4.9/sysroot/usr/lib -landroid-support' LDLAST='' LDLIBRARY='' LDLIBRARYDIR='' LDSHARED='' LDVERSION='' LIBC='' LIBFFI_INCLUDEDIR='' LIBM='' LIBOBJS='' LIBPL='' LIBRARY='' LIBS='' LIBTOOL_CRUFT='' LINKCC='' LINKFORSHARED='' LIPO_32BIT_FLAGS='' LLVM_PROF_ERR='' LLVM_PROF_FILE='' LLVM_PROF_FOUND='' LLVM_PROF_MERGER='' LN='' LTLIBOBJS='' LTOFLAGS='' MACHDEP='linux' MACHDEP_OBJS='' MAINCC='' MKDIR_P='' MULTIARCH='' NO_AS_NEEDED='' OBJEXT='' OPCODEHGEN='' OPT='' OTHER_LIBTOOL_OPT='' PACKAGE_BUGREPORT='http://bugs.python.org/' PACKAGE_NAME='python' PACKAGE_STRING='python 3.5' PACKAGE_TARNAME='python' PACKAGE_URL='' PACKAGE_VERSION='3.5' PATH_SEPARATOR=':' PGO_PROF_GEN_FLAG='' PGO_PROF_USE_FLAG='' PKG_CONFIG='/home/citrusui/.termux-build/_lib/android-standalone-toolchain-aarch64-ndk12-api21-gcc4.9/bin/aarch64-linux-android-pkg-config' PKG_CONFIG_LIBDIR='/data/data/com.termux/files/usr/lib/pkgconfig' PKG_CONFIG_PATH='' PLATDIR='' PLATFORM_TRIPLET='' PY3LIBRARY='' PYTHON='' PYTHONFRAMEWORK='' PYTHONFRAMEWORKDIR='no-framework' PYTHONFRAMEWORKIDENTIFIER='org.python.python' PYTHONFRAMEWORKINSTALLDIR='' PYTHONFRAMEWORKPREFIX='' PYTHON_FOR_BUILD='_PYTHON_PROJECT_BASE=$(abs_builddir) _PYTHON_HOST_PLATFORM=$(_PYTHON_HOST_PLATFORM) PYTHONPATH=$(shell test -f pybuilddir.txt && echo $(abs_builddir)/`cat pybuilddir.txt`:)$(srcdir)/Lib:$(srcdir)/Lib/$(PLATDIR) python3.5' PY_ENABLE_SHARED='' RANLIB='aarch64-linux-android-ranlib' READELF='aarch64-linux-android-readelf' RUNSHARED='' SGI_ABI='' SHELL='/bin/bash' SHLIBS='' SHLIB_SUFFIX='' SIGNAL_OBJS='' SOABI='' SOVERSION='1.0' SRCDIRS='' TCLTK_INCLUDES='' TCLTK_LIBS='' THREADHEADERS='' THREADOBJ='' TRUE='' UNIVERSALSDK='' UNIVERSAL_ARCH_FLAGS='' USE_INLINE='' USE_SIGNAL_MODULE='' USE_THREAD_MODULE='' VERSION='3.5' _PYTHON_HOST_PLATFORM='linux-aarch64' ac_ct_AR='' ac_ct_CC='' ac_ct_CXX='' ac_ct_READELF='' bindir='${exec_prefix}/bin' build='x86_64-pc-linux-gnu' build_alias='x86_64-pc-linux-gnu' build_cpu='x86_64' build_os='linux-gnu' build_vendor='pc' cross_compiling='yes' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='NONE' host='aarch64-unknown-linux-android' host_alias='aarch64-linux-android' host_cpu='aarch64' host_os='linux-android' host_vendor='unknown' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' libdir='${exec_prefix}/lib' libexecdir='/data/data/com.termux/files/usr/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='${datarootdir}/man' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/data/data/com.termux/files/usr' program_transform_name='s,x,x,' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define _GNU_SOURCE 1 #define _NETBSD_SOURCE 1 #define __BSD_VISIBLE 1 #define _BSD_TYPES 1 #define _DARWIN_C_SOURCE 1 #define _XOPEN_SOURCE 700 #define _XOPEN_SOURCE_EXTENDED 1 #define _POSIX_C_SOURCE 200809L configure: exit 77
The text was updated successfully, but these errors were encountered:
See #355
Sorry, something went wrong.
No branches or pull requests
I've been unsuccessful in trying to compile Python 3 for myself. Here is the
config.log
:The text was updated successfully, but these errors were encountered: