When trying to install giacpy_sage via sage -i giacpy_sage
I'm encountering errors that seem to indicate that C++11 should be used but isn't. I haven't managed to fix the install, and would appreciate any advice. This is on macOS 10.13.6. Log output of the install with all occurring errors attached as sage_install.log. Thank you! -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/3ebfbca6-e6cc-42d5-9743-61b83f140831%40googlegroups.com.
Found local metadata for giacpy_sage-0.6.7 Attempting to download package giacpy_sage-0.6.7.tar.gz from mirrors Downloading the Sage mirror list Searching fastest mirror 219ms: http://files.sagemath.org/ 803ms: http://ftp.kaist.ac.kr/sage/ 342ms: http://ftp.leg.uct.ac.za/pub/packages/sage/ 159ms: http://ftp.ntua.gr/pub/sagemath/ 143ms: http://ftp.rediris.es/mirror/sagemath/ 582ms: http://ftp.riken.jp/sagemath/ 350ms: http://ftp.sun.ac.za/ftp/pub/mirrors/www.sagemath.org/ 568ms: http://ftp.yz.yamagata-u.ac.jp/pub/math/sage/ 615ms: http://linorg.usp.br/sage/ 1228ms: http://mirror.aarnet.edu.au/pub/sage/ 368ms: http://mirror.ufs.ac.za/sagemath/ 119ms: http://mirror.yandex.ru/mirrors/sage.math.washington.edu/ 128ms: http://mirrors.mit.edu/sage/ 1532ms: http://mirrors.tuna.tsinghua.edu.cn/sagemath/ WARNING [mirror_list|_rank_mirrors:136]: timed out: http://mirrors.ustc.edu.cn/sagemath/ 305ms: http://mirrors.xmission.com/sage/ 336ms: http://sage.mirror.garr.it/mirrors/sage/ 295ms: http://sagemath.c3sl.ufpr.br/ 453ms: http://sagemath.mirror.ac.za/ 590ms: http://sagemath.nust.na/sage/ 81ms: http://www-ftp.lip6.fr/pub/math/sagemath/ 344ms: http://www.cecm.sfu.ca/sage/ 52ms: http://www.mirrorservice.org/sites/www.sagemath.org/ 260ms: https://mirror-hk.koddos.net/sagemath/ 66ms: https://mirror.koddos.net/sagemath/ 86ms: https://mirrors.up.pt/pub/sage/ Fastest mirror: http://www.mirrorservice.org/sites/www.sagemath.org/ http://www.mirrorservice.org/sites/www.sagemath.org/spkg/upstream/giacpy_sage/giacpy_sage-0.6.7.tar.gz [......................................................................] giacpy_sage-0.6.7 ==================================================== Setting up build directory for giacpy_sage-0.6.7 Finished extraction No patch files found in ../patches **************************************************** Host system: Darwin Julias-MBP.lan 17.7.0 Darwin Kernel Version 17.7.0: Thu Dec 20 21:47:19 PST 2018; root:xnu-4570.71.22~1/RELEASE_X86_64 x86_64 **************************************************** C compiler: gcc C compiler version: Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/c++/4.2.1 Apple LLVM version 10.0.0 (clang-1000.11.45.5) Target: x86_64-apple-darwin17.7.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin **************************************************** Package 'giacpy_sage' is currently not installed No legacy uninstaller found for 'giacpy_sage'; nothing to do Deleting /Users/julia/sage_mac/SageMath/local/lib/python*/site-packages/giacpy-* Deleting /Users/julia/sage_mac/SageMath/local/lib/python*/site-packages/giacpy.so Deleting /Users/julia/sage_mac/SageMath/local/lib/python*/site-packages/giacpy_sage* Installing giacpy_sage-0.6.7 /Users/julia/sage_mac/SageMath/local/lib/python2.7/site-packages/Cython/Compiler/Main.py:367: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /Users/julia/sage_mac/SageMath/local/var/tmp/sage/build/giacpy_sage-0.6.7/src/giacpy_sage.pxd tree = Parsing.p_module(s, pxd, full_module_name) Warning: This package has a badly-behaved setup.py which outputs more than the package name for 'setup.py --name'; using the last line as the package name: giacpy_sage Installing package giacpy_sage using pip2 Ignoring indexes: https://pypi.org/simple Created temporary directory: /private/var/folders/vb/pgn0bx7j4b55mr90x034wyl80000gn/T/pip-ephem-wheel-cache-Rqwyuh Created temporary directory: /private/var/folders/vb/pgn0bx7j4b55mr90x034wyl80000gn/T/pip-req-tracker-5JHTxr Created requirements tracker '/private/var/folders/vb/pgn0bx7j4b55mr90x034wyl80000gn/T/pip-req-tracker-5JHTxr' Created temporary directory: /private/var/folders/vb/pgn0bx7j4b55mr90x034wyl80000gn/T/pip-install-kVZ9JL Processing /Users/julia/sage_mac/SageMath/local/var/tmp/sage/build/giacpy_sage-0.6.7/src Created temporary directory: /private/var/folders/vb/pgn0bx7j4b55mr90x034wyl80000gn/T/pip-req-build-35Ij1v Added file:///Users/julia/sage_mac/SageMath/local/var/tmp/sage/build/giacpy_sage-0.6.7/src to build tracker '/private/var/folders/vb/pgn0bx7j4b55mr90x034wyl80000gn/T/pip-req-tracker-5JHTxr' Running setup.py (path:/private/var/folders/vb/pgn0bx7j4b55mr90x034wyl80000gn/T/pip-req-build-35Ij1v/setup.py) egg_info for package from file:///Users/julia/sage_mac/SageMath/local/var/tmp/sage/build/giacpy_sage-0.6.7/src Running command python setup.py egg_info running egg_info creating pip-egg-info/giacpy_sage.egg-info writing pip-egg-info/giacpy_sage.egg-info/PKG-INFO writing top-level names to pip-egg-info/giacpy_sage.egg-info/top_level.txt writing dependency_links to pip-egg-info/giacpy_sage.egg-info/dependency_links.txt writing manifest file 'pip-egg-info/giacpy_sage.egg-info/SOURCES.txt' reading manifest file 'pip-egg-info/giacpy_sage.egg-info/SOURCES.txt' writing manifest file 'pip-egg-info/giacpy_sage.egg-info/SOURCES.txt' Source in /private/var/folders/vb/pgn0bx7j4b55mr90x034wyl80000gn/T/pip-req-build-35Ij1v has version 0.6.7, which satisfies requirement giacpy-sage==0.6.7 from file:///Users/julia/sage_mac/SageMath/local/var/tmp/sage/build/giacpy_sage-0.6.7/src Removed giacpy-sage==0.6.7 from file:///Users/julia/sage_mac/SageMath/local/var/tmp/sage/build/giacpy_sage-0.6.7/src from build tracker '/private/var/folders/vb/pgn0bx7j4b55mr90x034wyl80000gn/T/pip-req-tracker-5JHTxr' Installing collected packages: giacpy-sage Created temporary directory: /private/var/folders/vb/pgn0bx7j4b55mr90x034wyl80000gn/T/pip-record-DdVnZc Running setup.py install for giacpy-sage: started Running command /Users/julia/sage_mac/SageMath/local/bin/python2 -u -c "import setuptools, tokenize;__file__='/private/var/folders/vb/pgn0bx7j4b55mr90x034wyl80000gn/T/pip-req-build-35Ij1v/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" --no-user-cfg install --record /private/var/folders/vb/pgn0bx7j4b55mr90x034wyl80000gn/T/pip-record-DdVnZc/install-record.txt --single-version-externally-managed --root /Users/julia/sage_mac/SageMath/local/var/tmp/sage/build/giacpy_sage-0.6.7/inst --compile running install running build running build_ext building 'giacpy_sage' extension creating build creating build/temp.macosx-10.9-x86_64-2.7 gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I/Users/julia/sage_mac/SageMath/local/lib/python2.7/site-packages/sage/cpython -I/Users/julia/sage_mac/SageMath/local/lib/python2.7/site-packages/sage/libs/ntl -I/Users/julia/sage_mac/SageMath/local/lib/python2.7/site-packages/cysignals -I/Users/julia/sage_mac/SageMath/local/include -I/Users/julia/sage_mac/SageMath/local/lib/python2.7/site-packages -I/Users/julia/sage_mac/SageMath/local/lib/python2.7/site-packages/sage/ext -I/Users/julia/sage_mac/SageMath/local/include/python2.7 -I/Users/julia/sage_mac/SageMath/local/lib/python2.7/site-packages/numpy/core/include -I/Users/julia/sage_mac/SageMath/local/include/python2.7 -c giacpy_sage.cpp -o build/temp.macosx-10.9-x86_64-2.7/giacpy_sage.o In file included from giacpy_sage.cpp:659: In file included from /Users/julia/sage_mac/SageMath/local/include/giac/giac.h:5: In file included from /Users/julia/sage_mac/SageMath/local/include/giac/poly.h:25: /Users/julia/sage_mac/SageMath/local/include/giac/index.h:32:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma anon_unions ^ In file included from giacpy_sage.cpp:661: In file included from /Users/julia/sage_mac/SageMath/local/lib/python2.7/site-packages/sage/libs/ntl/ntlwrap.h:5: In file included from /Users/julia/sage_mac/SageMath/local/include/NTL/ZZ.h:19: /Users/julia/sage_mac/SageMath/local/include/NTL/tools.h:1026:1: error: unknown type name 'constexpr'; did you mean 'context'? constexpr bool Relocate_aux_has_trivial_copy(T*) ^~~~~~~~~ context /Users/julia/sage_mac/SageMath/local/include/giac/threaded.h:90:9: note: 'context' declared here class context; ^ In file included from giacpy_sage.cpp:661: In file included from /Users/julia/sage_mac/SageMath/local/lib/python2.7/site-packages/sage/libs/ntl/ntlwrap.h:5: In file included from /Users/julia/sage_mac/SageMath/local/include/NTL/ZZ.h:19: /Users/julia/sage_mac/SageMath/local/include/NTL/tools.h:1026:11: error: cannot combine with previous 'type-name' declaration specifier constexpr bool Relocate_aux_has_trivial_copy(T*) ^ /Users/julia/sage_mac/SageMath/local/include/NTL/tools.h:1034:1: error: unknown type name 'constexpr'; did you mean 'context'? constexpr bool Relocate_aux_has_any_copy(T*) ^~~~~~~~~ context /Users/julia/sage_mac/SageMath/local/include/giac/threaded.h:90:9: note: 'context' declared here class context; ^ In file included from giacpy_sage.cpp:661: In file included from /Users/julia/sage_mac/SageMath/local/lib/python2.7/site-packages/sage/libs/ntl/ntlwrap.h:5: In file included from /Users/julia/sage_mac/SageMath/local/include/NTL/ZZ.h:19: /Users/julia/sage_mac/SageMath/local/include/NTL/tools.h:1034:11: error: cannot combine with previous 'type-name' declaration specifier constexpr bool Relocate_aux_has_any_copy(T*) ^ /Users/julia/sage_mac/SageMath/local/include/NTL/tools.h:1102:1: error: unknown type name 'constexpr'; did you mean 'context'? constexpr bool DeclareRelocatableType(T*) ^~~~~~~~~ context /Users/julia/sage_mac/SageMath/local/include/giac/threaded.h:90:9: note: 'context' declared here class context; ^ In file included from giacpy_sage.cpp:661: In file included from /Users/julia/sage_mac/SageMath/local/lib/python2.7/site-packages/sage/libs/ntl/ntlwrap.h:5: In file included from /Users/julia/sage_mac/SageMath/local/include/NTL/ZZ.h:19: /Users/julia/sage_mac/SageMath/local/include/NTL/tools.h:1102:11: error: cannot combine with previous 'type-name' declaration specifier constexpr bool DeclareRelocatableType(T*) ^ In file included from giacpy_sage.cpp:661: In file included from /Users/julia/sage_mac/SageMath/local/lib/python2.7/site-packages/sage/libs/ntl/ntlwrap.h:5: In file included from /Users/julia/sage_mac/SageMath/local/include/NTL/ZZ.h:20: /Users/julia/sage_mac/SageMath/local/include/NTL/vector.h:211:11: error: unknown type name 'constexpr'; did you mean 'context'? static constexpr bool relocatable = DeclareRelocatableType((T*)0); ^~~~~~~~~ context /Users/julia/sage_mac/SageMath/local/include/giac/threaded.h:90:9: note: 'context' declared here class context; ^ In file included from giacpy_sage.cpp:661: In file included from /Users/julia/sage_mac/SageMath/local/lib/python2.7/site-packages/sage/libs/ntl/ntlwrap.h:5: In file included from /Users/julia/sage_mac/SageMath/local/include/NTL/ZZ.h:20: /Users/julia/sage_mac/SageMath/local/include/NTL/vector.h:211:21: error: cannot combine with previous 'type-name' declaration specifier static constexpr bool relocatable = DeclareRelocatableType((T*)0); ^ /Users/julia/sage_mac/SageMath/local/include/NTL/vector.h:211:26: error: non-const static data member must be initialized out of line static constexpr bool relocatable = DeclareRelocatableType((T*)0); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/julia/sage_mac/SageMath/local/include/NTL/vector.h:212:11: error: unknown type name 'constexpr'; did you mean 'context'? static constexpr bool copyable = Relocate_aux_has_any_copy((T*)0); ^~~~~~~~~ context /Users/julia/sage_mac/SageMath/local/include/giac/threaded.h:90:9: note: 'context' declared here class context; ^ In file included from giacpy_sage.cpp:661: In file included from /Users/julia/sage_mac/SageMath/local/lib/python2.7/site-packages/sage/libs/ntl/ntlwrap.h:5: In file included from /Users/julia/sage_mac/SageMath/local/include/NTL/ZZ.h:20: /Users/julia/sage_mac/SageMath/local/include/NTL/vector.h:212:21: error: cannot combine with previous 'type-name' declaration specifier static constexpr bool copyable = Relocate_aux_has_any_copy((T*)0); ^ /Users/julia/sage_mac/SageMath/local/include/NTL/vector.h:212:26: error: non-const static data member must be initialized out of line static constexpr bool copyable = Relocate_aux_has_any_copy((T*)0); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/julia/sage_mac/SageMath/local/include/NTL/vector.h:248:11: warning: rvalue references are a C++11 extension [-Wc++11-extensions] Vec(Vec&& a) NTL_FAKE_NOEXCEPT ^ /Users/julia/sage_mac/SageMath/local/include/NTL/vector.h:248:16: error: expected ';' at end of declaration list Vec(Vec&& a) NTL_FAKE_NOEXCEPT ^ ; /Users/julia/sage_mac/SageMath/local/include/NTL/vector.h:465:20: error: unknown type name 'constexpr'; did you mean 'context'? template <class T> NTL_DECLARE_RELOCATABLE((Vec<T>*)) ^ /Users/julia/sage_mac/SageMath/local/include/NTL/tools.h:1125:36: note: expanded from macro 'NTL_DECLARE_RELOCATABLE' #define NTL_DECLARE_RELOCATABLE(x) NTL_DECLARE_RELOCATABLE_WHEN(x) \ ^ /Users/julia/sage_mac/SageMath/local/include/NTL/tools.h:1007:41: note: expanded from macro 'NTL_DECLARE_RELOCATABLE_WHEN' #define NTL_DECLARE_RELOCATABLE_WHEN(x) \ ^ /Users/julia/sage_mac/SageMath/local/include/giac/threaded.h:90:9: note: 'context' declared here class context; ^ In file included from giacpy_sage.cpp:661: In file included from /Users/julia/sage_mac/SageMath/local/lib/python2.7/site-packages/sage/libs/ntl/ntlwrap.h:5: In file included from /Users/julia/sage_mac/SageMath/local/include/NTL/ZZ.h:20: /Users/julia/sage_mac/SageMath/local/include/NTL/vector.h:465:20: error: cannot combine with previous 'type-name' declaration specifier template <class T> NTL_DECLARE_RELOCATABLE((Vec<T>*)) ^ /Users/julia/sage_mac/SageMath/local/include/NTL/tools.h:1125:36: note: expanded from macro 'NTL_DECLARE_RELOCATABLE' #define NTL_DECLARE_RELOCATABLE(x) NTL_DECLARE_RELOCATABLE_WHEN(x) \ ^ /Users/julia/sage_mac/SageMath/local/include/NTL/tools.h:1008:11: note: expanded from macro 'NTL_DECLARE_RELOCATABLE_WHEN' constexpr bool DeclareRelocatableType x ^ In file included from giacpy_sage.cpp:661: In file included from /Users/julia/sage_mac/SageMath/local/lib/python2.7/site-packages/sage/libs/ntl/ntlwrap.h:5: In file included from /Users/julia/sage_mac/SageMath/local/include/NTL/ZZ.h:20: /Users/julia/sage_mac/SageMath/local/include/NTL/vector.h:465:20: error: no viable conversion from returned value of type 'bool' to function return type 'giac::context' template <class T> NTL_DECLARE_RELOCATABLE((Vec<T>*)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/julia/sage_mac/SageMath/local/include/NTL/tools.h:1126:13: note: expanded from macro 'NTL_DECLARE_RELOCATABLE' { return true; } ^~~~ /Users/julia/sage_mac/SageMath/local/include/giac/global.h:629:5: note: candidate constructor not viable: no known conversion from 'bool' to 'const giac::context &' for 1st argument context(const context & c); ^ /Users/julia/sage_mac/SageMath/local/include/giac/global.h:632:5: note: candidate constructor not viable: no known conversion from 'bool' to 'const std::string &' (aka 'const basic_string<char, char_traits<char>, allocator<char> > &') for 1st argument context(const std::string & name); ^ In file included from giacpy_sage.cpp:661: In file included from /Users/julia/sage_mac/SageMath/local/lib/python2.7/site-packages/sage/libs/ntl/ntlwrap.h:5: In file included from /Users/julia/sage_mac/SageMath/local/include/NTL/ZZ.h:20: /Users/julia/sage_mac/SageMath/local/include/NTL/vector.h:838:14: error: out-of-line definition of 'kill' does not match any declaration in 'Vec<T>' void Vec<T>::kill() ^~~~ In file included from giacpy_sage.cpp:661: In file included from /Users/julia/sage_mac/SageMath/local/lib/python2.7/site-packages/sage/libs/ntl/ntlwrap.h:5: In file included from /Users/julia/sage_mac/SageMath/local/include/NTL/ZZ.h:21: /Users/julia/sage_mac/SageMath/local/include/NTL/SmartPtr.h:298:21: warning: rvalue references are a C++11 extension [-Wc++11-extensions] SmartPtr(SmartPtr&& other) noexcept : dp(other.dp), cp(other.cp) ^ /Users/julia/sage_mac/SageMath/local/include/NTL/SmartPtr.h:298:30: error: expected ';' at end of declaration list SmartPtr(SmartPtr&& other) noexcept : dp(other.dp), cp(other.cp) ^ ; /Users/julia/sage_mac/SageMath/local/include/NTL/SmartPtr.h:365:20: error: unknown type name 'constexpr'; did you mean 'context'? template <class T> NTL_DECLARE_RELOCATABLE((SmartPtr<T>*)) ^ /Users/julia/sage_mac/SageMath/local/include/NTL/tools.h:1125:36: note: expanded from macro 'NTL_DECLARE_RELOCATABLE' #define NTL_DECLARE_RELOCATABLE(x) NTL_DECLARE_RELOCATABLE_WHEN(x) \ ^ /Users/julia/sage_mac/SageMath/local/include/NTL/tools.h:1007:41: note: expanded from macro 'NTL_DECLARE_RELOCATABLE_WHEN' #define NTL_DECLARE_RELOCATABLE_WHEN(x) \ ^ /Users/julia/sage_mac/SageMath/local/include/giac/threaded.h:90:9: note: 'context' declared here class context; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 3 warnings and 20 errors generated. error: command 'gcc' failed with exit status 1 Running setup.py install for giacpy-sage: finished with status 'error' Cleaning up... Removing source in /private/var/folders/vb/pgn0bx7j4b55mr90x034wyl80000gn/T/pip-req-build-35Ij1v Removed build tracker '/private/var/folders/vb/pgn0bx7j4b55mr90x034wyl80000gn/T/pip-req-tracker-5JHTxr' Command "/Users/julia/sage_mac/SageMath/local/bin/python2 -u -c "import setuptools, tokenize;__file__='/private/var/folders/vb/pgn0bx7j4b55mr90x034wyl80000gn/T/pip-req-build-35Ij1v/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" --no-user-cfg install --record /private/var/folders/vb/pgn0bx7j4b55mr90x034wyl80000gn/T/pip-record-DdVnZc/install-record.txt --single-version-externally-managed --root /Users/julia/sage_mac/SageMath/local/var/tmp/sage/build/giacpy_sage-0.6.7/inst --compile" failed with error code 1 in /private/var/folders/vb/pgn0bx7j4b55mr90x034wyl80000gn/T/pip-req-build-35Ij1v/ Exception information: Traceback (most recent call last): File "/Users/julia/sage_mac/SageMath/local/lib/python2.7/site-packages/pip/_internal/cli/base_command.py", line 143, in main status = self.run(options, args) File "/Users/julia/sage_mac/SageMath/local/lib/python2.7/site-packages/pip/_internal/commands/install.py", line 366, in run use_user_site=options.use_user_site, File "/Users/julia/sage_mac/SageMath/local/lib/python2.7/site-packages/pip/_internal/req/__init__.py", line 49, in install_given_reqs **kwargs File "/Users/julia/sage_mac/SageMath/local/lib/python2.7/site-packages/pip/_internal/req/req_install.py", line 791, in install spinner=spinner, File "/Users/julia/sage_mac/SageMath/local/lib/python2.7/site-packages/pip/_internal/utils/misc.py", line 705, in call_subprocess % (command_desc, proc.returncode, cwd)) InstallationError: Command "/Users/julia/sage_mac/SageMath/local/bin/python2 -u -c "import setuptools, tokenize;__file__='/private/var/folders/vb/pgn0bx7j4b55mr90x034wyl80000gn/T/pip-req-build-35Ij1v/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" --no-user-cfg install --record /private/var/folders/vb/pgn0bx7j4b55mr90x034wyl80000gn/T/pip-record-DdVnZc/install-record.txt --single-version-externally-managed --root /Users/julia/sage_mac/SageMath/local/var/tmp/sage/build/giacpy_sage-0.6.7/inst --compile" failed with error code 1 in /private/var/folders/vb/pgn0bx7j4b55mr90x034wyl80000gn/T/pip-req-build-35Ij1v/ Error: installing with pip2 failed ******************************************************************************** Error installing giacpy_sage-0.6.7 ******************************************************************************** real 0m12.713s user 0m9.860s sys 0m2.451s ************************************************************************ Error installing package giacpy_sage-0.6.7 ************************************************************************ Please email sage-devel (http://groups.google.com/group/sage-devel) explaining the problem and including the log file /Users/julia/sage_mac/SageMath/logs/pkgs/giacpy_sage-0.6.7.log Describe your computer, operating system, etc. If you want to try to fix the problem yourself, *don't* just cd to /Users/julia/sage_mac/SageMath/local/var/tmp/sage/build/giacpy_sage-0.6.7 and type 'make' or whatever is appropriate. Instead, the following commands setup all environment variables correctly and load a subshell for you to debug the error: (cd '/Users/julia/sage_mac/SageMath/local/var/tmp/sage/build/giacpy_sage-0.6.7' && '/Users/julia/sage_mac/SageMath/sage' --sh) When you are done debugging, you can type "exit" to leave the subshell. ************************************************************************