Hello, I can't install the igraph package. I've already tried a lot of things but it is still not working...
i am using the ubuntu 20.04.3
Here is the error message:
gcc -std=gnu99 -std=gnu11 -I"/usr/share/R/include" -DNDEBUG -DUSING_R -I. -Iinclude -Ics -Iplfit -ISuiteSparse_config -g -O2 -fdebug-prefix-map=/build/r-base-i2PIHO/r-base-4.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -I/usr/include/libxml2 -g -O2 -fdebug-prefix-map=/build/r-base-i2PIHO/r-base-4.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -I/usr/include/libxml2 -DNDEBUG -DNPARTITION -DNTIMER -DNCAMD -DNPRINT -DPACKAGE_VERSION="1.2.9" -DINTERNAL_ARPACK -DIGRAPH_THREAD_LOCAL=/**/ -fpic -g -O2 -fdebug-prefix-map=/build/r-base-i2PIHO/r-base-4.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c zeroin.c -o zeroin.o
gfortran -fno-optimize-sibling-calls -fpic -g -O2 -fdebug-prefix-map=/build/r-base-i2PIHO/r-base-4.1.2=. -fstack-protector-strong -c dgetv0.f -o dgetv0.o
/bin/bash: gfortran:fail to find the commond
make: *** [/usr/lib/R/etc/Makeconf:191:dgetv0.o] error 127
ERROR: compilation failed for package ‘igraph’
- removing ‘/home/xian/R/x86_64-pc-linux-gnu-library/4.1/igraph’
The downloaded source packages are in
‘/tmp/RtmpeLluIX/downloaded_packages’
Warning message:
In install.packages("igraph") :
installation of package ‘igraph’ had non-zero exit status