Graph-Tool Mac OS Build Errors
I'm attempting to build Graph-Tool on this MacBook Air (OS X 10.9.2). I've got all the dependencies installed, including boost and I've even run tests to confirm boost works. When I run the ./configure and make, I get the error half way into make at graph_correlations.lo. Showing below are the ./configure and make commands. (I've tried with no flags on ./configure and it turned out pretty much the same.) I've also upgraded to gcc48, which got me past a few earlier errors and a little deeper into the files to build through the make command. But I'm stuck here, unsure of what the holdup is. Any help would be appreciated. Thanks! gale:graph-tool tanza$ ./configure CXX=/opt/local/bin/g++-mp-4.8 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking for style of include used by make... GNU checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... gcc3 checking for library containing strerror... none required checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether we are using the GNU C++ compiler... yes checking whether /opt/local/bin/g++-mp-4.8 accepts -g... yes checking dependency style of /opt/local/bin/g++-mp-4.8... gcc3 checking for gcc option to accept ISO C99... unsupported checking for gcc option to accept ISO C89... (cached) none needed checking for gcc option to accept ISO Standard C... (cached) none needed checking how to run the C++ preprocessor... /opt/local/bin/g++-mp-4.8 -E checking for ANSI C header files... (cached) yes checking build system type... x86_64-apple-darwin13.1.0 checking host system type... x86_64-apple-darwin13.1.0 checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /opt/local/bin/ld checking if the linker (/opt/local/bin/ld) is GNU ld... no checking for BSD- or MS-compatible name lister (nm)... /opt/local/bin/nm checking the name lister (/opt/local/bin/nm) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 196608 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-apple-darwin13.1.0 file names to x86_64-apple-darwin13.1.0 format... func_convert_file_noop checking how to convert x86_64-apple-darwin13.1.0 file names to toolchain format... func_convert_file_noop checking for /opt/local/bin/ld option to reload object files... -r checking for objdump... no checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... no checking for strip... strip checking for ranlib... ranlib checking command to parse /opt/local/bin/nm output from gcc object... ok checking for sysroot... no checking for mt... no checking if : is a manifest tool... no checking for dsymutil... dsymutil checking for nmedit... nmedit checking for lipo... lipo checking for otool... otool checking for otool64... no checking for -single_module linker flag... yes checking for -exported_symbols_list linker flag... yes checking for -force_load linker flag... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fno-common -DPIC checking if gcc PIC flag -fno-common -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/opt/local/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin13.1.0 dyld checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... /opt/local/bin/g++-mp-4.8 -E checking for ld used by /opt/local/bin/g++-mp-4.8... /opt/local/bin/ld checking if the linker (/opt/local/bin/ld) is GNU ld... no checking whether the /opt/local/bin/g++-mp-4.8 linker (/opt/local/bin/ld) supports shared libraries... yes checking for /opt/local/bin/g++-mp-4.8 option to produce PIC... -fno-common -DPIC checking if /opt/local/bin/g++-mp-4.8 PIC flag -fno-common -DPIC works... yes checking if /opt/local/bin/g++-mp-4.8 static flag -static works... no checking if /opt/local/bin/g++-mp-4.8 supports -c -o file.o... yes checking if /opt/local/bin/g++-mp-4.8 supports -c -o file.o... (cached) yes checking whether the /opt/local/bin/g++-mp-4.8 linker (/opt/local/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin13.1.0 dyld checking how to hardcode library paths into programs... immediate checking target system type... x86_64-apple-darwin13.1.0 checking whether to enable debug info...... no checking whether C++ compiler supports -std=gnu++11... yes checking whether to enable function inlining...... yes checking whether to enable optimizations...... yes checking whether to enable symbol visibility manipulation...... yes checking whether to enable parallel algorithms with openmp...... no checking whether to enable cairo drawing...... yes checking for main in -lm... yes checking for main in -lbz2... yes checking for main in -lexpat... yes ================ Detecting python ================ checking for a Python interpreter with version >= 2.6... python checking for python... /usr/bin/python checking for python version... 2.7 checking for python platform... darwin checking for python script directory... ${prefix}/lib/python2.7/site-packages checking for python extension module directory... ${exec_prefix}/lib/python2.7/site-packages checking for python2.7... (cached) /usr/bin/python checking for a version of Python >= '2.1.0'... yes checking for a version of Python == '2.7.5'... yes checking for the distutils Python package... yes checking for Python include path... -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 checking for Python library path... -L/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config -lpython2.7 checking for Python site-packages path... /Library/Python/2.7/site-packages checking python extra libraries... -ldl -framework CoreFoundation checking python extra linking flags... -u _PyMac_Error /System/Library/Frameworks/Python.framework/Versions/2.7/Python checking consistency of all components of python development environment... yes graph-tool will be installed at: /Library/Python/2.7/site-packages =========================== Using python version: 2.7.5 =========================== checking for boostlib >= 1.38.0... yes checking whether the Boost::Python library is available... yes checking for exit in -lboost_python... yes checking whether the Boost::Iostreams library is available... yes checking for exit in -lboost_iostreams... yes checking whether the Boost::Regex library is available... yes checking for exit in -lboost_regex... yes checking whether the Boost::Graph library is available... yes checking for exit in -lboost_graph... yes checking for main in -lCGAL... yes checking whether to cgal debbuging with valgrind...... no checking python module: numpy... yes checking for /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy/core/include/numpy/arrayobject.h... yes checking python module: scipy... yes checking /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/scipy/weave/scxx/object.h usability... yes checking /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/scipy/weave/scxx/object.h presence... yes checking for /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/scipy/weave/scxx/object.h... yes checking expat.h usability... yes checking expat.h presence... yes checking for expat.h... yes checking CGAL/version.h usability... yes checking CGAL/version.h presence... yes checking for CGAL/version.h... yes checking for pkg-config... /opt/local/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for CAIROMM... yes checking python module: cairo... no checking pycairo/pycairo.h usability... yes checking pycairo/pycairo.h presence... yes checking for pycairo/pycairo.h... yes checking whether to enable sparsehash...... yes checking for SPARSEHASH... yes checking sparsehash/dense_hash_set usability... yes checking sparsehash/dense_hash_set presence... yes checking for sparsehash/dense_hash_set... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/graph/Makefile config.status: creating src/graph/centrality/Makefile config.status: creating src/graph/clustering/Makefile config.status: creating src/graph/community/Makefile config.status: creating src/graph/correlations/Makefile config.status: creating src/graph/draw/Makefile config.status: creating src/graph/flow/Makefile config.status: creating src/graph/generation/Makefile config.status: creating src/graph/layout/Makefile config.status: creating src/graph/search/Makefile config.status: creating src/graph/spectral/Makefile config.status: creating src/graph/stats/Makefile config.status: creating src/graph/topology/Makefile config.status: creating src/graph/util/Makefile config.status: creating src/graph_tool/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands configure: Modifying libtool to correctly link libstdc++ before anything else... gale:graph-tool tanza$ make /Library/Developer/CommandLineTools/usr/bin/make all-recursive Making all in src Making all in graph Making all in centrality CXX graph_betweenness.lo CXX graph_closeness.lo CXX graph_eigentrust.lo CXX graph_eigenvector.lo CXX graph_hits.lo CXX graph_katz.lo CXX graph_pagerank.lo CXX graph_trust_transitivity.lo CXXLD libgraph_tool_centrality.la Making all in clustering CXX graph_clustering.lo CXX graph_extended_clustering.lo CXX graph_motifs.lo CXXLD libgraph_tool_clustering.la Making all in community CXX graph_blockmodel.lo CXX graph_community.lo CXX graph_community_network.lo CXX graph_community_network_edges.lo CXX graph_community_network_vavg.lo CXX graph_community_network_eavg.lo CXX graph_community_network_eavg_imp1.lo CXXLD libgraph_tool_community.la Making all in correlations CXX graph_assortativity.lo CXX graph_correlations.lo In file included from ./../numpy_bind.hh:33:0, from graph_correlations.hh:28, from graph_corr_hist.hh:21, from graph_correlations.cc:27: ./../numpy_bind_old.hh: In instantiation of 'boost::python::api::object wrap_vector_owned(std::vector<_RealType>&) [with ValueType = long unsigned int]': graph_corr_hist.hh:76:50: required from 'void graph_tool::get_correlation_histogram<GetDegreePair>::operator()(Graph&, DegreeSelector1, DegreeSelector2, WeightMap) const [with Graph = boost::adj_list<long unsigned int>; DegreeSelector1 = graph_tool::in_degreeS; DegreeSelector2 = graph_tool::in_degreeS; WeightMap = graph_tool::ConstantPropertyMap<int, boost::adj_list<long unsigned int>::edge_descriptor>; GetDegreePair = graph_tool::GetNeighboursPairs]' ./../graph_filtering.hh:463:9: required from 'void graph_tool::detail::action_wrap<Action, Wrap>::operator()(T1*, Ts&& ...) const [with T1 = boost::adj_list<long unsigned int>; Ts = {graph_tool::in_degreeS&, graph_tool::in_degreeS&, graph_tool::ConstantPropertyMap<int, boost::adj_list<long unsigned int>::edge_descriptor>&}; Action = graph_tool::get_correlation_histogram<graph_tool::GetNeighboursPairs>; Wrap = mpl_::bool_<false>]' ./../mpl_nested_loop.hh:174:9: required from 'void boost::mpl::selected_types<Action>::dispatch(unsigned int, std::tuple<>, Args&& ...) const [with Args = {boost::adj_list<long unsigned int>*&, graph_tool::in_degreeS&, graph_tool::in_degreeS&, graph_tool::ConstantPropertyMap<int, boost::adj_list<long unsigned int>::edge_descriptor>&}; Action = graph_tool::detail::action_wrap<graph_tool::get_correlation_histogram<graph_tool::GetNeighboursPairs>, mpl_::bool_<false> >]' ./../mpl_nested_loop.hh:168:81: [ skipping 19 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] ./../mpl_nested_loop.hh:100:48: required from 'void boost::mpl::nested_for_each_imp(Action) [with TR1 = graph_tool::scalar_selectors; TRS = {graph_tool::scalar_selectors, boost::mpl::vector<graph_tool::ConstantPropertyMap<int, 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, mpl_::na>}; Action = boost::mpl::dispatch<boost::mpl::selected_types<graph_tool::detail::action_wrap<graph_tool::get_correlation_histogram<graph_tool::GetNeighboursPairs>, mpl_::bool_<false> > >, boost::adj_list<long unsigned int>*>]' ./../mpl_nested_loop.hh:91:49: required from 'void boost::mpl::inner_loop<Action, TRS>::operator()(T) const [with T = boost::adj_list<long unsigned int>*; Action = boost::mpl::dispatch<boost::mpl::selected_types<graph_tool::detail::action_wrap<graph_tool::get_correlation_histogram<graph_tool::GetNeighboursPairs>, mpl_::bool_<false> > > >; TRS = {graph_tool::scalar_selectors, graph_tool::scalar_selectors, boost::mpl::vector<graph_tool::ConstantPropertyMap<int, 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, mpl_::na>}]' /usr/local/include/boost/mpl/for_each.hpp:78:25: required from 'static void boost::mpl::aux::for_each_impl<false>::execute(Iterator*, LastIterator*, TransformFunc*, F) [with Iterator = boost::mpl::v_iter<graph_tool::detail::graph_action<graph_tool::get_correlation_histogram<graph_tool::GetNeighboursPairs>, graph_tool::detail::all_graph_views, mpl_::bool_<false>, graph_tool::scalar_selectors, graph_tool::scalar_selectors, boost::mpl::vector<graph_tool::ConstantPropertyMap<int, 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, mpl_::na> >::graph_view_pointers, 0l>; LastIterator = boost::mpl::v_iter<graph_tool::detail::graph_action<graph_tool::get_correlation_histogram<graph_tool::GetNeighboursPairs>, graph_tool::detail::all_graph_views, mpl_::bool_<false>, graph_tool::scalar_selectors, graph_tool::scalar_selectors, boost::mpl::vector<graph_tool::ConstantPropertyMap<int, 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, mpl_::na> >::graph_view_pointers, 6l>; TransformFunc = boost::mpl::identity<mpl_::na>; F = boost::mpl::inner_loop<boost::mpl::dispatch<boost::mpl::selected_types<graph_tool::detail::action_wrap<graph_tool::get_correlation_histogram<graph_tool::GetNeighboursPairs>, mpl_::bool_<false> > > >, graph_tool::scalar_selectors, graph_tool::scalar_selectors, boost::mpl::vector<graph_tool::ConstantPropertyMap<int, 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, mpl_::na> >]' /usr/local/include/boost/mpl/for_each.hpp:105:97: required from 'void boost::mpl::for_each(F, Sequence*, TransformOp*) [with Sequence = graph_tool::detail::graph_action<graph_tool::get_correlation_histogram<graph_tool::GetNeighboursPairs>, graph_tool::detail::all_graph_views, mpl_::bool_<false>, graph_tool::scalar_selectors, graph_tool::scalar_selectors, boost::mpl::vector<graph_tool::ConstantPropertyMap<int, 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, mpl_::na> >::graph_view_pointers; TransformOp = boost::mpl::identity<mpl_::na>; F = boost::mpl::inner_loop<boost::mpl::dispatch<boost::mpl::selected_types<graph_tool::detail::action_wrap<graph_tool::get_correlation_histogram<graph_tool::GetNeighboursPairs>, mpl_::bool_<false> > > >, graph_tool::scalar_selectors, graph_tool::scalar_selectors, boost::mpl::vector<graph_tool::ConstantPropertyMap<int, 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, mpl_::na> >]' /usr/local/include/boost/mpl/for_each.hpp:118:48: required from 'void boost::mpl::for_each(F, Sequence*) [with Sequence = graph_tool::detail::graph_action<graph_tool::get_correlation_histogram<graph_tool::GetNeighboursPairs>, graph_tool::detail::all_graph_views, mpl_::bool_<false>, graph_tool::scalar_selectors, graph_tool::scalar_selectors, boost::mpl::vector<graph_tool::ConstantPropertyMap<int, 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, mpl_::na> >::graph_view_pointers; F = boost::mpl::inner_loop<boost::mpl::dispatch<boost::mpl::selected_types<graph_tool::detail::action_wrap<graph_tool::get_correlation_histogram<graph_tool::GetNeighboursPairs>, mpl_::bool_<false> > > >, graph_tool::scalar_selectors, graph_tool::scalar_selectors, boost::mpl::vector<graph_tool::ConstantPropertyMap<int, 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, mpl_::na> >]' ./../mpl_nested_loop.hh:100:48: required from 'void boost::mpl::nested_for_each_imp(Action) [with TR1 = graph_tool::detail::graph_action<graph_tool::get_correlation_histogram<graph_tool::GetNeighboursPairs>, graph_tool::detail::all_graph_views, mpl_::bool_<false>, graph_tool::scalar_selectors, graph_tool::scalar_selectors, boost::mpl::vector<graph_tool::ConstantPropertyMap<int, 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, mpl_::na> >::graph_view_pointers; TRS = {graph_tool::scalar_selectors, graph_tool::scalar_selectors, boost::mpl::vector<graph_tool::ConstantPropertyMap<int, 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, mpl_::na>}; Action = boost::mpl::dispatch<boost::mpl::selected_types<graph_tool::detail::action_wrap<graph_tool::get_correlation_histogram<graph_tool::GetNeighboursPairs>, mpl_::bool_<false> > > >]' ./../mpl_nested_loop.hh:113:34: required from 'void boost::mpl::nested_for_each(Action) [with TRS = {graph_tool::detail::graph_action<graph_tool::get_correlation_histogram<graph_tool::GetNeighboursPairs>, graph_tool::detail::all_graph_views, mpl_::bool_<false>, graph_tool::scalar_selectors, graph_tool::scalar_selectors, boost::mpl::vector<graph_tool::ConstantPropertyMap<int, 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, mpl_::na> >::graph_view_pointers, graph_tool::scalar_selectors, graph_tool::scalar_selectors, boost::mpl::vector<graph_tool::ConstantPropertyMap<int, 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, mpl_::na>}; Action = boost::mpl::selected_types<graph_tool::detail::action_wrap<graph_tool::get_correlation_histogram<graph_tool::GetNeighboursPairs>, mpl_::bool_<false> > >]' ./../graph_filtering.hh:490:85: required from 'void graph_tool::detail::graph_action<Action, GraphViews, Wrap, TRS>::operator()(Args&& ...) const [with Args = {boost::any, boost::any, boost::any&}; Action = graph_tool::get_correlation_histogram<graph_tool::GetNeighboursPairs>; GraphViews = graph_tool::detail::all_graph_views; Wrap = mpl_::bool_<false>; TRS = {graph_tool::scalar_selectors, graph_tool::scalar_selectors, boost::mpl::vector<graph_tool::ConstantPropertyMap<int, 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, mpl_::na>}]' graph_correlations.cc:78:71: required from here ./../numpy_bind_old.hh:58:65: error: 'value' is not a member of 'boost::mpl::aux::wrapped_type<boost::mpl::aux::type_wrapper<mpl_::void_>
::type {aka mpl_::void_}' int val_type = boost::mpl::at<numpy_types,ValueType>::type::value; ^ make[4]: *** [graph_correlations.lo] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
-- View this message in context: http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/... Sent from the Main discussion list for the graph-tool project mailing list archive at Nabble.com.
On 09.10.2014 21:24, tanzairatier wrote:
I'm attempting to build Graph-Tool on this MacBook Air (OS X 10.9.2). I've got all the dependencies installed, including boost and I've even run tests to confirm boost works. When I run the ./configure and make, I get the error half way into make at graph_correlations.lo.
Showing below are the ./configure and make commands. (I've tried with no flags on ./configure and it turned out pretty much the same.) I've also upgraded to gcc48, which got me past a few earlier errors and a little deeper into the files to build through the make command. But I'm stuck here, unsure of what the holdup is. Any help would be appreciated.
What version of graph-tool, numpy and boost are you using? Also, please provide the full compilation output without any line breaks, as well as the output of config.log. BTW, have you considered using macports? It makes the installation on MacOS X considerably easier. Best, Tiago -- Tiago de Paula Peixoto <tiago@skewed.de>
We can close this. The issue with using macports is that it uses /usr/opt/local/bin/pythonw2.7. Upon calling that version of python, graph-tool worked fine. It seems most of its dependencies were being put into that directory as well. In any case, I've got graph-tool working on this mac as well as a linux box too, so all is good. -- View this message in context: http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/... Sent from the Main discussion list for the graph-tool project mailing list archive at Nabble.com.
participants (2)
-
tanzairatier -
Tiago de Paula Peixoto