Errors installing 2.19dev

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(a)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

That seemed to fail with the note "Makefile:500: recipe for target
'graph_cairo_draw.lo' failed" (I have attached the config.log config1.log
<http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/file/n4026942/config1.log&gt;
).

So I thought I would try again (after deleting all the files) and check the
output of the config.log after running configure. So I ran:

git clone gitlab(a)git.skewed.de:count0/graph-tool.git
cd ./graph-tool/
./autogen.sh

That returned:
libtoolize: putting auxiliary files in '.'.
libtoolize: linking file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: linking file 'm4/libtool.m4'
libtoolize: linking file 'm4/ltoptions.m4'
libtoolize: linking file 'm4/ltsugar.m4'
libtoolize: linking file 'm4/ltversion.m4'
libtoolize: linking file 'm4/lt~obsolete.m4'
libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
configure.ac:22: installing './compile'
configure.ac:18: installing './config.guess'
configure.ac:18: installing './config.sub'
configure.ac:20: installing './install-sh'
configure.ac:20: installing './missing'
src/graph/Makefile.am: installing './depcomp'
src/graph_tool/Makefile.am:3: installing './py-compile'

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&gt;
) 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?

Best wishes,

Philipp

I have also attached a screengrab of the step during make that fails here
showing the output: screengrab.dat
<http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/file/n4026943/screengrab.dat&gt;

I am running the following Boost version: 1.58.0.1ubuntu1

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(a)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&gt;
) 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

Problem has been solved here:
https://stackoverflow.com/questions/41634020/makefile500-recipe-for-target-graph-cairo-draw-lo-failed
Thank you for getting back though!