PoonLab / Kaphi

Kernel-embedded ABC-SMC for phylodynamic inference
GNU Affero General Public License v3.0
4 stars 2 forks source link

Problem compiling igraph on Ubuntu 16.04 #138

Closed ArtPoon closed 5 years ago

ArtPoon commented 6 years ago
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I../src/CHOLMOD/Include -I../src/CHOLMOD/Include -I../src/AMD/Include -I../src/AMD/Include -I../src/COLAMD/Include -I../src/COLAMD/Include -I../src/SuiteSparse_config -I../src/SuiteSparse_config -DNPARTITION -DNTIMER -DNCAMD -Wall -I../optional/glpk -I../src/prpack -DPRPACK_IGRAPH_SUPPORT -g -O2 -I/usr/include/libxml2 -MT libigraph_la-foreign-ncol-lexer.lo -MD -MP -MF .deps/libigraph_la-foreign-ncol-lexer.Tpo -c ./foreign-ncol-lexer.c  -fPIC -DPIC -o .libs/libigraph_la-foreign-ncol-lexer.o
gcc: error: ./foreign-ncol-lexer.c: No such file or directory
gcc: fatal error: no input files

Dependency versions:

art@orolo:~/Desktop$ bison --version
bison (GNU Bison) 3.0.4
art@orolo:~/Desktop$ flex --version
flex 2.6.0
ArtPoon commented 6 years ago

Somehow this problem resolved itself - I'm able to compile igraph but now having trouble accessing its shared library:

** testing if installed package can be loaded
Error: package or namespace load failed for ‘Kaphi’ in dyn.load(file, DLLpath = DLLpath, ...):
 unable to load shared object '/home/art/R/x86_64-pc-linux-gnu-library/3.4/Kaphi/libs/Kaphi.so':
  libigraph.so.0: cannot open shared object file: No such file or directory
Error: loading failed
ArtPoon commented 6 years ago

Using this as motivation to try finally closing #126

ArtPoon commented 5 years ago

Finally tore out C-igraph