You should start by installing "build-essential" and gfortran. To do this you have to do:

sudo apt update
sudo apt install build-essential gfortran

sudo is mandatory (rivileged (root) access).

build-essential contains gcc and g++ compilers as well as some libraries and tools, but not the fortran compiler (gfortran).

You will certainly have to install other tools and libraries. Follow sage installation procedure, you will get the list of what too install.

Yours,
t.d.

Le 27/02/2022 à 12:22, Saksham a écrit :
Hi all,

I have been trying to install sage 9.5 from source on Ubuntu.

After running the following command i get an error.

CC=gcc-7 CXX=g++ FC=gfortran-7 ./configure

The error that i get is.

configure: error:

     Given --with-system-gcc=force, but no system package could be used.
     That's an error.  Please install the indicated package to continue.
     (To override this error, use ./configure --without-system-gcc)

Does anyone have a solution for this ? (using -without-system-gcc does fix this error but why could system package not be used)

Thanks,
Saksham.

--
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 sage-support+unsubscr...@googlegroups.com <mailto:sage-support+unsubscr...@googlegroups.com>. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/54776375-dc6c-46a5-91d8-ace3d5681ca0n%40googlegroups.com <https://groups.google.com/d/msgid/sage-support/54776375-dc6c-46a5-91d8-ace3d5681ca0n%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
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 sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/a3d08d4e-a3a3-2787-8379-96e3cb4bceb0%40math.univ-lyon1.fr.

Reply via email to