Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save filipefigcorreia/b7517ecfa564744143dbc8152e1088aa to your computer and use it in GitHub Desktop.
Save filipefigcorreia/b7517ecfa564744143dbc8152e1088aa to your computer and use it in GitHub Desktop.
Build_all matplotlib
Build matplotlib for i386, x86_64, armv7, arm64 (filtered)
Build matplotlib
Prebuild matplotlib for i386
Build matplotlib for i386
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Downloading http://pypi.python.org/packages/source/d/distribute/distribute-0.6.28.tar.gz
Extracting in /tmp/tmpy6FNo8
Now working in /tmp/tmpy6FNo8/distribute-0.6.28
Building a Distribute egg in /Users/fcorreia/projects/kivy-ios/build/matplotlib/i386/v1.5.2
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
/Users/fcorreia/projects/kivy-ios/build/matplotlib/i386/v1.5.2/distribute-0.6.28-py2.7.egg
============================================================================
Edit setup.cfg to change the build options
BUILDING MATPLOTLIB
matplotlib: yes [0+unknown]
python: yes [2.7.1 (r271:86832, Sep 12 2016, 15:42:20) [GCC
4.2.1 Compatible Apple LLVM 7.3.0 (clang-703.0.31)]]
platform: yes [darwin]
REQUIRED DEPENDENCIES AND EXTENSIONS
numpy: yes [not found. pip may install it below.]
dateutil: yes [dateutil was not found. It is required for date
axis support. pip/easy_install may attempt to
install it after matplotlib.]
pytz: yes [pytz was not found. pip will attempt to install
it after matplotlib.]
cycler: yes [cycler was not found. pip will attempt to
install it after matplotlib.]
tornado: yes [tornado was not found. It is required for the
WebAgg backend. pip/easy_install may attempt to
install it after matplotlib.]
pyparsing: yes [pyparsing was not found. It is required for
mathtext support. pip/easy_install may attempt to
install it after matplotlib.]
libagg: yes [pkg-config information for 'libagg' could not
be found. Using local copy.]
freetype: yes [version 2.6.5]
png: yes [version 1.6.24]
qhull: yes [pkg-config information for 'qhull' could not be
found. Using local copy.]
OPTIONAL SUBPACKAGES
sample_data: yes [installing]
toolkits: yes [installing]
tests: yes [nose 0.11.1 or later is required to run the
matplotlib test suite. Please install it with pip or
your preferred tool to run the test suite / mock is
required to run the matplotlib test suite. Please
install it with pip or your preferred tool to run
the test suite]
toolkits_tests: yes [nose 0.11.1 or later is required to run the
matplotlib test suite. Please install it with pip or
your preferred tool to run the test suite / mock is
required to run the matplotlib test suite. Please
install it with pip or your preferred tool to run
the test suite]
OPTIONAL BACKEND EXTENSIONS
macosx: yes [installing, darwin]
qt5agg: no [PyQt5 not found]
qt4agg: no [PySide not found; PyQt4 not found]
gtk3agg: yes [installing, unknown (can not use
multiprocessing to determine)]
gtk3cairo: yes [installing, unknown (can not use
multiprocessing to determine)]
gtkagg: no [Requires pygtk]
tkagg: yes [installing; run-time loading from Python Tcl /
Tk]
wxagg: no [requires wxPython]
gtk: no [Requires pygtk]
agg: yes [installing]
cairo: no [cairocffi or pycairo not found]
windowing: no [Microsoft Windows only]
OPTIONAL LATEX DEPENDENCIES
dvipng: no
ghostscript: yes [version 9.19]
latex: no
pdftops: no
OPTIONAL PACKAGE DATA
dlls: no [skipping due to configuration]
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Running from numpy source directory.
/tmp/easy_install-YRv609/numpy-1.11.1/setup.py:327: UserWarning: Unrecognized setuptools command, proceeding with generating Cython sources and expanding templates
warnings.warn("Unrecognized setuptools command, proceeding with "
non-existing path in 'numpy/distutils': 'site.cfg'
/Users/fcorreia/projects/kivy-ios/dist/hostpython/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'define_macros'
warnings.warn(msg)
Could not locate executable gfortran
Could not locate executable f95
Could not locate executable f90
Could not locate executable f77
Could not locate executable xlf90
Could not locate executable xlf
Could not locate executable ifort
Could not locate executable ifc
Could not locate executable g77
Could not locate executable g95
Could not locate executable pgfortran
don't know how to compile Fortran code on platform 'posix'
ld: warning: ignoring file _configtest.o, file was built for i386 which is not the architecture being linked (x86_64): _configtest.o
Undefined symbols for architecture x86_64:
"_main", referenced from:
implicit entry/start for main executable
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ld: warning: ignoring file _configtest.o, file was built for i386 which is not the architecture being linked (x86_64): _configtest.o
Undefined symbols for architecture x86_64:
"_main", referenced from:
implicit entry/start for main executable
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Traceback (most recent call last):
File "setup.py", line 277, in <module>
**extra_args
File "/Users/fcorreia/projects/kivy-ios/dist/hostpython/lib/python2.7/distutils/core.py", line 112, in setup
_setup_distribution = dist = klass(attrs)
File "build/bdist.macosx-10.11-x86_64/egg/setuptools/dist.py", line 221, in __init__
File "build/bdist.macosx-10.11-x86_64/egg/setuptools/dist.py", line 245, in fetch_build_eggs
File "build/bdist.macosx-10.11-x86_64/egg/pkg_resources.py", line 580, in resolve
File "build/bdist.macosx-10.11-x86_64/egg/pkg_resources.py", line 825, in best_match
File "build/bdist.macosx-10.11-x86_64/egg/pkg_resources.py", line 837, in obtain
File "build/bdist.macosx-10.11-x86_64/egg/setuptools/dist.py", line 294, in fetch_build_egg
File "build/bdist.macosx-10.11-x86_64/egg/setuptools/command/easy_install.py", line 598, in easy_install
File "build/bdist.macosx-10.11-x86_64/egg/setuptools/command/easy_install.py", line 628, in install_item
File "build/bdist.macosx-10.11-x86_64/egg/setuptools/command/easy_install.py", line 823, in install_eggs
File "build/bdist.macosx-10.11-x86_64/egg/setuptools/command/easy_install.py", line 1103, in build_and_install
File "build/bdist.macosx-10.11-x86_64/egg/setuptools/command/easy_install.py", line 1089, in run_setup
File "build/bdist.macosx-10.11-x86_64/egg/setuptools/sandbox.py", line 30, in run_setup
File "build/bdist.macosx-10.11-x86_64/egg/setuptools/sandbox.py", line 78, in run
File "build/bdist.macosx-10.11-x86_64/egg/setuptools/sandbox.py", line 32, in <lambda>
File "setup.py", line 386, in <module>
File "setup.py", line 378, in setup_package
File "/tmp/easy_install-YRv609/numpy-1.11.1/numpy/distutils/core.py", line 169, in setup
File "/Users/fcorreia/projects/kivy-ios/dist/hostpython/lib/python2.7/distutils/core.py", line 152, in setup
dist.run_commands()
File "/Users/fcorreia/projects/kivy-ios/dist/hostpython/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/Users/fcorreia/projects/kivy-ios/dist/hostpython/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "build/bdist.macosx-10.11-x86_64/egg/setuptools/command/bdist_egg.py", line 172, in run
File "/Users/fcorreia/projects/kivy-ios/dist/hostpython/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/Users/fcorreia/projects/kivy-ios/dist/hostpython/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/tmp/easy_install-YRv609/numpy-1.11.1/numpy/distutils/command/egg_info.py", line 18, in run
File "/Users/fcorreia/projects/kivy-ios/dist/hostpython/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/Users/fcorreia/projects/kivy-ios/dist/hostpython/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/tmp/easy_install-YRv609/numpy-1.11.1/numpy/distutils/command/build_src.py", line 147, in run
File "/tmp/easy_install-YRv609/numpy-1.11.1/numpy/distutils/command/build_src.py", line 158, in build_sources
File "/tmp/easy_install-YRv609/numpy-1.11.1/numpy/distutils/command/build_src.py", line 293, in build_library_sources
File "/tmp/easy_install-YRv609/numpy-1.11.1/numpy/distutils/command/build_src.py", line 376, in generate_sources
File "numpy/core/setup.py", line 654, in get_mathlib_info
RuntimeError: Broken toolchain: cannot link a simple C program
Traceback (most recent call last):
File "./toolchain.py", line 1311, in <module>
ToolchainCL()
File "./toolchain.py", line 1082, in __init__
getattr(self, args.command)()
File "./toolchain.py", line 1106, in build
build_recipes(args.recipe, ctx)
File "./toolchain.py", line 974, in build_recipes
recipe.execute()
File "/Users/fcorreia/projects/kivy-ios/toolchain.py", line 586, in execute
self.build_all()
File "/Users/fcorreia/projects/kivy-ios/toolchain.py", line 56, in _cache_execution
f(self, *args, **kwargs)
File "/Users/fcorreia/projects/kivy-ios/toolchain.py", line 673, in build_all
self.build(arch)
File "/Users/fcorreia/projects/kivy-ios/toolchain.py", line 56, in _cache_execution
f(self, *args, **kwargs)
File "/Users/fcorreia/projects/kivy-ios/toolchain.py", line 660, in build
self.build_arch(arch)
File "/Users/fcorreia/projects/kivy-ios/toolchain.py", line 932, in build_arch
_env=build_env)
File "/Users/fcorreia/projects/kivy-ios/toolchain.py", line 39, in shprint
for line in command(*args, **kwargs):
File "./tools/external/sh.py", line 565, in next
self.wait()
File "./tools/external/sh.py", line 500, in wait
self.handle_command_exit_code(exit_code)
File "./tools/external/sh.py", line 516, in handle_command_exit_code
raise exc(self.ran, self.process.stdout, self.process.stderr)
sh.ErrorReturnCode_1:
RAN: '/Users/fcorreia/projects/kivy-ios/dist/hostpython/bin/python setup.py build_ext -g'
STDOUT:
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Downloading http://pypi.python.org/packages/source/d/distribute/distribute-0.6.28.tar.gz
Extracting in /tmp/tmpy6FNo8
Now working in /tmp/tmpy6FNo8/distribute-0.6.28
Building a Distribute egg in /Users/fcorreia/projects/kivy-ios/build/matplotlib/i386/v1.5.2
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
/Users/fcorreia/projects/kivy-ios/build/matplotlib/i386/v1.5.2/distribute-0.6.28-py2.7.egg
============================================================================
Edit s... (8976 more, please see e.stdout)
STDERR:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment