Description
I built a tk Calculator app in python and I wanted to push it to my phone. However:
When running p4a like this:
p4a apk --private $HOME/python/SuperCalculator2018.py --package=nef.supercalculator.myapp--name "Super Calculator" --version 0.1 --bootstrap=sdl2 --requirements=kivy,python3
The code runs like this:
[INFO]: Will compile for the following archs: armeabi [INFO]: Found Android API target in $ANDROIDAPI [INFO]: Available Android APIs are (19) [INFO]: Requested API target 19 is available, continuing. [INFO]: Found NDK dir in $ANDROIDNDK [INFO]: Got NDK version from $ANDROIDNDKVER [INFO]: Using Google NDK r18b [INFO]: Found virtualenv at /usr/bin/virtualenv [INFO]: Found the following toolchain versions: ['4.9'] [INFO]: Picking the latest gcc toolchain, here 4.9 [INFO]: No existing dists meet the given requirements! [INFO]: No dist exists that meets your requirements, so one will be built. /home/noah/.local/lib/python2.7/site-packages/pythonforandroid/recipes/kivy/__init__.py:1: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import from pythonforandroid.recipe import CythonRecipe /home/noah/.local/lib/python2.7/site-packages/pythonforandroid/recipes/kivy/__init__.py:2: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import from pythonforandroid.toolchain import current_directory, shprint /home/noah/.local/lib/python2.7/site-packages/pythonforandroid/recipes/kivy/__init__.py:3: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import from os.path import exists, join, basename /home/noah/.local/lib/python2.7/site-packages/pythonforandroid/recipes/kivy/__init__.py:4: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import import sh /home/noah/.local/lib/python2.7/site-packages/pythonforandroid/recipes/kivy/__init__.py:5: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import import glob /home/noah/.local/lib/python2.7/site-packages/pythonforandroid/recipes/pyjnius/__init__.py:1: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import from pythonforandroid.recipe import CythonRecipe /home/noah/.local/lib/python2.7/site-packages/pythonforandroid/recipes/pyjnius/__init__.py:2: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import from pythonforandroid.toolchain import shprint, current_directory, info /home/noah/.local/lib/python2.7/site-packages/pythonforandroid/recipes/pyjnius/__init__.py:3: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import from pythonforandroid.patching import will_build /home/noah/.local/lib/python2.7/site-packages/pythonforandroid/recipes/pyjnius/__init__.py:4: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import import sh /home/noah/.local/lib/python2.7/site-packages/pythonforandroid/recipes/pyjnius/__init__.py:5: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import from os.path import join /home/noah/.local/lib/python2.7/site-packages/pythonforandroid/recipes/six/__init__.py:2: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import from pythonforandroid.recipe import PythonRecipe /home/noah/.local/lib/python2.7/site-packages/pythonforandroid/recipes/python2/__init__.py:1: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import from pythonforandroid.recipe import TargetPythonRecipe, Recipe /home/noah/.local/lib/python2.7/site-packages/pythonforandroid/recipes/python2/__init__.py:2: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import from pythonforandroid.toolchain import shprint, current_directory, info /home/noah/.local/lib/python2.7/site-packages/pythonforandroid/recipes/python2/__init__.py:3: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import from pythonforandroid.patching import (is_darwin, is_api_gt, /home/noah/.local/lib/python2.7/site-packages/pythonforandroid/recipes/python2/__init__.py:5: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import from os.path import exists, join, realpath /home/noah/.local/lib/python2.7/site-packages/pythonforandroid/recipes/python2/__init__.py:6: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import import sh /home/noah/.local/lib/python2.7/site-packages/pythonforandroid/recipes/hostpython2/__init__.py:2: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import from pythonforandroid.toolchain import Recipe, shprint, current_directory, info, warning /home/noah/.local/lib/python2.7/site-packages/pythonforandroid/recipes/hostpython2/__init__.py:3: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import from os.path import join, exists /home/noah/.local/lib/python2.7/site-packages/pythonforandroid/recipes/hostpython2/__init__.py:4: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import import os /home/noah/.local/lib/python2.7/site-packages/pythonforandroid/recipes/hostpython2/__init__.py:5: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import import sh /home/noah/.local/lib/python2.7/site-packages/pythonforandroid/recipes/python3crystax/__init__.py:2: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import from pythonforandroid.recipe import TargetPythonRecipe /home/noah/.local/lib/python2.7/site-packages/pythonforandroid/recipes/python3crystax/__init__.py:3: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import from pythonforandroid.toolchain import shprint /home/noah/.local/lib/python2.7/site-packages/pythonforandroid/recipes/python3crystax/__init__.py:4: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import from pythonforandroid.logger import info, error /home/noah/.local/lib/python2.7/site-packages/pythonforandroid/recipes/python3crystax/__init__.py:5: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import from pythonforandroid.util import ensure_dir, temp_directory /home/noah/.local/lib/python2.7/site-packages/pythonforandroid/recipes/python3crystax/__init__.py:6: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import from os.path import exists, join /home/noah/.local/lib/python2.7/site-packages/pythonforandroid/recipes/python3crystax/__init__.py:7: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import import sh /home/noah/.local/lib/python2.7/site-packages/pythonforandroid/recipes/hostpython3crystax/__init__.py:1: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import from pythonforandroid.toolchain import Recipe, shprint /home/noah/.local/lib/python2.7/site-packages/pythonforandroid/recipes/hostpython3crystax/__init__.py:2: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import from os.path import join /home/noah/.local/lib/python2.7/site-packages/pythonforandroid/recipes/hostpython3crystax/__init__.py:3: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import import sh /home/noah/.local/lib/python2.7/site-packages/pythonforandroid/recipes/genericndkbuild/__init__.py:1: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import from pythonforandroid.recipe import BootstrapNDKRecipe /home/noah/.local/lib/python2.7/site-packages/pythonforandroid/recipes/genericndkbuild/__init__.py:2: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import from pythonforandroid.toolchain import current_directory, shprint /home/noah/.local/lib/python2.7/site-packages/pythonforandroid/recipes/genericndkbuild/__init__.py:3: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import import sh /home/noah/.local/lib/python2.7/site-packages/pythonforandroid/recipes/sdl2/__init__.py:1: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import from pythonforandroid.recipe import BootstrapNDKRecipe /home/noah/.local/lib/python2.7/site-packages/pythonforandroid/recipes/sdl2/__init__.py:2: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import from pythonforandroid.toolchain import current_directory, shprint /home/noah/.local/lib/python2.7/site-packages/pythonforandroid/recipes/sdl2/__init__.py:3: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import import sh /home/noah/.local/lib/python2.7/site-packages/pythonforandroid/recipes/sdl2_image/__init__.py:1: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import from pythonforandroid.recipe import BootstrapNDKRecipe /home/noah/.local/lib/python2.7/site-packages/pythonforandroid/recipes/sdl2_image/__init__.py:2: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import from pythonforandroid.patching import is_arch /home/noah/.local/lib/python2.7/site-packages/pythonforandroid/recipes/sdl2_mixer/__init__.py:1: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import from pythonforandroid.recipe import BootstrapNDKRecipe /home/noah/.local/lib/python2.7/site-packages/pythonforandroid/recipes/sdl2_ttf/__init__.py:1: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import from pythonforandroid.recipe import BootstrapNDKRecipe /home/noah/.local/lib/python2.7/site-
67E6
packages/pythonforandroid/recipes/sdl/__init__.py:1: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import from pythonforandroid.recipe import BootstrapNDKRecipe /home/noah/.local/lib/python2.7/site-packages/pythonforandroid/recipes/sdl/__init__.py:2: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import from pythonforandroid.toolchain import current_directory, info, shprint /home/noah/.local/lib/python2.7/site-packages/pythonforandroid/recipes/sdl/__init__.py:3: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import from os.path import exists, join /home/noah/.local/lib/python2.7/site-packages/pythonforandroid/recipes/sdl/__init__.py:4: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import import sh /home/noah/.local/lib/python2.7/site-packages/pythonforandroid/recipes/pygame_bootstrap_components/__init__.py:1: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import from pythonforandroid.recipe import BootstrapNDKRecipe /home/noah/.local/lib/python2.7/site-packages/pythonforandroid/recipes/pygame_bootstrap_components/__init__.py:2: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import from pythonforandroid.toolchain import current_directory, shprint, info /home/noah/.local/lib/python2.7/site-packages/pythonforandroid/recipes/pygame_bootstrap_components/__init__.py:3: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import from os.path import exists, join /home/noah/.local/lib/python2.7/site-packages/pythonforandroid/recipes/pygame_bootstrap_components/__init__.py:4: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import import sh /home/noah/.local/lib/python2.7/site-packages/pythonforandroid/recipes/pygame_bootstrap_components/__init__.py:5: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import import glob /home/noah/.local/lib/python2.7/site-packages/pythonforandroid/recipes/pygame/__init__.py:2: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import from pythonforandroid.recipe import Recipe /home/noah/.local/lib/python2.7/site-packages/pythonforandroid/recipes/pygame/__init__.py:3: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import from pythonforandroid.util import current_directory, ensure_dir /home/noah/.local/lib/python2.7/site-packages/pythonforandroid/recipes/pygame/__init__.py:4: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import from pythonforandroid.logger import debug, shprint, info, warning /home/noah/.local/lib/python2.7/site-packages/pythonforandroid/recipes/pygame/__init__.py:5: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import from os.path import join /home/noah/.local/lib/python2.7/site-packages/pythonforandroid/recipes/pygame/__init__.py:6: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import import sh /home/noah/.local/lib/python2.7/site-packages/pythonforandroid/recipes/pygame/__init__.py:7: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import import glob [INFO]: Found multiple valid dependency orders: [INFO]: ['hostpython2', u'python3', 'sdl2_image', 'sdl2_mixer', 'sdl2_ttf', 'python2', 'sdl2', 'six', 'pyjnius', u'kivy'] [INFO]: ['hostpython3crystax', u'python3', 'sdl2_image', 'sdl2_mixer', 'sdl2_ttf', 'python3crystax', 'sdl2', 'six', 'pyjnius', u'kivy'] [INFO]: ['hostpython2', 'pygame_bootstrap_components', u'python3', 'python2', 'sdl', 'six', 'pygame', 'pyjnius', u'kivy'] [INFO]: Using the first of these: ['hostpython2', u'python3', 'sdl2_image', 'sdl2_mixer', 'sdl2_ttf', 'python2', 'sdl2', 'six', 'pyjnius', u'kivy'] [INFO]: The selected bootstrap is sdl2_gradle [INFO]: # Creating dist with sdl2_gradle bootstrap [INFO]: Dist will have name unnamed_dist_11 and recipes (kivy, python3)
[INFO]: Dist will also contain modules (python3) installed from pip [INFO]: -> running cp -r /home/noah/.local/lib/python2.7/site-packages/pythonforandroid/b...(and 106 more) [INFO]: -> directory context /home/noah/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle-python2 [INFO]: <- directory context /home/noah/Documents [INFO]: Recipe build order is ['hostpython2', 'sdl2_image', 'sdl2_mixer', 'sdl2_ttf', 'python2', 'sdl2', 'six', 'pyjnius', u'kivy'] [INFO]: The requirements (python3) were not found as recipes, they will be installed with pip. [INFO]: # Downloading recipes [INFO]: Downloading hostpython2 [INFO]: -> running mkdir -p /home/noah/.local/share/python-for-android/packages/hostpython2 [INFO]: -> directory context /home/noah/.local/share/python-for-android/packages/hostpython2 [INFO]: -> running basename https://python.org/ftp/python/2.7.2/Python-2.7.2.tar.bz2 [INFO]: hostpython2 download already cached, skipping [INFO]: <- directory context /home/noah/Documents [INFO]: Downloading sdl2_image [INFO]: -> running mkdir -p /home/noah/.local/share/python-for-android/packages/sdl2_image [INFO]: -> directory context /home/noah/.local/share/python-for-android/packages/sdl2_image [INFO]: -> running basename https://www.libsdl.org/projects/SDL_image/release/SDL2_image-2.0.1.tar.gz [INFO]: sdl2_image download already cached, skipping [INFO]: <- directory context /home/noah/Documents [INFO]: Downloading sdl2_mixer [INFO]: -> running mkdir -p /home/noah/.local/share/python-for-android/packages/sdl2_mixer [INFO]: -> directory context /home/noah/.local/share/python-for-android/packages/sdl2_mixer [INFO]: -> running basename https://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-2.0.1.tar.gz [INFO]: sdl2_mixer download already cached, skipping [INFO]: <- directory context /home/noah/Documents [INFO]: Downloading sdl2_ttf [INFO]: -> running mkdir -p /home/noah/.local/share/python-for-android/packages/sdl2_ttf [INFO]: -> directory context /home/noah/.local/share/python-for-android/packages/sdl2_ttf [INFO]: -> running basename https://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-2.0.14.tar.gz [INFO]: sdl2_ttf download already cached, skipping [INFO]: <- directory context /home/noah/Documents [INFO]: Downloading python2 [INFO]: -> running mkdir -p /home/noah/.local/share/python-for-android/packages/python2 [INFO]: -> directory context /home/noah/.local/share/python-for-android/packages/python2 [INFO]: -> running basename https://python.org/ftp/python/2.7.2/Python-2.7.2.tar.bz2 [INFO]: python2 download already cached, skipping [INFO]: <- directory context /home/noah/Documents [INFO]: Downloading sdl2 [INFO]: -> running mkdir -p /home/noah/.local/share/python-for-android/packages/sdl2 [INFO]: -> directory context /home/noah/.local/share/python-for-android/packages/sdl2 [INFO]: -> running basename https://www.libsdl.org/release/SDL2-2.0.4.tar.gz [INFO]: sdl2 download already cached, skipping [INFO]: <- directory context /home/noah/Documents [INFO]: Downloading six [INFO]: -> running mkdir -p /home/noah/.local/share/python-for-android/packages/six [INFO]: -> directory context /home/noah/.local/share/python-for-android/packages/six [INFO]: -> running basename https://pypi.python.org/packages/source/s/six/six-1.9.0.tar.gz [INFO]: six download already cached, skipping [INFO]: <- directory context /home/noah/Documents [INFO]: Downloading pyjnius [INFO]: -> running mkdir -p /home/noah/.local/share/python-for-android/packages/pyjnius [INFO]: -> directory context /home/noah/.local/share/python-for-android/packages/pyjnius [INFO]: -> running basename https://github.com/kivy/pyjnius/archive/1.1.3.zip [INFO]: pyjnius download already cached, skipping [INFO]: <- directory context /home/noah/Documents [INFO]: Downloading kivy [INFO]: -> running mkdir -p /home/noah/.local/share/python-for-android/packages/kivy [INFO]: -> directory context /home/noah/.local/share/python-for-android/packages/kivy [INFO]: -> running basename https://github.com/kivy/kivy/archive/1.10.1.zip [INFO]: kivy download already cached, skipping [INFO]: <- directory context /home/noah/Documents [INFO]: # Building all recipes for arch armeabi [INFO]: # Unpacking recipes [INFO]: Unpacking hostpython2 for armeabi [INFO]: -> running basename https://python.org/ftp/python/2.7.2/Python-2.7.2.tar.bz2 [INFO]: -> directory context /home/noah/.local/share/python-for-android/build/other_builds/hostpython2/desktop [INFO]: hostpython2 is already unpacked, skipping [INFO]: <- directory context /home/noah/Documents [INFO]: Unpacking sdl2_image for armeabi [INFO]: -> running basename https://www.libsdl.org/projects/SDL_image/release/SDL2_image-2.0.1.tar.gz [INFO]: -> directory context /home/noah/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle-python2/jni [INFO]: sdl2_image is already unpacked, skipping [INFO]: <- directory context /home/noah/Documents [INFO]: Unpacking sdl2_mixer for armeabi [INFO]: -> running basename https://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-2.0.1.tar.gz [INFO]: -> directory context /home/noah/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle-python2/jni [INFO]: sdl2_mixer is already unpacked, skipping [INFO]: <- directory context /home/noah/Documents [INFO]: Unpacking sdl2_ttf for armeabi [INFO]: -> running basename https://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-2.0.14.tar.gz [INFO]: -> directory context /home/noah/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle-python2/jni [INFO]: sdl2_ttf is already unpacked, skipping [INFO]: <- directory context /home/noah/Documents [INFO]: Unpacking python2 for armeabi [INFO]: -> running basename https://python.org/ftp/python/2.7.2/Python-2.7.2.tar.bz2 [INFO]: -> directory context /home/noah/.local/share/python-for-android/build/other_builds/python2/armeabi [INFO]: python2 is already unpacked, skipping [INFO]: <- directory context /home/noah/Documents [INFO]: Unpacking sdl2 for armeabi [INFO]: -> running basename https://www.libsdl.org/release/SDL2-2.0.4.tar.gz [INFO]: -> directory context /home/noah/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle-python2/jni [INFO]: sdl2 is already unpacked, skipping [INFO]: <- directory context /home/noah/Documents [INFO]: Unpacking six for armeabi [INFO]: -> running basename https://pypi.python.org/packages/source/s/six/six-1.9.0.tar.gz [INFO]: -> directory context /home/noah/.local/share/python-for-android/build/other_builds/six-python2/armeabi [INFO]: six is already unpacked, skipping [INFO]: <- directory context /home/noah/Documents [INFO]: Unpacking pyjnius for armeabi [INFO]: -> running basename https://github.com/kivy/pyjnius/archive/1.1.3.zip [INFO]: -> directory context /home/noah/.local/share/python-for-android/build/other_builds/pyjnius-python2-sdl2/armeabi [INFO]: pyjnius is already unpacked, skipping [INFO]: <- directory context /home/noah/Documents [INFO]: Unpacking kivy for armeabi [INFO]: -> running basename https://github.com/kivy/kivy/archive/1.10.1.zip [INFO]: -> directory context /home/noah/.local/share/python-for-android/build/other_builds/kivy-python2-sdl2/armeabi [INFO]: kivy is already unpacked, skipping [INFO]: <- directory context /home/noah/Documents [INFO]: # Prebuilding recipes [INFO]: Prebuilding hostpython2 for armeabi [INFO]: -> running cp /home/noah/.local/lib/python2.7/site-packages/pythonforandroid/reci...(and 129 more) [INFO]: Applying patches for hostpython2[armeabi] [INFO]: hostpython2 already patched, skipping [INFO]: Prebuilding sdl2_image for armeabi [INFO]: sdl2_image has no prebuild_armeabi, skipping [INFO]: Applying patches for sdl2_image[armeabi] [INFO]: sdl2_image already patched, skipping [INFO]: Prebuilding sdl2_mixer for armeabi [INFO]: sdl2_mixer has no prebuild_armeabi, skipping [INFO]: Applying patches for sdl2_mixer[armeabi] [INFO]: sdl2_mixer already patched, skipping [INFO]: Prebuilding sdl2_ttf for armeabi [INFO]: sdl2_ttf has no prebuild_armeabi, skipping [INFO]: Prebuilding python2 for armeabi [INFO]: python2 has no prebuild_armeabi, skipping [INFO]: Applying patches for python2[armeabi] [INFO]: python2 already patched, skipping [INFO]: Prebuilding sdl2 for armeabi [INFO]: sdl2 has no prebuild_armeabi, skipping [INFO]: Applying patches for sdl2[armeabi] [INFO]: sdl2 already patched, skipping [INFO]: Prebuilding six for armeabi [INFO]: six has no prebuild_armeabi, skipping [INFO]: Prebuilding pyjnius for armeabi [INFO]: pyjnius has no prebuild_armeabi, skipping [INFO]: Applying patches for pyjnius[armeabi] [INFO]: pyjnius already patched, skipping [INFO]: Prebuilding kivy for armeabi
`[INFO]: kivy has no prebuild_armeabi, skipping
[INFO]: # Building recipes
[INFO]: Building hostpython2 for armeabi
[INFO]: -> directory context /home/noah/.local/share/python-for-android/build/other_builds/hostpython2/desktop/hostpython2
[INFO]: hostpython already exists, skipping build
[INFO]: <- directory context /home/noah/Documents
[INFO]: Building sdl2_image for armeabi
[INFO]: Building sdl2_mixer for armeabi
[INFO]: Building sdl2_ttf for armeabi
[INFO]: Building python2 for armeabi
[INFO]: -> running cp /home/noah/.local/share/python-for-android/build/other_builds/hostp...(and 123 more)
[INFO]: -> running cp /home/noah/.local/share/python-for-android/build/other_builds/hostp...(and 121 more)
[INFO]: -> directory context /home/noah/.local/share/python-for-android/build/other_builds/python2/armeabi/python2
[INFO]: -> running cp /home/noah/.local/lib/python2.7/site-packages/pythonforandroid/reci...(and 29 more)
[INFO]: -> running gcc -dumpmachine
[INFO]: -> running configure --host=arm-eabi --build=x86_64-linux-gnu --prefix=/home/noah...(and 149 more)
working: See 'config.log' for more details Exception in thread background thread for pid 299:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/noah/.local/lib/python2.7/site-packages/sh.py", line 1540, in wrap
fn(*args, **kwargs)
File "/home/noah/.local/lib/python2.7/site-packages/sh.py", line 2459, in background_thread
handle_exit_code(exit_code)
File "/home/noah/.local/lib/python2.7/site-packages/sh.py", line 2157, in fn
return self.command.handle_command_exit_code(exit_code)
File "/home/noah/.local/lib/python2.7/site-packages/sh.py", line 815, in handle_command_exit_code
raise exc
ErrorReturnCode_77:
RAN: /home/noah/.local/share/python-for-android/build/other_builds/python2/armeabi/python2/configure --host=arm-eabi --build=x86_64-linux-gnu --prefix=/home/noah/.local/share/python-for-android/build/other_builds/python2/armeabi/python2/python-install --enable-shared --disable-toolbox-glue --disable-framework
STDOUT:
checking for --enable-universalsdk... no
checking for --with-universal-archs... 32-bit
checking MACHDEP... linux4
checking EXTRAPLATDIR...
checking machine type as reported by uname -m... x86_64
checking for --without-gcc... no
checking for arm-eabi-gcc... /usr/bin/ccache arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer -D__ANDROID_API__=19 -isystem /home/noah/Documents/android-ndk-r18b/sysroot/usr/include/arm-linux-androideabi -isysroot /home/noah/Documents/android-ndk-r18b/sysroot -I/home/noah/.local/share/python-for-android/build/python-installs/unnamed_dist_11/include/python2.7
checking whether the C compiler works... no
configure: error: in `/home/noah/.local/share/python-for-android/build/other_builds/python2/armeabi/python2':
configure: error: C compiler cannot create executables
See 'config.log' for more details
STDERR:
Traceback (most recent call last):
File "/home/noah/.local/bin/p4a", line 11, in
load_entry_point('python-for-android==0.6.0', 'console_scripts', 'p4a')()
File "/home/noah/.local/lib/python2.7/site-packages/pythonforandroid/toolchain.py", line 999, in main
ToolchainCL()
File "/home/noah/.local/lib/python2.7/site-packages/pythonforandroid/toolchain.py", line 532, in init
getattr(self, args.subparser_name.replace('-', '_'))(args)
File "/home/noah/.local/lib/python2.7/site-packages/pythonforandroid/toolchain.py", line 145, in wrapper_func
build_dist_from_args(ctx, dist, args)
File "/home/noah/.local/lib/python2.7/site-packages/pythonforandroid/toolchain.py", line 189, in build_dist_from_args
build_recipes(build_order, python_modules, ctx)
File "/home/noah/.local/lib/python2.7/site-packages/pythonforandroid/build.py", line 580, in build_recipes
recipe.build_arch(arch)
File "/home/noah/.local/lib/python2.7/site-packages/pythonforandroid/recipes/python2/init.py", line 43, in build_arch
self.do_python_build(arch)
File "/home/noah/.local/lib/python2.7/site-packages/pythonforandroid/recipes/python2/init.py", line 119, in do_python_build
_env=env)
File "/home/noah/.local/lib/python2.7/site-packages/pythonforandroid/logger.py", line 176, in shprint
for line in output:
File "/home/noah/.local/lib/python2.7/site-packages/sh.py", line 863, in next
self.wait()
File "/home/noah/.local/lib/python2.7/site-packages/sh.py", line 792, in wait
self.handle_command_exit_code(exit_code)
File "/home/noah/.local/lib/python2.7/site-packages/sh.py", line 815, in handle_command_exit_code
raise exc
sh.ErrorReturnCode_77:`
RAN: /home/noah/.local/share/python-for-android/build/other_builds/python2/armeabi/python2/configure --host=arm-eabi --build=x86_64-linux-gnu --prefix=/home/noah/.local/share/python-for-android/build/other_builds/python2/armeabi/python2/python-install --enable-shared --disable-toolbox-glue --disable-framework
STDOUT:
checking for --enable-universalsdk... no
checking for --with-universal-archs... 32-bit
checking MACHDEP... linux4
checking EXTRAPLATDIR...
checking machine type as reported by uname -m... x86_64
checking for --without-gcc... no
checking for arm-eabi-gcc... /usr/bin/ccache arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer -D__ANDROID_API__=19 -isystem /home/noah/Documents/android-ndk-r18b/sysroot/usr/include/arm-linux-androideabi -isysroot /home/noah/Documents/android-ndk-r18b/sysroot -I/home/noah/.local/share/python-for-android/build/python-installs/unnamed_dist_11/include/python2.7
checking whether the C compiler works... no
configure: error: in `/home/noah/.local/share/python-for-android/build/other_builds/python2/armeabi/python2':
configure: error: C compiler cannot create executables
See 'config.log' for more details
STDERR:
and when I check the config.log file, It says this:
`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 2.7, which was
generated by GNU Autoconf 2.68. Invocation command line was
$ /home/noah/.local/share/python-for-android/build/other_builds/python2/armeabi/python2/configure --host=arm-eabi --build=x86_64-linux-gnu --prefix=/home/noah/.local/share/python-for-android/build/other_builds/python2/armeabi/python2/python-install --enable-shared --disable-toolbox-glue --disable-framework
---------
Platform.
---------
hostname = LAPTOP-C49MA0IG
uname -m = x86_64
uname -r = 4.4.0-17134-Microsoft
uname -s = Linux
uname -v = #345-Microsoft Wed Sep 19 17:47:00 PST 2018
/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/noah/Documents/android-ndk-r18b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86/bin/
PATH: /home/noah/Documents/android-ndk-r18b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/
PATH: /home/noah/Documents/android-ndk-r18b
PATH: /home/noah/Documents/sdk/tools
PATH: /home/noah/.local/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /home/noah/bin
PATH: /home/noah/.local/bin
-----------
Core tests.
-----------
configure:2764: checking for --enable-universalsdk
configure:2805: result: no
configure:2814: checking for --with-universal-archs
configure:2831: result: 32-bit
configure:2988: checking MACHDEP
configure:3136: result: linux4
configure:3142: checking EXTRAPLATDIR
configure:3157: result:
configure:3168: checking machine type as reported by uname -m
configure:3171: result: x86_64
configure:3184: checking for --without-gcc
configure:3228: result: no
configure:3249: checking for arm-eabi-gcc
configure:3276: result: /usr/bin/ccache arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer -D__ANDROID_API__=19 -isystem /home/noah/Documents/android-ndk-r18b/sysroot/usr/include/arm-linux-androideabi -isysroot /home/noah/Documents/android-ndk-r18b/sysroot -I/home/noah/.local/share/python-for-android/build/python-installs/unnamed_dist_11/include/python2.7
configure:3545: checking for C compiler version
configure:3554: /usr/bin/ccache arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer -D__ANDROID_API__=19 -isystem /home/noah/Documents/android-ndk-r18b/sysroot/usr/include/arm-linux-androideabi -isysroot /home/noah/Documents/android-ndk-r18b/sysroot -I/home/noah/.local/share/python-for-android/build/python-installs/unnamed_dist_11/include/python2.7 --version >&5
Android (4751641 based on r328903) clang version 7.0.2 (https://android.googlesource.com/toolchain/clang 003100370607242ddd5815e4a043907ea9004281) (https://android.googlesource.com/toolchain/llvm 1d739ffb0366421d383e04ff80ec2ee591315116) (based on LLVM 7.0.2svn)
Target: arm--linux-android
Thread model: posix
InstalledDir: /home/noah/Documents/android-ndk-r18b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../../../../llvm/prebuilt/linux-x86_64/bin
clang: error: unknown argument: '-mandroid'
configure:3565: $? = 1
configure:3554: /usr/bin/ccache arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer -D__ANDROID_API__=19 -isystem /home/noah/Documents/android-ndk-r18b/sysroot/usr/include/arm-linux-androideabi -isysroot /home/noah/Documents/android-ndk-r18b/sysroot -I/home/noah/.local/share/python-for-android/build/python-installs/unnamed_dist_11/include/python2.7 -v >&5
clang: error: unknown argument: '-mandroid'
Android (4751641 based on r328903) clang version 7.0.2 (https://android.googlesource.com/toolchain/clang 003100370607242ddd5815e4a043907ea9004281) (https://android.googlesource.com/toolchain/llvm 1d739ffb0366421d383e04ff80ec2ee591315116) (based on LLVM 7.0.2svn)
Target: arm--linux-android
Thread model: posix
InstalledDir: /home/noah/Documents/android-ndk-r18b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../../../../llvm/prebuilt/linux-x86_64/bin
configure:3565: $? = 1
configure:3554: /usr/bin/ccache arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer -D__ANDROID_API__=19 -isystem /home/noah/Documents/android-ndk-r18b/sysroot/usr/include/arm-linux-androideabi -isysroot /home/noah/Documents/android-ndk-r18b/sysroot -I/home/noah/.local/share/python-for-android/build/python-installs/unnamed_dist_11/include/python2.7 -V >&5
clang: error: argument to '-V' is missing (expected 1 value)
clang: error: unknown argument: '-mandroid'
clang: error: no input files
configure:3565: $? = 1
configure:3554: /usr/bin/ccache arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer -D__ANDROID_API__=19 -isystem /home/noah/Documents/android-ndk-r18b/sysroot/usr/include/arm-linux-androideabi -isysroot /home/noah/Documents/android-ndk-r18b/sysroot -I/home/noah/.local/share/python-for-android/build/python-installs/unnamed_dist_11/include/python2.7 -qversion >&5
clang: error: unknown argument: '-mandroid'
clang: error: unknown argument '-qversion', did you mean '--version'?
cl
755B
ang: error: no input files
configure:3565: $? = 1
configure:3585: checking whether the C compiler works
configure:3607: /usr/bin/ccache arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer -D__ANDROID_API__=19 -isystem /home/noah/Documents/android-ndk-r18b/sysroot/usr/include/arm-linux-androideabi -isysroot /home/noah/Documents/android-ndk-r18b/sysroot -I/home/noah/.local/share/python-for-android/build/python-installs/unnamed_dist_11/include/python2.7 -DANDROID -mandroid -fomit-frame-pointer -D__ANDROID_API__=19 -isystem /home/noah/Documents/android-ndk-r18b/sysroot/usr/include/arm-linux-androideabi -isysroot /home/noah/Documents/android-ndk-r18b/sysroot -I/home/noah/.local/share/python-for-android/build/python-installs/unnamed_dist_11/include/python2.7 -DNO_MALLINFO --sysroot /home/noah/Documents/android-ndk-r18b/platforms/android-19/arch-arm -lm -L/home/noah/.local/share/python-for-android/build/libs_collections/unnamed_dist_11/armeabi conftest.c >&5
clang: error: unknown argument: '-mandroid'
clang: error: unknown argument: '-mandroid'
configure:3611: $? = 1
configure:3649: 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 600
| #define _XOPEN_SOURCE_EXTENDED 1
| #define _POSIX_C_SOURCE 200112L
| / end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3654: error: in /home/noah/.local/share/python-for-android/build/other_builds/python2/armeabi/python2': configure:3656: error: C compiler cannot create executables See
config.log' for more details
----------------
Cache variables.
----------------
ac_cv_env_CC_set=set
ac_cv_env_CC_value='/usr/bin/ccache arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer -D__ANDROID_API__=19 -isystem /home/noah/Documents/android-ndk-r18b/sysroot/usr/include/arm-linux-androideabi -isysroot /home/noah/Documents/android-ndk-r18b/sysroot -I/home/noah/.local/share/python-for-android/build/python-installs/unnamed_dist_11/include/python2.7'
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-DANDROID -mandroid -fomit-frame-pointer -D__ANDROID_API__=19 -isystem /home/noah/Documents/android-ndk-r18b/sysroot/usr/include/arm-linux-androideabi -isysroot /home/noah/Documents/android-ndk-r18b/sysroot -I/home/noah/.local/share/python-for-android/build/python-installs/unnamed_dist_11/include/python2.7 -DNO_MALLINFO'
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value=' --sysroot /home/noah/Documents/android-ndk-r18b/platforms/android-19/arch-arm -lm -L/home/noah/.local/share/python-for-android/build/libs_collections/unnamed_dist_11/armeabi'
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=x86_64-linux-gnu
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=arm-eabi
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_header_langinfo_h=no
ac_cv_prog_CC='/usr/bin/ccache arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer -D__ANDROID_API__=19 -isystem /home/noah/Documents/android-ndk-r18b/sysroot/usr/include/arm-linux-androideabi -isysroot /home/noah/Documents/android-ndk-r18b/sysroot -I/home/noah/.local/share/python-for-android/build/python-installs/unnamed_dist_11/include/python2.7'
-----------------
Output variables.
-----------------
AR='arm-linux-androideabi-ar'
ARCH_RUN_32BIT=''
ARFLAGS=''
BASECFLAGS=''
BLDLIBRARY=''
BLDSHARED=''
BUILDEXEEXT=''
CC='/usr/bin/ccache arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer -D__ANDROID_API__=19 -isystem /home/noah/Documents/android-ndk-r18b/sysroot/usr/include/arm-linux-androideabi -isysroot /home/noah/Documents/android-ndk-r18b/sysroot -I/home/noah/.local/share/python-for-android/build/python-installs/unnamed_dist_11/include/python2.7'
CCSHARED=''
CFLAGS='-DANDROID -mandroid -fomit-frame-pointer -D__ANDROID_API__=19 -isystem /home/noah/Documents/android-ndk-r18b/sysroot/usr/include/arm-linux-androideabi -isysroot /home/noah/Documents/android-ndk-r18b/sysroot -I/home/noah/.local/share/python-for-android/build/python-installs/unnamed_dist_11/include/python2.7 -DNO_MALLINFO'
CFLAGSFORSHARED=''
CONFIGURE_MACOSX_DEPLOYMENT_TARGET=''
CONFIG_ARGS=' '''--host=arm-eabi''' '''--build=x86_64-linux-gnu''' '''--prefix=/home/noah/.local/share/python-for-android/build/other_builds/python2/armeabi/python2/python-install''' '''--enable-shared''' '''--disable-toolbox-glue''' '''--disable-framework''' '''build_alias=x86_64-linux-gnu''' '''host_alias=arm-eabi''' '''CC=/usr/bin/ccache arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer -D__ANDROID_API__=19 -isystem /home/noah/Documents/android-ndk-r18b/sysroot/usr/include/arm-linux-androideabi -isysroot /home/noah/Documents/android-ndk-r18b/sysroot -I/home/noah/.local/share/python-for-android/build/python-installs/unnamed_dist_11/include/python2.7''' '''CFLAGS=-DANDROID -mandroid -fomit-frame-pointer -D__ANDROID_API__=19 -isystem /home/noah/Documents/android-ndk-r18b/sysroot/usr/include/arm-linux-androideabi -isysroot /home/noah/Documents/android-ndk-r18b/sysroot -I/home/noah/.local/share/python-for-android/build/python-installs/unnamed_dist_11/include/python2.7 -DNO_MALLINFO''' '''LDFLAGS= --sysroot /home/noah/Documents/android-ndk-r18b/platforms/android-19/arch-arm -lm -L/home/noah/.local/share/python-for-android/build/libs_collections/unnamed_dist_11/armeabi''''
CPP=''
CPPFLAGS=''
CXX='/usr/bin/ccache arm-linux-androideabi-g++ -DANDROID -mandroid -fomit-frame-pointer -D__ANDROID_API__=19 -isystem /home/noah/Documents/android-ndk-r18b/sysroot/usr/include/arm-linux-androideabi -isysroot /home/noah/Documents/android-ndk-r18b/sysroot -I/home/noah/.local/share/python-for-android/build/python-installs/unnamed_dist_11/include/python2.7'
DEFS=''
DLINCLDIR=''
DLLLIBRARY=''
DYNLOADFILE=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
EXPORT_MACOSX_DEPLOYMENT_TARGET='#'
EXTRAMACHDEPPATH=''
EXTRAPLATDIR=''
FRAMEWORKALTINSTALLFIRST=''
FRAMEWORKALTINSTALLLAST=''
FRAMEWORKINSTALLAPPSPREFIX=''
FRAMEWORKINSTALLFIRST=''
FRAMEWORKINSTALLLAST=''
FRAMEWORKUNIXTOOLSPREFIX='/home/noah/.local/share/python-for-android/build/other_builds/python2/armeabi/python2/python-install'
GNULD=''
GREP=''
HAS_HG=''
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=' --sysroot /home/noah/Documents/android-ndk-r18b/platforms/android-19/arch-arm -lm -L/home/noah/.local/share/python-for-android/build/libs_collections/unnamed_dist_11/armeabi'
LDLAST=''
LDLIBRARY=''
LDLIBRARYDIR=''
LDSHARED='/usr/bin/ccache arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer -D__ANDROID_API__=19 -isystem /home/noah/Documents/android-ndk-r18b/sysroot/usr/include/arm-linux-androideabi -isysroot /home/noah/Documents/android-ndk-r18b/sysroot -I/home/noah/.local/share/python-for-android/build/python-installs/unnamed_dist_11/include/python2.7 -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions '
LIBC=''
LIBFFI_INCLUDEDIR=''
LIBM=''
LIBOBJS=''
LIBRARY=''
LIBS=''
LIBTOOL_CRUFT=''
LINKCC=''
LINKFORSHARED=''
LIPO_32BIT_FLAGS=''
LN=''
LTLIBOBJS=''
MACHDEP='linux4'
MACHDEP_OBJS=''
MAINCC=''
OBJEXT=''
OPT=''
OTHER_LIBTOOL_OPT=''
PACKAGE_BUGREPORT='http://bugs.python.org/'
PACKAGE_NAME='python'
PACKAGE_STRING='python 2.7'
PACKAGE_TARNAME='python'
PACKAGE_URL=''
PACKAGE_VERSION='2.7'
PATH_SEPARATOR=':'
PKG_CONFIG=''
PYTHONFRAMEWORK=''
PYTHONFRAMEWORKDIR='no-framework'
PYTHONFRAMEWORKIDENTIFIER='org.python.python'
PYTHONFRAMEWORKINSTALLDIR=''
PYTHONFRAMEWORKPREFIX=''
RANLIB='arm-linux-androideabi-ranlib'
RUNSHARED=''
SGI_ABI=''
SHELL='/bin/bash'
SHLIBS=''
SIGNAL_OBJS=''
SO=''
SOVERSION='1.0'
SRCDIRS=''
SVNVERSION=''
THREADHEADERS=''
THREADOBJ=''
TRUE=''
UNICODE_OBJS=''
UNIVERSALSDK=''
UNIVERSAL_ARCH_FLAGS=''
USE_SIGNAL_MODULE=''
USE_THREAD_MODULE=''
VERSION='2.7'
ac_ct_CC=''
bindir='${exec_prefix}/bin'
build_alias='x86_64-linux-gnu'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host_alias='arm-eabi'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/home/noah/.local/share/python-for-android/build/other_builds/python2/armeabi/python2/python-install'
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 600
#define _XOPEN_SOURCE_EXTENDED 1
#define _POSIX_C_SOURCE 200112L
configure: exit 77`
What can I do to fix it?