Sagemath install from source fails with giac in Ubuntu 24.04
I tried to update Ubuntu from 22.04 to 24.04 first in a virtual machine before doing this on my computer. This was good luck because unfortunately there is no sagemath package for the current Ubuntu version 22.04. Therefore I tried to install sagemath from source following the instructions in sagemath documentation. Prerequisites, configure were successful. However make failed after long time throwing an error that giac installation failed. I have giac.log and config.log files but do not know how to add these to this post.
During "make" installation giac says the following several times:
class pointer_to_binary_function
In file indcluded from sym2poly.h:27 from giacPCH.h.38 gausspol.h:96:29
Warning 'template class_Arg1, class_Arg2, class_Result class std::pointer_to_binary_function is deprecated'
Because sagemath is essential for me this error prevents me upgrading to Ubuntu 24.04. Can somebody halp?
You can paste your logs at https://pastebin.com/
FWIW, WorksForMe(TM) on Ubuntu 24-04 running under WSL :
HTH,
Have you tried these instructions: https://sagemanifolds.obspm.fr/instal... ?
Yes, I followed these instructions which are pretty much the same as on the sagemath page https://doc.sagemath.org/html/en/installation/source.html (https://doc.sagemath.org/html/en/inst...).
You quoted just a warning, which should not break installation. There should be something else.