On 23.02.2017 20:43, P-M wrote:
Thank you for that, that was a lot more helpful than my past hour of googling...
Based on what you suggested I ran
./configure --prefix=$HOME/.local CXX="g++-5" CXXFLAGS="-std=gnu++14 -Wno-unused-local-typedefs" PYTHON=/home/pmj27/anaconda2/bin/python2.7 CPPFLAGS="-I/home/pmj27/anaconda2/include" LDFLAGS="-L/home/pmj27/anaconda2/lib" --enable-openmp
This means it now correctly picks up boost but now returns me two cryptic error messages:
checking python2.7 module: numpy... yes ./configure: line 20689: -I/home/pmj27/anaconda2/include: No such file or directory checking for /home/pmj27/anaconda2/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h... no configure: error: Numpy extension header not found
/home/pmj27/anaconda2/include and /home/pmj27/anaconda2/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h both exist though. Based on config.log <http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/file/n4027064/config.log> the issue seems to be with Python.h:
configure:20691: g++-5 -c -fopenmp -O3 -fvisibility=default -fvisibility-inlines-hidden -Wno-deprecated -ftemplate-depth-250 -DNDEBUG -Wall -Wextra -ftemplate-backtrace-limit=0 -std=gnu++14 -Wno-unused-local-typedefs -I/home/pmj27/anaconda2/include conftest.cpp >&5 conftest.cpp:43:20: fatal error: Python.h: No such file or directory compilation terminated.
I presume this means it isn't picking up python correctly anymore?
You manage to find the weirdest errors... Could you please try again with the new git version? -- Tiago de Paula Peixoto <tiago@skewed.de>