Hi all,

I'm trying to install igraph in R and in several different R versions tried
I get this error:

gfortran  -fpic  -g -O2  -c AMD/Source/amd.f -o AMD/Source/amd.o
gcc -I"/scg/apps/software/r/3.6/lib64/R/include" -DNDEBUG
-I/usr/local/include -march=x86-64 -mtune=generic   -fpic  -march=x86-64
-mtune=generic   -c AMD/Source/amd_1.c -o AMD/Source/amd_1.o
AMD/Source/amd_1.c:27:10: fatal error: amd_internal.h: No such file or
directory
 #include "amd_internal.h"
          ^~~~~~~~~~~~~~~~
compilation terminated.
make: *** [AMD/Source/amd_1.o] Error 1
ERROR: compilation failed for package ‘igraph’

As I have noted here: https://github.com/igraph/rigraph/issues/325 if I
manually copy the amd_internal.h to a place in the include path
(/usr/include/) then I can get past a series of these errors until hitting

CHOLMOD/Partition/cholmod_camd.c:42:10: fatal error: camd.h: No such file
or directory
 #include "camd.h"
          ^~~~~~~~
compilation terminated.
make: *** [CHOLMOD/Partition/cholmod_camd.o] Error 1
ERROR: compilation failed for package ‘igraph’

with camd.h not being included in the rigraph source. I was able to install
an older version of igraph several months ago when setting up R initially,
just can't figure out what since then I've done to break it so that igraph
can't be reinstalled or upgraded.

Any hints about how to solve this would be appreciated.

Best,

griznog
_______________________________________________
igraph-help mailing list
igraph-help@nongnu.org
https://lists.nongnu.org/mailman/listinfo/igraph-help

Reply via email to