igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[igraph] Installing igraph in R


From: John Hanks
Subject: [igraph] Installing igraph in R
Date: Fri, 26 Jul 2019 15:42:34 -0700

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]