Hi, I'm trying to rebuild sage with the 'sage -b' command as described here <http://doc.sagemath.org/html/en/developer/coding_in_cython.html> and get the error below. Are there some additional shell variables that need to be set for this to work? I'm using sage 7.4 build from source on SageMathCloud.
Thanks and Happy New Year! -Jon ---------------- ~/SAGE_INSTALL__2016-12-21/sage-7.4$ ./sage -b (cd . \ && export SAGE_ROOT=/doesnotexist \ SAGE_SRC=/doesnotexist \ SAGE_SRC_ROOT=/doesnotexist \ SAGE_DOC_SRC=/doesnotexist \ SAGE_SCRIPTS_DIR=/doesnotexist \ SAGE_BUILD_DIR=/doesnotexist \ SAGE_PKGS=/projects/792d5859-fa0c-4251-93ec-a9cd4c700e1d/SAGE_INSTALL__2016-12-21/sage-7.4/build/pkgs \ SAGE_CYTHONIZED=/projects/792d5859-fa0c-4251-93ec-a9cd4c700e1d/SAGE_INSTALL__2016-12-21/sage-7.4/src/build/cythonized \ && python -u setup.py build install) You are using pip version 8.1.2, however version 9.0.1 is available. You should consider upgrading via the 'pip install --upgrade pip' command. make[1]: Entering directory '/projects/792d5859-fa0c-4251-93ec-a9cd4c700e1d/SAGE_INSTALL__2016-12-21/sage-7.4/src' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/projects/792d5859-fa0c-4251-93ec-a9cd4c700e1d/SAGE_INSTALL__2016-12-21/sage-7.4/src' Updating Cython code.... Enabling Cython debugging support ************************************************************************ Traceback (most recent call last): File "setup.py", line 620, in <module> run_cythonize() File "setup.py", line 612, in run_cythonize 'profile': profile, File "/projects/792d5859-fa0c-4251-93ec-a9cd4c700e1d/SAGE_INSTALL__2016-12-21/sage-7.4/local/lib/python2.7/site-packages/Cython/Build/D ependencies.py", line 799, in cythonize aliases=aliases) File "/projects/792d5859-fa0c-4251-93ec-a9cd4c700e1d/SAGE_INSTALL__2016-12-21/sage-7.4/local/lib/python2.7/site-packages/Cython/Build/D ependencies.py", line 704, in create_extension_list kwds = deps.distutils_info(file, aliases, base).values File "/projects/792d5859-fa0c-4251-93ec-a9cd4c700e1d/SAGE_INSTALL__2016-12-21/sage-7.4/local/lib/python2.7/site-packages/Cython/Build/D ependencies.py", line 586, in distutils_info return (self.transitive_merge(filename, self.distutils_info0, DistutilsInfo.merge) File "/projects/792d5859-fa0c-4251-93ec-a9cd4c700e1d/SAGE_INSTALL__2016-12-21/sage-7.4/local/lib/python2.7/site-packages/Cython/Build/D ependencies.py", line 596, in transitive_merge node, extract, merge, seen, {}, self.cimported_files)[0] File "/projects/792d5859-fa0c-4251-93ec-a9cd4c700e1d/SAGE_INSTALL__2016-12-21/sage-7.4/local/lib/python2.7/site-packages/Cython/Build/D ependencies.py", line 601, in transitive_merge_helper deps = extract(node) File "/projects/792d5859-fa0c-4251-93ec-a9cd4c700e1d/SAGE_INSTALL__2016-12-21/sage-7.4/local/lib/python2.7/site-packages/Cython/Build/D ependencies.py", line 577, in distutils_info0 externs = self.cimports_and_externs(filename)[1] File "/projects/792d5859-fa0c-4251-93ec-a9cd4c700e1d/SAGE_INSTALL__2016-12-21/sage-7.4/local/lib/python2.7/site-packages/Cython/Utils.p y", line 44, in wrapper res = cache[args] = f(self, *args) File "/projects/792d5859-fa0c-4251-93ec-a9cd4c700e1d/SAGE_INSTALL__2016-12-21/sage-7.4/local/lib/python2.7/site-packages/Cython/Build/D ependencies.py", line 487, in cimports_and_externs for include in self.included_files(filename): File "/projects/792d5859-fa0c-4251-93ec-a9cd4c700e1d/SAGE_INSTALL__2016-12-21/sage-7.4/local/lib/python2.7/site-packages/Cython/Utils.p y", line 44, in wrapper res = cache[args] = f(self, *args) File "/projects/792d5859-fa0c-4251-93ec-a9cd4c700e1d/SAGE_INSTALL__2016-12-21/sage-7.4/local/lib/python2.7/site-packages/Cython/Build/D ependencies.py", line 470, in included_files include_path = self.context.find_include_file(include, None) File "/projects/792d5859-fa0c-4251-93ec-a9cd4c700e1d/SAGE_INSTALL__2016-12-21/sage-7.4/local/lib/python2.7/site-packages/Cython/Compile r/Main.py", line 274, in find_include_file error(pos, "'%s' not found" % filename) File "/projects/792d5859-fa0c-4251-93ec-a9cd4c700e1d/SAGE_INSTALL__2016-12-21/sage-7.4/local/lib/python2.7/site-packages/Cython/Compile r/Errors.py", line 177, in error raise InternalError(message) InternalError: Internal compiler error: '../ext/gmp.pxi' not found ************************************************************************ Error building the Sage library ************************************************************************ Makefile:34: recipe for target 'sage' failed make: *** [sage] Error 1 ~/SAGE_INSTALL__2016-12-21/sage-7.4$ -- 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 post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.