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
$ make
…
 CXX      graph_subgraph_isomorphism.lo
…
boost::mpl::vector<boost::unchecked_vector_property_map<int, 
boost::adj_edge_index_property_map<long unsigned int> >, 
graph_tool::ConstantPropertyMap<bool, boost::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
make[4]: *** [graph_subgraph_isomorphism.lo] Error 1
make[4]: Leaving directory 
`/home/user/Downloads/graph-tool-2.2.35/src/graph/topology'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/user/Downloads/graph-tool-2.2.35/src/graph'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/user/Downloads/graph-tool-2.2.35/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/user/Downloads/graph-tool-2.2.35'
make: *** [all] Error 2


On Oct 2, 2014, at 4:53 PM, Smith, Steven - 1004 - MITLL <[email protected]> 
wrote:

> Thank you, Tiago.
> 
> Indeed, CentOS 7 server is bundled with boost 1.53. Untangling this on CentOS 
> looks complicated:
> 
> $ rpm -e boost-1.53.0-18.el7.x86_64
> error: Failed dependencies:
>       boost = 1.53.0-18.el7 is needed by (installed) 
> boost-devel-1.53.0-18.el7.x86_64
> $ rpm -e boost-devel-1.53.0-18.el7.x86_64
> error: Failed dependencies:
>       boost-devel is needed by (installed) 
> kdepimlibs-devel-4.10.5-3.el7.x86_64
> 
> I suppose I could build the latest 1.56 from source and set some flag to 
> point to that, while keeping the rpm package 1.53 installed.
> 
> Any pointers on how to accomplish this while dealing with rpm dependency hell?
> 
> Steve
> 
> On Oct 2, 2014, at 3:18 PM, Tiago de Paula Peixoto <[email protected]> wrote:
> 
>> You need boost version 1.54 or above. Which one do you have installed?
>> 
>> Best,
>> Tiago
> 
> _______________________________________________
> graph-tool mailing list
> [email protected]
> http://lists.skewed.de/mailman/listinfo/graph-tool

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
graph-tool mailing list
[email protected]
http://lists.skewed.de/mailman/listinfo/graph-tool

Reply via email to