On Mon, Jan 27, 2020 at 11:38 AM Prasanth G. Narasimha-Shenoi
<[email protected]> wrote:
>
> I have installed CentOS version 8 to my server.  and I am tring to install 
> sage.  While installation there is an error
> Error building gfortran-9.2.0

I suggest that you install gfortran system package, then Sage won't
need to try to build gfortran.
the package is called gcc-gfortran; you'll also need gcc-g++

here is a complete list to install, from
https://doc.sagemath.org/html/en/installation/source.html#linux-recommended-installation

$ sudo yum install binutils xz gcc gcc-c++ gcc-gfortran make m4 perl \
  tar git patch perl-ExtUtils-MakeMaker openssl openssl-devel zlib-devel \
  bzip2 bzip2-devel xz-devel gmp gmp-devel libcurl-devel curl yasm \
  pkg-config ntl-devel mpfr-devel libmpc-devel libsymmetrica-devel \
  eclib-devel gmp-ecm-devel lrcalc-devel isl-devel givaro-devel \
  pari-devel pari-elldata pari-seadata pari-galdata pari-galpol \
  m4ri-devel m4rie-devel L-function-devel

(more precisely, this list is for Fedora LInux, but it should be the same...)

after you're done installing these, in Sage's source directory, do

make distclean
./configure && make

HTH
Dmitrii

> ...
>
> What is to be done?
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-support/f395bbe2-eccf-41c1-b0aa-0ac711846920%40googlegroups.com.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CAAWYfq1Rpyc1PL27zpZXvtCW_u1UPbo3xijrSaXr_kHZM6HqJA%40mail.gmail.com.

Reply via email to