Installing igraph
I'm trying to install the python_igraph
package to Sage for use on my office computer, but the installation fails. I'm SSHing into a Mac machine.
I used./sage -i python_igraph
. Everything looked fine until I get a lot of errors like
/var/folders/6x/c0q_xypx7fgc3qtsv2n3__gx740ldt/T//ccZdrX8V.s:35:suffix or operands invalid for `movq'.
(The rest of the log is at the end of the post. Sorry for the length -- I wasn't able to attach a text file.)
Since this failed, I tried to find the .spkg
file online to download it and install directly, but it doesn't appear to be among the packages on the Sage website. Can someone advise me about how to get access to the igraph capabilities?
Thanks.
Found local metadata for igraph-0.7.1
Using cached file /Users/username/SageMath/upstream/igraph-0.7.1.tar.gz
igraph-0.7.1
====================================================
Setting up build directory for igraph-0.7.1
Finished set up
****************************************************
Host system:
Darwin MacMal 15.5.0 Darwin Kernel Version 15.5.0: Tue Apr 19 18:36:36 PDT 2016; root:xnu- 3248.50.21~8/RELEASE_X86_64 x86_64
****************************************************
C compiler: gcc
C compiler version:
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/Users/username/SageMath/local/libexec/gcc/x86_64-apple-darwin15.4.0/4.9.3/lto-wrapper
Target: x86_64-apple-darwin15.4.0
Configured with: ../src/configure --prefix=/Users/username/SageMath/local --with-local- prefix=/Users/username/SageMath/local --with-gmp=/Users/username/SageMath/local --with- mpfr=/Users/username/SageMath/local --with-mpc=/Users/username/SageMath/local --with-system-zlib --disable-multilib --disable-nls --enable-languages=c,c++,fortran --disable-libitm --with-build-config=bootstrap-debug --without-isl --without-cloog
Thread model: posix
gcc version 4.9.3 (GCC)
****************************************************
[...]
GraphML format support -- yes
GMP library support -- yes
GLPK library support -- yes
Thread-local storage -- yes
Use internal ARPACK -- yes
Use internal LAPACK -- yes
Use internal BLAS -- yes
Use internal F2C -- yes
Use internal GLPK -- yes
Debug build -- no
Profiling -- no
make all-recursive
Making all in src
gcc -g -O2 -I/opt/local/include/libxml2 -DNO_FPINIT f2c/arithchk.c -lm -o f2c/arith || \
gcc -DNO_LONG_LONG -g -O2 -I/opt/local/include/libxml2 -DNO_FPINIT f2c/arithchk.c \
-Wall -lm -o f2c/arith
/var/folders/6x/c0q_xypx7fgc3qtsv2n3__gx740ldt/T//ccZdrX8V.s:35:suffix or operands invalid for `movq'
/var/folders/6x/c0q_xypx7fgc3qtsv2n3__gx740ldt/T//ccZdrX8V.s:210:suffix or operands invalid for `movq'
/var/folders/6x/c0q_xypx7fgc3qtsv2n3__gx740ldt/T//ccZdrX8V.s:212:suffix or operands invalid for `movq'
/var/folders/6x/c0q_xypx7fgc3qtsv2n3__gx740ldt/T//ccZdrX8V.s:229:suffix or operands invalid for `movq'
/var/folders/6x/c0q_xypx7fgc3qtsv2n3__gx740ldt/T//ccZdrX8V.s:231:suffix or operands invalid for `movq'
f2c/arithchk.c: In function 'need_nancheck':
f2c/arithchk.c:158:9: warning: variable 't' set but not used [-Wunused-but-set-variable]
double t;
^
/var/folders/6x/c0q_xypx7fgc3qtsv2n3__gx740ldt/T//ccSl8kbj.s:35:suffix or operands invalid for `movq'
/var/folders/6x/c0q_xypx7fgc3qtsv2n3__gx740ldt/T//ccSl8kbj.s:219:suffix or operands invalid for `movq'
/var/folders/6x/c0q_xypx7fgc3qtsv2n3__gx740ldt/T//ccSl8kbj.s:221:suffix or operands invalid for `movq'
/var/folders/6x/c0q_xypx7fgc3qtsv2n3__gx740ldt/T//ccSl8kbj.s:238:suffix or operands invalid for `movq'
/var/folders/6x ...
I installed python_igraph successfully with
sage -i python_igraph
, but I cannot import it after the installation.