Sagemath install from source fails with giac in Ubuntu 24.04

asked 2024-09-10 10:36:39 +0200

Oyano gravatar image

updated 2024-09-10 19:23:55 +0200

FrédéricC gravatar image

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.

Because sagemath is essential for me this error prevents me upgrading to Ubuntu 24.04. Can somebody halp?

edit retag flag offensive close merge delete

Comments

You can paste your logs at https://pastebin.com/

Max Alekseyev gravatar imageMax Alekseyev ( 2024-09-10 22:07:55 +0200 )edit

FWIW, WorksForMe(TM) on Ubuntu 24-04 running under WSL :

charpent@SAP5342949:~$ uname -a
Linux SAP5342949 5.15.153.1-microsoft-standard-WSL2 #1 SMP Fri Mar 29 23:14:13 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
charpent@SAP5342949:~$ sage -c 'print(giac("2+2"))'
4

HTH,

Emmanuel Charpentier gravatar imageEmmanuel Charpentier ( 2024-09-11 07:09:12 +0200 )edit

Have you tried these instructions: https://sagemanifolds.obspm.fr/instal... ?

eric_g gravatar imageeric_g ( 2024-09-11 11:03:06 +0200 )edit

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...).

Oyano gravatar imageOyano ( 2024-09-13 18:35:58 +0200 )edit