I am trying to build graph-tool using "make -j8" I have following error, appreciated for any help.
/usr/local/include/boost/python/detail/invoke.hpp: In instantiation of ‘PyObject* boost::python::detail::invoke(boost::python::detail::invoke_tag_<false, false>, const RC&, F&, AC0&) [with RC = boost::python::to_python_indirect<const std::type_info&, boost::python::detail::make_reference_holder>; F = const std::type_info& (boost::any::*)() const noexcept; AC0 = boost::python::arg_from_pythonboost::any&; PyObject = _object]’: /usr/local/include/boost/python/detail/caller.hpp:218:46: required from ‘PyObject* boost::python::detail::caller_arity<1>::impl<F, Policies, Sig>::operator()(PyObject*, PyObject*) [with F = const std::type_info& (boost::any::*)() const noexcept; Policies = boost::python::return_value_policyboost::python::reference_existing_object; Sig = boost::mpl::vector2<const std::type_info&, boost::any&>; PyObject = _object]’ /usr/local/include/boost/python/object/py_function.hpp:38:33: required from ‘PyObject* boost::python::objects::caller_py_function_impl<Caller>::operator()(PyObject*, PyObject*) [with Caller = boost::python::detail::caller<const std::type_info& (boost::any::*)() const noexcept, boost::python::return_value_policyboost::python::reference_existing_object, boost::mpl::vector2<const std::type_info&, boost::any&> >; PyObject = _object]’ graph_bind.cc:588:1: required from here */usr/local/include/boost/python/detail/invoke.hpp:75:16: error: must use ‘.*’ or ‘->*’ to call pointer-to-member function in ‘f (...)’, e.g. ‘(... ->* f) (...)’ return rc(f( BOOST_PP_ENUM_BINARY_PARAMS_Z(1, N, ac, () BOOST_PP_INTERCEPT) ));*
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/boost/python/detail/invoke.hpp: In instantiation of ‘PyObject* boost::python::detail::invoke(boost::python::detail::invoke_tag_<false, false>, const RC&, F&, AC0&) [with RC = boost::python::to_python_value<const long unsigned int&>; F = long unsigned int (std::type_info::*)() const noexcept; AC0 = boost::python::arg_from_pythonstd::type_info&; PyObject = _object]’: /usr/local/include/boost/python/detail/caller.hpp:218:46: required from ‘PyObject* boost::python::detail::caller_arity<1>::impl<F, Policies, Sig>::operator()(PyObject*, PyObject*) [with F = long unsigned int (std::type_info::*)() const noexcept; Policies = boost::python::default_call_policies; Sig = boost::mpl::vector2<long unsigned int, std::type_info&>; PyObject = _object]’ /usr/local/include/boost/python/object/py_function.hpp:38:33: required from ‘PyObject* boost::python::objects::caller_py_function_impl<Caller>::operator()(PyObject*, PyObject*) [with Caller = boost::python::detail::caller<long unsigned int (std::type_info::*)() const noexcept, boost::python::default_call_policies, boost::mpl::vector2<long unsigned int, std::type_info&> >; PyObject = _object]’ graph_bind.cc:588:1: required from here /usr/local/include/boost/python/detail/invoke.hpp:75:16: error: must use ‘.*’ or ‘->*’ to call pointer-to-member function in ‘f (...)’, e.g. ‘(... ->* f) (...)’ /usr/local/include/boost/python/detail/invoke.hpp: In instantiation of ‘PyObject* boost::python::detail::invoke(boost::python::detail::invoke_tag_<false, false>, const RC&, F&, AC0&) [with RC = boost::python::to_python_value<const char* const&>; F = const char* (std::type_info::*)() const noexcept; AC0 = boost::python::arg_from_pythonstd::type_info&; PyObject = _object]’: /usr/local/include/boost/python/detail/caller.hpp:218:46: required from ‘PyObject* boost::python::detail::caller_arity<1>::impl<F, Policies, Sig>::operator()(PyObject*, PyObject*) [with F = const char* (std::type_info::*)() const noexcept; Policies = boost::python::default_call_policies; Sig = boost::mpl::vector2<const char*, std::type_info&>; PyObject = _object]’ /usr/local/include/boost/python/object/py_function.hpp:38:33: required from ‘PyObject* boost::python::objects::caller_py_function_impl<Caller>::operator()(PyObject*, PyObject*) [with Caller = boost::python::detail::caller<const char* (std::type_info::*)() const noexcept, boost::python::default_call_policies, boost::mpl::vector2<const char*, std::type_info&> >; PyObject = _object]’ graph_bind.cc:588:1: required from here /usr/local/include/boost/python/detail/invoke.hpp:75:16: error: must use ‘.*’ or ‘->*’ to call pointer-to-member function in ‘f (...)’, e.g. ‘(... ->* f) (...)’ /usr/local/include/boost/python/detail/invoke.hpp: In instantiation of ‘PyObject* boost::python::detail::invoke(boost::python::detail::invoke_tag_<false, false>, const RC&, F&, AC0&) [with RC = boost::python::to_python_value<const bool&>; F = bool (boost::any::*)() const noexcept; AC0 = boost::python::arg_from_pythonboost::any&; PyObject = _object]’: /usr/local/include/boost/python/detail/caller.hpp:218:46: required from ‘PyObject* boost::python::detail::caller_arity<1>::impl<F, Policies, Sig>::operator()(PyObject*, PyObject*) [with F = bool (boost::any::*)() const noexcept; Policies = boost::python::default_call_policies; Sig = boost::mpl::vector2<bool, boost::any&>; PyObject = _object]’ /usr/local/include/boost/python/object/py_function.hpp:38:33: required from ‘PyObject* boost::python::objects::caller_py_function_impl<Caller>::operator()(PyObject*, PyObject*) [with Caller = boost::python::detail::caller<bool (boost::any::*)() const noexcept, boost::python::default_call_policies, boost::mpl::vector2<bool, boost::any&> >; PyObject = _object]’ graph_bind.cc:588:1: required from here /usr/local/include/boost/python/detail/invoke.hpp:75:16: error: must use ‘.*’ or ‘->*’ to call pointer-to-member function in ‘f (...)’, e.g. ‘(... ->* f) (...)’ make[4]: *** [graph_bind.lo] Error 1 make[4]: *** Waiting for unfinished jobs....
-- Sent from: http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/
Hi,
Posting a compilation error message without any context is not very useful.
Please provide information regarding your platform (OS, GCC, and Boost versions), as well as the *entire* output of the configure script run, the contents of the config.log file, and the *entire* output of make (not only the final error message).
Best, Tiago
Am 11.08.19 um 15:52 schrieb skx300:
I am trying to build graph-tool using "make -j8" I have following error, appreciated for any help.
/usr/local/include/boost/python/detail/invoke.hpp: In instantiation of ‘PyObject* boost::python::detail::invoke(boost::python::detail::invoke_tag_<false, false>, const RC&, F&, AC0&) [with RC = boost::python::to_python_indirect<const std::type_info&, boost::python::detail::make_reference_holder>; F = const std::type_info& (boost::any::*)() const noexcept; AC0 = boost::python::arg_from_pythonboost::any&; PyObject = _object]’: /usr/local/include/boost/python/detail/caller.hpp:218:46: required from ‘PyObject* boost::python::detail::caller_arity<1>::impl<F, Policies, Sig>::operator()(PyObject*, PyObject*) [with F = const std::type_info& (boost::any::*)() const noexcept; Policies = boost::python::return_value_policyboost::python::reference_existing_object; Sig = boost::mpl::vector2<const std::type_info&, boost::any&>; PyObject = _object]’ /usr/local/include/boost/python/object/py_function.hpp:38:33: required from ‘PyObject* boost::python::objects::caller_py_function_impl<Caller>::operator()(PyObject*, PyObject*) [with Caller = boost::python::detail::caller<const std::type_info& (boost::any::*)() const noexcept, boost::python::return_value_policyboost::python::reference_existing_object, boost::mpl::vector2<const std::type_info&, boost::any&> >; PyObject = _object]’ graph_bind.cc:588:1: required from here */usr/local/include/boost/python/detail/invoke.hpp:75:16: error: must use ‘.*’ or ‘->*’ to call pointer-to-member function in ‘f (...)’, e.g. ‘(... ->* f) (...)’ return rc(f( BOOST_PP_ENUM_BINARY_PARAMS_Z(1, N, ac, () BOOST_PP_INTERCEPT) ));*
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/boost/python/detail/invoke.hpp: In instantiation of ‘PyObject* boost::python::detail::invoke(boost::python::detail::invoke_tag_<false, false>, const RC&, F&, AC0&) [with RC = boost::python::to_python_value<const long unsigned int&>; F = long unsigned int (std::type_info::*)() const noexcept; AC0 = boost::python::arg_from_pythonstd::type_info&; PyObject = _object]’: /usr/local/include/boost/python/detail/caller.hpp:218:46: required from ‘PyObject* boost::python::detail::caller_arity<1>::impl<F, Policies, Sig>::operator()(PyObject*, PyObject*) [with F = long unsigned int (std::type_info::*)() const noexcept; Policies = boost::python::default_call_policies; Sig = boost::mpl::vector2<long unsigned int, std::type_info&>; PyObject = _object]’ /usr/local/include/boost/python/object/py_function.hpp:38:33: required from ‘PyObject* boost::python::objects::caller_py_function_impl<Caller>::operator()(PyObject*, PyObject*) [with Caller = boost::python::detail::caller<long unsigned int (std::type_info::*)() const noexcept, boost::python::default_call_policies, boost::mpl::vector2<long unsigned int, std::type_info&> >; PyObject = _object]’ graph_bind.cc:588:1: required from here /usr/local/include/boost/python/detail/invoke.hpp:75:16: error: must use ‘.*’ or ‘->*’ to call pointer-to-member function in ‘f (...)’, e.g. ‘(... ->* f) (...)’ /usr/local/include/boost/python/detail/invoke.hpp: In instantiation of ‘PyObject* boost::python::detail::invoke(boost::python::detail::invoke_tag_<false, false>, const RC&, F&, AC0&) [with RC = boost::python::to_python_value<const char* const&>; F = const char* (std::type_info::*)() const noexcept; AC0 = boost::python::arg_from_pythonstd::type_info&; PyObject = _object]’: /usr/local/include/boost/python/detail/caller.hpp:218:46: required from ‘PyObject* boost::python::detail::caller_arity<1>::impl<F, Policies, Sig>::operator()(PyObject*, PyObject*) [with F = const char* (std::type_info::*)() const noexcept; Policies = boost::python::default_call_policies; Sig = boost::mpl::vector2<const char*, std::type_info&>; PyObject = _object]’ /usr/local/include/boost/python/object/py_function.hpp:38:33: required from ‘PyObject* boost::python::objects::caller_py_function_impl<Caller>::operator()(PyObject*, PyObject*) [with Caller = boost::python::detail::caller<const char* (std::type_info::*)() const noexcept, boost::python::default_call_policies, boost::mpl::vector2<const char*, std::type_info&> >; PyObject = _object]’ graph_bind.cc:588:1: required from here /usr/local/include/boost/python/detail/invoke.hpp:75:16: error: must use ‘.*’ or ‘->*’ to call pointer-to-member function in ‘f (...)’, e.g. ‘(... ->* f) (...)’ /usr/local/include/boost/python/detail/invoke.hpp: In instantiation of ‘PyObject* boost::python::detail::invoke(boost::python::detail::invoke_tag_<false, false>, const RC&, F&, AC0&) [with RC = boost::python::to_python_value<const bool&>; F = bool (boost::any::*)() const noexcept; AC0 = boost::python::arg_from_pythonboost::any&; PyObject = _object]’: /usr/local/include/boost/python/detail/caller.hpp:218:46: required from ‘PyObject* boost::python::detail::caller_arity<1>::impl<F, Policies, Sig>::operator()(PyObject*, PyObject*) [with F = bool (boost::any::*)() const noexcept; Policies = boost::python::default_call_policies; Sig = boost::mpl::vector2<bool, boost::any&>; PyObject = _object]’ /usr/local/include/boost/python/object/py_function.hpp:38:33: required from ‘PyObject* boost::python::objects::caller_py_function_impl<Caller>::operator()(PyObject*, PyObject*) [with Caller = boost::python::detail::caller<bool (boost::any::*)() const noexcept, boost::python::default_call_policies, boost::mpl::vector2<bool, boost::any&> >; PyObject = _object]’ graph_bind.cc:588:1: required from here /usr/local/include/boost/python/detail/invoke.hpp:75:16: error: must use ‘.*’ or ‘->*’ to call pointer-to-member function in ‘f (...)’, e.g. ‘(... ->* f) (...)’ make[4]: *** [graph_bind.lo] Error 1 make[4]: *** Waiting for unfinished jobs....
-- Sent from: http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/ _______________________________________________ graph-tool mailing list graph-tool@skewed.de https://lists.skewed.de/mailman/listinfo/graph-tool