Ticket #1643 (closed defect: fixed)
[with spkg] Fortran.spkg: If SAGE_FORTRAN is set do not copy the binary to sage_fortran.bin
|Reported by:||mabshoff||Owned by:||mabshoff|
We shouldn't copy the binary named in SAGE_FORTRAN to sage_fortran.bin since it seems to break gfortran. Some times it seems to assume the position of libgfortran.so to be relative to the invoking executable and then breaks things will break. Just make the script sage_fortran call
#!/bin/bash value of SAGE_FORTRAN $*
That way a bdist is also less likely to break if the version of the fortran compiler is slightly different. It will also result in a slightly smaller Sage install, which is also a good thing.
- Summary changed from Fortran.spkg: If SAGE_FORTRAN is set do not copy the binary to sage_fortran.bin to [with spkg] Fortran.spkg: If SAGE_FORTRAN is set do not copy the binary to sage_fortran.bin