Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Workaround: Disable gap packages with build issues

If you do not need the gap packages

  • cohomolo-*
  • crypting-*
  • grape-* -guava-*
  • orb-*

comment them in the spkg-install script for the sage package gap_packages.

$ sage -i gap_packages
... error message ...
$ (cd '/Applications/SageMath/local/var/tmp/sage/build/gap_packages-4.10.2.p1' && '/Applications/SageMath/sage' --buildsh)
$ vim spkg-install

and comment gap packages with build issues:

 96 # Build and install compiled packages:
 97 #
 98 # These packages have an old ./configure that take the GAP_ROOT as a positional
 99 # argument
100 # for pkg in cohomolo-* crypting-* grape-* guava-* orb-*
101 # do
102 #     echo "Building GAP package $pkg"
103 #     cd "$PKG_SRC_DIR/$pkg"
104 #     ./configure "$GAP_ROOT"
105 #     sdh_make -j1
106 #     install_compiled_pkg "$pkg"
107 #     cd "$PKG_SRC_DIR"
108 # done

and then proceed within the subshell with the compilation and installation with

$ ./spkg-install

Workaround: Disable gap packages with build issues

If you do not need the gap packages

  • cohomolo-*
  • crypting-*
  • grape-* -guava-*grape-*
  • guava-*
  • orb-*

comment them in the spkg-install script for the sage package gap_packages.

$ sage -i gap_packages
... error message ...
$ (cd '/Applications/SageMath/local/var/tmp/sage/build/gap_packages-4.10.2.p1' && '/Applications/SageMath/sage' --buildsh)
$ vim spkg-install

and comment gap packages with build issues:

 96 # Build and install compiled packages:
 97 #
 98 # These packages have an old ./configure that take the GAP_ROOT as a positional
 99 # argument
100 # for pkg in cohomolo-* crypting-* grape-* guava-* orb-*
101 # do
102 #     echo "Building GAP package $pkg"
103 #     cd "$PKG_SRC_DIR/$pkg"
104 #     ./configure "$GAP_ROOT"
105 #     sdh_make -j1
106 #     install_compiled_pkg "$pkg"
107 #     cd "$PKG_SRC_DIR"
108 # done

and then proceed within the subshell with the compilation and installation with

$ ./spkg-install