Ask Your Question

Revision history [back]

You could try editing the file build/pkgs/giac/spkg-configure.g4: change the line

   m4_pushdef([GIAC_MAX_VERSION], [1.7.999])

to something with a larger number, maybe

   m4_pushdef([GIAC_MAX_VERSION], [1.9.999])

Then try make distclean and ./configure and see what config.log says about whether it's going to build giac or use the system package.

You could try editing the file build/pkgs/giac/spkg-configure.g4build/pkgs/giac/spkg-configure.m4: change the line

   m4_pushdef([GIAC_MAX_VERSION], [1.7.999])

to something with a larger number, maybe

   m4_pushdef([GIAC_MAX_VERSION], [1.9.999])

Then try make distclean and ./configure and see what config.log says about whether it's going to build giac or use the system package.

You could try editing the file build/pkgs/giac/spkg-configure.m4: change the line

   m4_pushdef([GIAC_MAX_VERSION], [1.7.999])

to something with a larger number, maybe

   m4_pushdef([GIAC_MAX_VERSION], [1.9.999])

Then try make distclean and make configure and ./configure and see what config.log says about whether it's going to build giac or use the system package.

(The files spkg-configure.m4 for the various packages are used to construct the main configure script, which is what make configure does.)

You could try editing the file build/pkgs/giac/spkg-configure.m4: change the line

   m4_pushdef([GIAC_MAX_VERSION], [1.7.999])

to something with a larger number, maybe

   m4_pushdef([GIAC_MAX_VERSION], [1.9.999])

Then try make distclean and make configure and ./configure and see what config.log says about whether it's going to build giac or use the system package.

(The files spkg-configure.m4 for the various packages are used to construct the main configure script, which is what make configure does.)

Edit: my answer is essentially equivalent to the other one. The cited trac ticket makes exactly my proposed change to spkg-configure.m4, after which one should do

  • make distclean to remove all traces of any previous build
  • make configure to rebuild the configure script — this automatically runs ./bootstrap as recommended in the other answer.
  • ./configure with any relevant arguments
  • at this point, look at config.log to see what it says about building giac. There is a section with the heading "Build status for each package", and the hope is that for giac it will say, "using system package; SPKG will not be installed"
  • then make to actually build Sage