Dear all,
I followed the GitHub instrusctions and installed all the necessary dependencies on Linux Mint 21.1 (same as Ubuntu), i.e. build-essential
, gfortran
, g++
, libxml2-dev
, libglpk-dev
. However, it fails with this strange error message:
R CMD INSTALL igraph_1.4.1.tar.gz
* installing to library ‘/home/fifis/R/x86_64-pc-linux-gnu-library/4.2’
* installing *source* package ‘igraph’ ...
** package ‘igraph’ successfully unpacked and MD5 sums checked
** using staged installation
/usr/local/lib/R/bin/Rcmd: 64: exec: config: not found
/usr/local/lib/R/bin/Rcmd: 64: exec: config: not found
configure: error: No C++11 compiler is available
ERROR: configuration failed for package ‘igraph’
* removing ‘/home/fifis/R/x86_64-pc-linux-gnu-library/4.2/igraph’
I compiled R from source and had no such error message.The file /usr/local/lib/R/bin/Rcmd
is in place, and on its 64th line, it says
exec "${cmd}" ${extra} "${@}"
.
Diagnostic info:
> sessionInfo()
R version 4.2.2 (2022-10-31)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Linux Mint 21.1
Matrix products: default
BLAS: /usr/local/lib/R/lib/libRblas.so
LAPACK: /usr/local/lib/R/lib/libRlapack.so
locale:
[1] LC_CTYPE=en_GB.UTF-8 LC_NUMERIC=C LC_TIME=en_GB.UTF-8
[4] LC_COLLATE=en_GB.UTF-8 LC_MONETARY=en_GB.UTF-8 LC_MESSAGES=C
[7] LC_PAPER=en_GB.UTF-8 LC_NAME=C LC_ADDRESS=C
[10] LC_TELEPHONE=C LC_MEASUREMENT=en_GB.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] ks_1.14.0
loaded via a namespace (and not attached):
[1] microbenchmark_1.4.9 compiler_4.2.2 Matrix_1.5-3 mclust_6.0.0 plot3D_1.4
[6] parallel_4.2.2 tools_4.2.2 misc3d_0.9-1 mvtnorm_1.1-3 KernSmooth_2.23-20
[11] grid_4.2.2 pracma_2.4.2 lattice_0.20-45 tcltk_4.2.2
System information:
uname -a
Linux GF72-8RD 5.19.0-35-generic #36~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 17 15:17:25 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
g++ --version
g++ (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0
Is igraph
calling the configure script in some non-standard manner? Which thing should I be trying to locate with which
for further diagnostics?
Thank you in advance for a working solution / suggestion what might be missing on my system.