Welcome to Cadabra Q&A, where you can ask questions and receive answers from other members of the community.
0 votes

Hi, I'm currently trying to install Cadabra on Mac OS X 10.10.5 from source. But once I arrive at the make step, the following messages show:

Scanning dependencies of target cadabra2python [ 0%] Building CXX object core/CMakeFiles/cadabra2python.dir/cadabra2python.cc.o [ 1%] Building CXX object core/CMakeFiles/cadabra2python.dir/CdbPython.cc.o [ 1%] Linking CXX executable cadabra2python Undefined symbols for architecture x86_64: "boost::re_detail::perl_matcher<char const, std::__1::allocator<boost::sub_match<char const> >, boost::regex_traits<char, boost::cpp_regex_traits > >::construct_init(boost::basic_regex<char, boost::regex_traits<char, boost::cpp_regex_traits > > const&, boost::regex_constants::_match_flags)", referenced from: boost::re_detail::perl_matcher<char const, std::__1::allocator<boost::sub_match<char const> >, boost::regex_traits<char, boost::cpp_regex_traits > >::perl_matcher(char const, char const, boost::match_results<char const, std::__1::allocator<boost::sub_match<char const> > >&, boost::basic_regex<char, boost::regex_traits<char, boost::cpp_regex_traits > > const&, boost::regex_constants::_match_flags, char const) in CdbPython.cc.o "boost::re_detail::get_mem_block()", referenced from: boost::re_detail::perl_matcher<std::1::wrap_iter<char const>, std::1::allocator<boost::sub_match<std::1::wrap_iter<char const*> > >, boost::regex_traits<char, boost::cpp_regex_traits > >::match_imp() in CdbPython.cc.o boost::re_detail::perl_matcher<std::1::wrap_iter<char const*>, std::__1::allocator<boost::sub_match<std::1::wrap_iter<char const*> > >, boost::regex_traits<char, boost::cpp_regex_traits > >::match_all_states() in CdbPython.cc.o boost::re_detail::perl_matcher<std::1::wrap_iter<char const*>, std::__1::allocator<boost::sub_match<std::1::wrap_iter<char const> > >, boost::regex_traits<char, boost::cpp_regex_traits > >::match_startmark() in CdbPython.cc.o boost::re_detail::perl_matcher<std::1::wrap_iter<char const>, std::1::allocator<boost::sub_match<std::1::wrap_iter<char const> > >, boost::regex_traits<char, boost::cpp_regex_traits > >::match_alt() in CdbPython.cc.o boost::re_detail::perl_matcher<std::1::wrap_iter<char const>, std::1::allocator<boost::sub_match<std::1::wrap_iter<char const*> > >, boost::regex_traits<char, boost::cpp_regex_traits > >::match_rep() in CdbPython.cc.o boost::re_detail::perl_matcher<std::1::wrap_iter<char const*>, std::__1::allocator<boost::sub_match<std::1::wrap_iter<char const*> > >, boost::regex_traits<char, boost::cpp_regex_traits > >::match_char_repeat() in CdbPython.cc.o boost::re_detail::perl_matcher<std::1::wrap_iter<char const*>, std::__1::allocator<boost::sub_match<std::1::wrap_iter<char const> > >, boost::regex_traits<char, boost::cpp_regex_traits > >::match_set_repeat() in CdbPython.cc.o ... "boost::re_detail::put_mem_block(void)", referenced from: boost::re_detail::perl_matcher<std::1::wrap_iter<char const*>, std::1::allocator<boost::sub_match<std::1::wrap_iter<char const> > >, boost::regex_traits<char, boost::cpp_regex_traits > >::match_imp() in CdbPython.cc.o boost::re_detail::perl_matcher<std::1::wrap_iter<char const>, std::1::allocator<boost::sub_match<std::1::wrap_iter<char const> > >, boost::regex_traits<char, boost::cpp_regex_traits > >::unwind_extra_block(bool) in CdbPython.cc.o boost::re_detail::perl_matcher<std::1::wrap_iter<char const>, std::1::allocator<boost::sub_match<std::1::wrap_iter<char const> > >, boost::regex_traits<char, boost::cpp_regex_traits > >::find_imp() in CdbPython.cc.o boost::re_detail::perl_matcher<char const, std::1::allocator<boost::sub_match<char const> >, boost::regex_traits<char, boost::cpp_regex_traits > >::match_imp() in CdbPython.cc.o boost::re_detail::perl_matcher<char const, std::__1::allocator<boost::sub_match<char const*> >, boost::regex_traits<char, boost::cpp_regex_traits > >::unwind_extra_block(bool) in CdbPython.cc.o "boost::re_detail::verify_options(unsigned int, boost::regex_constants::_match_flags)", referenced from: boost::re_detail::perl_matcher<std::1::wrap_iter<char const*>, std::__1::allocator<boost::sub_match<std::1::wrap_iter<char const> > >, boost::regex_traits<char, boost::cpp_regex_traits > >::match_imp() in CdbPython.cc.o boost::re_detail::perl_matcher<std::1::wrap_iter<char const>, std::1::allocator<boost::sub_match<std::1::wrap_iter<char const> > >, boost::regex_traits<char, boost::cpp_regex_traits > >::find_imp() in CdbPython.cc.o boost::re_detail::perl_matcher<char const, std::1::allocator<boost::sub_match<char const> >, boost::regex_traits<char, boost::cpp_regex_traits > >::match_imp() in CdbPython.cc.o "boost::re_detail::raise_runtime_error(std::runtime_error const&)", referenced from: void boost::re_detail::raise_error<boost::regex_traits_wrapper<boost::regex_traits<char, boost::cpp_regex_traits > > >(boost::regex_traits_wrapper<boost::regex_traits<char, boost::cpp_regex_traits > > const&, boost::regex_constants::error_type) in CdbPython.cc.o "boost::re_detail::get_default_error_string(boost::regex_constants::error_type)", referenced from: boost::re_detail::cpp_regex_traits_implementation::error_string(boost::regex_constants::error_type) const in CdbPython.cc.o "boost::re_detail::cpp_regex_traits_implementation::transform_primary(char const, char const) const", referenced from: std::1::wrap_iter<char const> boost::re_detail::re_is_set_member<std::1::wrap_iter<char const*>, char, boost::regex_traits<char, boost::cpp_regex_traits >, unsigned int>(std::1::wrap_iter<char const>, std::1::wrap_iter<char const>, boost::re_detail::re_set_long const, boost::re_detail::regex_data<char, boost::regex_traits<char, boost::cpp_regex_traits > > const&, bool) in CdbPython.cc.o char const boost::re_detail::re_is_set_member<char const, char, boost::regex_traits<char, boost::cpp_regex_traits >, unsigned int>(char const, char const, boost::re_detail::re_set_long const, boost::re_detail::regex_data<char, boost::regex_traits<char, boost::cpp_regex_traits > > const&, bool) in CdbPython.cc.o "boost::re_detail::cpp_regex_traits_implementation::transform(char const, char const) const", referenced from: std::1::wrap_iter<char const*> boost::re_detail::re_is_set_member<std::1::wrap_iter<char const*>, char, boost::regex_traits<char, boost::cpp_regex_traits >, unsigned int>(std::1::__wrap_iter<char const>, std::1::wrap_iter<char const>, boost::re_detail::re_set_long const, boost::re_detail::regex_data<char, boost::regex_traits<char, boost::cpp_regex_traits > > const&, bool) in CdbPython.cc.o char const boost::re_detail::re_is_set_member<char const, char, boost::regex_traits<char, boost::cpp_regex_traits >, unsigned int>(char const, char const, boost::re_detail::re_set_long const, boost::re_detail::regex_data<char, boost::regex_traits<char, boost::cpp_regex_traits > > const&, bool) in CdbPython.cc.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: [core/cadabra2python] Error 1 make[1]: [core/CMakeFiles/cadabra2python.dir/all] Error 2 make: *** [all] Error 2

Thank you already for any help!

in Installation trouble by

1 Answer

0 votes

Sorry for the wait. This seems to be an issue with your HomeBrew installation. First run brew doctor and email me the output (privately at info@cadabra.science).

by (83.1k points)
...