- 11:44:29 ~ $ cd /Applications
- 11:44:37 /Applications $ cd SageMath
- 11:44:41 /Applications/SageMath $ make
- /Applications/Xcode.app/Contents/Developer/usr/bin/make build/make/Makefile
- make[1]: `build/make/Makefile' is up to date.
- build/bin/sage-logger \
- "cd build/make && ./install 'all'" logs/install.log
- *** ALL ENVIRONMENT VARIABLES BEFORE BUILD: ***
- Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.VT5Yq0Lg7X/Render
- HOME=/Users/michael
- LANG=en_US.UTF-8
- LOGNAME=michael
- MAKE=make
- MAKEFLAGS=
- MAKELEVEL=1
- MFLAGS=
- PATH=/Applications/SageMath/build/bin:/Applications/SageMath/src/bin:/Applications/SageMath/local/bin:/Library/Frameworks/Python.framework/Versions/2.7/bin:/Library/Frameworks/Python.framework/Versions/2.7/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/michael/Dropbox/Python:/Library/TeX/texbin
- PWD=/Applications/SageMath/build/make
- PYTHONPATH=/Applications/SageMath/local
- SAGE_EXTCODE=/Applications/SageMath/local/share/sage/ext
- SAGE_LOCAL=/Applications/SageMath/local
- SAGE_LOGS=/Applications/SageMath/logs/pkgs
- SAGE_ORIG_PATH=/Library/Frameworks/Python.framework/Versions/2.7/bin:/Library/Frameworks/Python.framework/Versions/2.7/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/michael/Dropbox/Python:/Library/TeX/texbin
- SAGE_ORIG_PATH_SET=True
- SAGE_ROOT=/Applications/SageMath
- SAGE_SHARE=/Applications/SageMath/local/share
- SAGE_SPKG_INST=/Applications/SageMath/local/var/lib/sage/installed
- SAGE_SRC=/Applications/SageMath/src
- SAGE_VERSION=7.1
- SECURITYSESSIONID=186a7
- SHELL=/bin/bash
- SHLVL=4
- SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.mIAUOyUhtx/Listeners
- TERM=xterm-256color
- TERM_PROGRAM=Apple_Terminal
- TERM_PROGRAM_VERSION=361.1
- TERM_SESSION_ID=F8B3F504-9DB9-423D-AE1E-0E4A4396530C
- TMPDIR=/var/folders/9z/9kpln_1s35z1618nh2dhy5j00000gn/T/
- USER=michael
- XPC_FLAGS=0x0
- XPC_SERVICE_NAME=0
- _=/usr/bin/env
- __CF_USER_TEXT_ENCODING=0x1F5:0x0:0x0
- ***********************************************
- make base
- make[2]: Nothing to be done for `base'.
- env SAGE_BUILD_TOOLCHAIN=yes make toolchain
- make[2]: Nothing to be done for `toolchain'.
- make toolchain-deps
- make /Applications/SageMath/local/var/lib/sage/installed/zlib-1.2.8.p0
- make[3]: `/Applications/SageMath/local/var/lib/sage/installed/zlib-1.2.8.p0' is up to date.
- make /Applications/SageMath/local/var/lib/sage/installed/mpir-2.7.2
- make[3]: `/Applications/SageMath/local/var/lib/sage/installed/mpir-2.7.2' is up to date.
- make /Applications/SageMath/local/var/lib/sage/installed/mpfr-3.1.4
- make[3]: `/Applications/SageMath/local/var/lib/sage/installed/mpfr-3.1.4' is up to date.
- make /Applications/SageMath/local/var/lib/sage/installed/mpc-1.0.3.p0
- make[3]: `/Applications/SageMath/local/var/lib/sage/installed/mpc-1.0.3.p0' is up to date.
- make doc all-sage
- if [ -z "$SAGE_INSTALL_FETCH_ONLY" ]; then \
- cd /Applications/SageMath/src && source bin/sage-env && \
- sage-logger 'time make sage' '/Applications/SageMath/logs/pkgs/sage-7.1.log'; \
- fi
- python -u setup.py install
- Traceback (most recent call last):
- File "setup.py", line 4, in <module>
- import os, sys, time, errno, platform, subprocess, glob
- File "/Applications/SageMath/local/lib/python/subprocess.py", line 430, in <module>
- import pickle
- File "/Applications/SageMath/local/lib/python/pickle.py", line 34, in <module>
- import struct
- File "/Applications/SageMath/local/lib/python/struct.py", line 1, in <module>
- from _struct import *
- ImportError: dlopen(/Applications/SageMath/local/lib/python2.7/lib-dynload/_struct.so, 2): Symbol not found: _PyUnicodeUCS4_AsEncodedString
- Referenced from: /Applications/SageMath/local/lib/python2.7/lib-dynload/_struct.so
- Expected in: flat namespace
- in /Applications/SageMath/local/lib/python2.7/lib-dynload/_struct.so
- make[3]: *** [sage] Error 1
- real 0m0.095s
- user 0m0.044s
- sys 0m0.037s
- make[2]: *** [sagelib] Error 2
- make[1]: *** [all] Error 2
- real 0m0.697s
- user 0m0.418s
- sys 0m0.213s
- ***************************************************************
- Error building Sage.
- The following package(s) may have failed to build (not necessarily
- during this run of 'make all'):
- The build directory may contain configuration files and other potentially
- helpful information. WARNING: if you now run 'make' again, the build
- directory will, by default, be deleted. Set the environment variable
- SAGE_KEEP_BUILT_SPKGS to 'yes' to prevent this.
- make: *** [all] Error 1