On 12.01.2017 17:44, P-M wrote:
Hello,
I am trying to compile the current git (2.19dev) version. As far as I can tell gcc 5.4 is being used. I am running Ubuntu 16.04. I have run:
git clone gitlab@git.skewed.de:count0/graph-tool.git cd ./graph-tool/ ./autogen.sh sudo ./configure PYTHON="/home/pmj27/anaconda/bin/python2.7" --enable-openmp ./make -Wno-unused-local-typedefs
You are running configure as root, and make as a regular user. This is not a good idea. You should do everything as a regular user.
I then ran "sudo ./configure PYTHON="/home/pmj27/anaconda/bin/python2.7" --enable-openmp" followed by "sudo chmod o+rw config.log" as I couldn't open config.log. "configure" did not print any error messages to the screen but config.log (attached config.log <http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/file/n4026942/config.log> ) seems to show some errors:
configure:3811: gcc -V >&5 gcc: error: unrecognized command line option '-V' gcc: fatal error: no input files compilation terminated.
configure:3811: gcc -qversion >&5 gcc: error: unrecognized command line option '-qversion' gcc: fatal error: no input files compilation terminated.
configure:4588: gcc -E conftest.c conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory compilation terminated.
I unfortunately do not know what precisely I am looking for or what these error messages mean. Is anybody able to help me with this?
These are not errors. They are normal outcomes of the tests being run by the configure script. Best, Tiago -- Tiago de Paula Peixoto <tiago@skewed.de>