[Networkit] Problem in installing networkit

Maximilian Vogel maximilian.vogel at student.kit.edu
Wed Jan 7 15:35:09 CET 2015


Hi,

first of all, you want to replace V and X in "--optimize=V -jX" with 
correct values or just leave it. You might want to try:
python3 setup.py built_ext --inplace
or
python3 setup.py built_ext --inplace --optimize=Dbg (if you want the 
debug build)
Next, I'm not familiar with OS X at all, so I can only speculate, 
however g++ seems to receive an environment variable "kern.osversion 
14.0.0" but g++ looks for the header files in the folders of an older 
version ("[...]darwin13.1.0/[...]")?
GCC/g++ also reports an internal compiler error, so there's something 
wrong. You should make sure that your g++ installation works properly 
and then try the installation again.

Good luck,
Max


On 07.01.2015 15:09, Yunhwan Kim wrote:
> Hi, all,
>
> I tried to install Networkit in OS X Yosemite machine, but failed.
> I followed the instruction, but I don’t understand what’s wrong…
> Below is the error message. Can anyone give me any hint?
>
> Many thanks in advance.
>
> Yun
>
>
> $ python3 setup.py build_ext --inplace --optimize=V -jX
> running build_ext
> g++ -c -std=c++11 -Wall -fmessage-length=0 -fPIC -fopenmp -O3 -DNDEBUG 
> -DLOG_LEVEL=LOG_LEVEL_INFO -o.buildOpt/Globals.o networkit/cpp/Globals.cpp
> g++: warning: couldn’t understand kern.osversion ‘14.0.0
> g++ -c -std=c++11 -Wall -fmessage-length=0 -fPIC -fopenmp -O3 -DNDEBUG 
> -DLOG_LEVEL=LOG_LEVEL_INFO -o.buildOpt/AdjacencyMatrix.o 
> networkit/cpp/algebraic/AdjacencyMatrix.cpp
> g++: warning: couldn’t understand kern.osversion ‘14.0.0
> In file included from /usr/local/include/c++/4.9.0/cmath:44:0,
>                  from networkit/cpp/Globals.h:12,
>                  from networkit/cpp/Globals.cpp:8:
> /usr/local/lib/gcc/x86_64-apple-darwin13.1.0/4.9.0/include-fixed/math.h:273:5: 
> internal compiler error: Illegal instruction: 4
>      return __inline_isfinitef(__x) && __builtin_fabsf(__x) >= 
> __FLT_MIN__;
>      ^
>
> /usr/local/lib/gcc/x86_64-apple-darwin13.1.0/4.9.0/include-fixed/math.h:273:5: 
> internal compiler error: Abort trap: 6
> In file included from /usr/local/include/c++/4.9.0/cmath:44:0,
>                  from /usr/local/include/c++/4.9.0/random:38,
>                  from /usr/local/include/c++/4.9.0/bits/stl_algo.h:66,
>                  from /usr/local/include/c++/4.9.0/algorithm:62,
>                  from networkit/cpp/algebraic/../graph/Graph.h:11,
>                  from networkit/cpp/algebraic/Matrix.h:11,
>                  from networkit/cpp/algebraic/AdjacencyMatrix.h:11,
>                  from networkit/cpp/algebraic/AdjacencyMatrix.cpp:8:
> /usr/local/lib/gcc/x86_64-apple-darwin13.1.0/4.9.0/include-fixed/math.h:273:5: 
> internal compiler error: Illegal instruction: 4
>      return __inline_isfinitef(__x) && __builtin_fabsf(__x) >= 
> __FLT_MIN__;
>      ^
> /usr/local/lib/gcc/x86_64-apple-darwin13.1.0/4.9.0/include-fixed/math.h:273:5: 
> internal compiler error: Abort trap: 6
> g++: internal compiler error: Abort trap: 6 (program cc1plus)
> g++: internal compiler error: Abort trap: 6 (program cc1plus)
> g++ -c -std=c++11 -Wall -fmessage-length=0 -fPIC -fopenmp -O3 -DNDEBUG 
> -DLOG_LEVEL=LOG_LEVEL_INFO -o.buildOpt/IncidenceMatrix.o 
> networkit/cpp/algebraic/IncidenceMatrix.cpp
> compilation of a file went wrong, exiting...
> g++: warning: couldn’t understand kern.osversion ‘14.0.0
> In file included from /usr/local/include/c++/4.9.0/cmath:44:0,
>                  from /usr/local/include/c++/4.9.0/random:38,
>                  from /usr/local/include/c++/4.9.0/bits/stl_algo.h:66,
>                  from /usr/local/include/c++/4.9.0/algorithm:62,
>                  from networkit/cpp/algebraic/../graph/Graph.h:11,
>                  from networkit/cpp/algebraic/IncidenceMatrix.h:11,
>                  from networkit/cpp/algebraic/IncidenceMatrix.cpp:8:
> /usr/local/lib/gcc/x86_64-apple-darwin13.1.0/4.9.0/include-fixed/math.h:273:5: 
> internal compiler error: Illegal instruction: 4
>      return __inline_isfinitef(__x) && __builtin_fabsf(__x) >= 
> __FLT_MIN__;
>      ^
>
> /usr/local/lib/gcc/x86_64-apple-darwin13.1.0/4.9.0/include-fixed/math.h:273:5: 
> internal compiler error: Abort trap: 6
> g++ -c -std=c++11 -Wall -fmessage-length=0 -fPIC -fopenmp -O3 -DNDEBUG 
> -DLOG_LEVEL=LOG_LEVEL_INFO -o.buildOpt/LaplacianMatrix.o 
> networkit/cpp/algebraic/LaplacianMatrix.cpp
> g++: warning: couldn’t understand kern.osversion ‘14.0.0
> In file included from /usr/local/include/c++/4.9.0/cmath:44:0,
>                  from /usr/local/include/c++/4.9.0/random:38,
>                  from /usr/local/include/c++/4.9.0/bits/stl_algo.h:66,
>                  from /usr/local/include/c++/4.9.0/algorithm:62,
>                  from networkit/cpp/algebraic/../graph/Graph.h:11,
>                  from networkit/cpp/algebraic/Matrix.h:11,
>                  from networkit/cpp/algebraic/LaplacianMatrix.h:11,
>                  from networkit/cpp/algebraic/LaplacianMatrix.cpp:8:
> /usr/local/lib/gcc/x86_64-apple-darwin13.1.0/4.9.0/include-fixed/math.h:273:5: 
> internal compiler error: Illegal instruction: 4
>      return __inline_isfinitef(__x) && __builtin_fabsf(__x) >= 
> __FLT_MIN__;
>      ^
>
> /usr/local/lib/gcc/x86_64-apple-darwin13.1.0/4.9.0/include-fixed/math.h:273:5: 
> internal compiler error: Abort trap: 6
> g++: internal compiler error: Abort trap: 6 (program cc1plus)
> g++: internal compiler error: Abort trap: 6 (program cc1plus)
> g++ -c -std=c++11 -Wall -fmessage-length=0 -fPIC -fopenmp -O3 -DNDEBUG 
> -DLOG_LEVEL=LOG_LEVEL_INFO -o.buildOpt/Matrix.o 
> networkit/cpp/algebraic/Matrix.cpp
> g++: warning: couldn’t understand kern.osversion ‘14.0.0
> In file included from /usr/local/include/c++/4.9.0/cmath:44:0,
>                  from /usr/local/include/c++/4.9.0/random:38,
>                  from /usr/local/include/c++/4.9.0/bits/stl_algo.h:66,
>                  from /usr/local/include/c++/4.9.0/algorithm:62,
>                  from networkit/cpp/algebraic/../graph/Graph.h:11,
>                  from networkit/cpp/algebraic/Matrix.h:11,
>                  from networkit/cpp/algebraic/Matrix.cpp:8:
> /usr/local/lib/gcc/x86_64-apple-darwin13.1.0/4.9.0/include-fixed/math.h:273:5: 
> internal compiler error: Illegal instruction: 4
>      return __inline_isfinitef(__x) && __builtin_fabsf(__x) >= 
> __FLT_MIN__;
>      ^
>
> /usr/local/lib/gcc/x86_64-apple-darwin13.1.0/4.9.0/include-fixed/math.h:273:5: 
> internal compiler error: Abort trap: 6
> g++ -c -std=c++11 -Wall -fmessage-length=0 -fPIC -fopenmp -O3 -DNDEBUG 
> -DLOG_LEVEL=LOG_LEVEL_INFO -o.buildOpt/NormalizedLaplacianMatrix.o 
> networkit/cpp/algebraic/NormalizedLaplacianMatrix.cpp
> g++: warning: couldn’t understand kern.osversion ‘14.0.0
> In file included from /usr/local/include/c++/4.9.0/cmath:44:0,
>                  from /usr/local/include/c++/4.9.0/random:38,
>                  from /usr/local/include/c++/4.9.0/bits/stl_algo.h:66,
>                  from /usr/local/include/c++/4.9.0/algorithm:62,
>                  from networkit/cpp/algebraic/../graph/Graph.h:11,
>                  from networkit/cpp/algebraic/Matrix.h:11,
>                  from 
> networkit/cpp/algebraic/NormalizedLaplacianMatrix.h:11,
>                  from 
> networkit/cpp/algebraic/NormalizedLaplacianMatrix.cpp:8:
> /usr/local/lib/gcc/x86_64-apple-darwin13.1.0/4.9.0/include-fixed/math.h:273:5: 
> internal compiler error: Illegal instruction: 4
>      return __inline_isfinitef(__x) && __builtin_fabsf(__x) >= 
> __FLT_MIN__;
>      ^
> /usr/local/lib/gcc/x86_64-apple-darwin13.1.0/4.9.0/include-fixed/math.h:273:5: 
> internal compiler error: Abort trap: 6
> g++: internal compiler error: Abort trap: 6 (program cc1plus)
> g++: internal compiler error: Abort trap: 6 (program cc1plus)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ira.uni-karlsruhe.de/mailman/private/networkit/attachments/20150107/81bdb873/attachment-0001.html>


More information about the NetworKit mailing list