Error during compilation
I get the following error when I run: make (More Info below)
(base) moha7@ubuntu:~/Desktop/graph-tool-2.27$ make
make all-recursive
make[1]: Entering directory '/home/moha7/Desktop/graph-tool-2.27'
Making all in src
make[2]: Entering directory '/home/moha7/Desktop/graph-tool-2.27/src'
Making all in graph
make[3]: Entering directory '/home/moha7/Desktop/graph-tool-2.27/src/graph'
Making all in centrality
make[4]: Entering directory '/home/moha7/Desktop/graph-tool-2.27/src/graph/centrality'
CXX graph_betweenness.lo
CXX graph_closeness.lo
CXX graph_eigentrust.lo
CXX graph_eigenvector.lo
CXX graph_hits.lo
CXX graph_katz.lo
CXX graph_pagerank.lo
g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-7/README.Bugs> for instructions.
Makefile:539: recipe for target 'graph_pagerank.lo' failed
make[4]: *** [graph_pagerank.lo] Error 1
make[4]: Leaving directory '/home/moha7/Desktop/graph-tool-2.27/src/graph/centrality'
Makefile:752: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/home/moha7/Desktop/graph-tool-2.27/src/graph'
Makefile:422: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/moha7/Desktop/graph-tool-2.27/src'
Makefile:594: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/moha7/Desktop/graph-tool-2.27'
Makefile:481: recipe for target 'all' failed
make: *** [all] Error 2
------------------------------------------------------
OS: Ubuntu 18.0.4 virtual machine 2GB of RAM
Python 3.7.1
Configuration Command: ./configure --prefix=/home/moha7/anaconda3 CPPFLAGS="-I/home/moha7/anaconda3/include/" LDFLAGS="-L/home/moha7/anaconda3/lib"
================================================================================
CONFIGURATION SUMMARY
================================================================================
Using python version: 3.7.1
Python interpreter: /home/moha7/anaconda3/bin/python
Installation path: /home/moha7/anaconda3/lib/python3.7/site-packages/graph_tool
C++ compiler (CXX): g++
C++ compiler version: 7
Prefix: /home/moha7/anaconda3
Pkgconfigdir: ${libdir}/pkgconfig
Python CPP flags: -I/home/moha7/anaconda3/include/python3.7m
Python LD flags: -L/home/moha7/anaconda3/lib -lpython3.7m
Boost CPP flags: -pthread -I/usr/include
Boost LD flags: -lboost_iostreams -lboost_python-py36 -lboost_regex -lboost_context -lboost_coroutine
Numpy CPP flags: -I/home/moha7/anaconda3/lib/python3.7/site-packages/numpy/core/include
Sparsehash CPP flags:
CGAL CPP flags: -I/usr/include
CGAL LD flags: -L/usr/lib -lCGAL -lCGAL_Core -lgmp -lboost_thread -lpthread
Expat CPP flags: -I/usr/include
Expat LD flags: -L/usr/lib -lexpat
Cairomm CPP flags: -I/usr/include/cairomm-1.0 -I/usr/lib/x86_64-linux-gnu/cairomm-1.0/include -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include
Cairomm LD flags: -lcairomm-1.0 -lcairo -lsigc-2.0
OpenMP compiler flags: -fopenmp
OpenMP LD flags:
Extra CPPFLAGS: -DNDEBUG -I/home/moha7/anaconda3/include/
Extra CXXFLAGS: -fopenmp -O3 -fvisibility=default -fvisibility-inlines-hidden -Wno-deprecated -Wall -Wextra -ftemplate-backtrace-limit=0
Extra LDFLAGS: -L/home/moha7/anaconda3/lib
Using OpenMP: yes
Using sparsehash: yes
Thanks, MALMASRI