Thanks again Tiago. No luck so far. I tried both these configuration commands: ./configure --with-sparsehash-prefix=google --with-boost=/usr/local/boost --with-boost-libdir=/usr/local/boost/stage/lib CPPFLAGS="-I/usr/local/include -I/usr/local/boost/libs" LDFLAGS="-L/usr/local/lib -L/usr/local/boost/stage/lib” and ./configure --with-sparsehash-prefix=google --with-boost=/usr/local/boost --with-boost-libdir=/usr/local/boost/stage/lib CPPFLAGS="-I/usr/local/boost/libs" LDFLAGS=“-L/usr/local/boost/stage/lib" A dry run of make (make -n) shows the failed compile command: cd src/graph/topology echo " CXX " graph_subgraph_isomorphism.lo;/bin/sh ../../../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../../boost-workaround -DHAVE_CONFIG_H -I/usr/local/boost/libs -I/usr/include/python2.7 -I/usr/local/boost/include -I/usr/lib64/python2.7/site-packages/numpy/core/include/numpy -I/usr/lib64/python2.7/site-packages/scipy -DSPARSEHASH_PREFIX=google -Wall -Wextra -Wno-unused-local-typedefs -Wno-unused-parameter -std=gnu++11 -ftemplate-depth-250 -Wno-deprecated -Wno-unknown-pragmas -O3 -fvisibility=default -fvisibility-inlines-hidden -Wno-unknown-pragmas -DSPARSEHASH_PREFIX=google -MT graph_subgraph_isomorphism.lo -MD -MP -MF .deps/graph_subgraph_isomorphism.Tpo -c -o graph_subgraph_isomorphism.lo graph_subgraph_isomorphism.cc Error: … st::adj_list<long unsigned int>::edge_descriptor>, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na>}]' graph_subgraph_isomorphism.cc:178:56: required from here graph_subgraph_isomorphism.cc:108:114: error: 'vf2_subgraph_mono' was not declared in this scope On Oct 3, 2014, at 4:02 AM, Tiago de Paula Peixoto <tiago@skewed.de> wrote:
On 03.10.2014 02:34, Smith, Steven - 1004 - MITLL wrote:
I downloaded boost_1_56_0.tar.gz, built and installed it successfully, then tried this configure statement, which failed.
What is the recommended configure/make options to use a downloaded boost and installed in a nonstandard location?
Here are the steps and result:
# download and build boost using bootstrap.sh $ sudo mv boost_1_56_0 /usr/local $ sudo ln -s /usr/local/boost_1_56_0 /usr/local/boost $ ./configure --with-sparsehash-prefix=google --with-boost=/usr/local/boost --with-boost-libdir=/usr/local/boost/stage/lib
You still need to inform the compiler and linker where they should search for libraries, which is done via CPPFLAGS and LDFLAGS:
./configure --with-sparsehash-prefix=google CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib"
Assuming that you have installed boost with prefix "/usr/local".