[Ubuntu 24.04.2 LTS] Error building package gfortran-14.2.0

78 views
Skip to first unread message

Ricardo Fodra

unread,
May 25, 2025, 12:21:42 PMMay 25
to sage-devel
************************************************************************
Error building package gfortran-14.2.0
************************************************************************
explaining the problem and including the log files
  /home/ricardo/sage/sage/logs/pkgs/gfortran-14.2.0.log
and
  /home/ricardo/sage/sage/config.log
Describe your computer, operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/home/ricardo/sage/sage/local/var/tmp/sage/build/gfortran-14.2.0 and type 'make' or whatever is appropriate.
Instead, the following commands setup all environment variables
correctly and load a subshell for you to debug the error:
  (cd '/home/ricardo/sage/sage/local/var/tmp/sage/build/gfortran-14.2.0' && '/home/ricardo/sage/sage/sage' --buildsh)
When you are done debugging, you can type "exit" to leave the subshell.
************************************************************************

gfortran-14.2.0.zip
config.zip

Grégory Vanuxem

unread,
May 25, 2025, 7:06:14 PMMay 25
to sage-...@googlegroups.com
Hello,

I don't know the exact setting used by SAGE for compiling the gcc compiler suite but usually flex (and even bison) is necessary. Maybe you could try to install it even it's just a warning here.

To speak frankly, why gfortran has to be built? Why not installing your distribution packages of gcc, g++ and gfortran?

- Greg

Dima Pasechnik

unread,
May 25, 2025, 10:23:43 PMMay 25
to sage-...@googlegroups.com, ricard...@gmail.com
Hi,
Can you rather install and use system gfortran?
HTH
Dima

Dima Pasechnik

unread,
May 25, 2025, 10:24:01 PMMay 25
to sage-...@googlegroups.com
hear, hear...

I have been arguing for years that gcc/gfortran package got to be removed, as it's everyone's waste of time, apart for about 1 user.


>
>- Greg
>
Reply all
Reply to author
Forward
0 new messages