|
Boost-Build : |
Subject: [Boost-build] Problem building Boost 1.40 for Mac OS 10.3.9
From: Jakob Schou Jensen (schou.temp.1_at_[hidden])
Date: 2009-08-29 06:15:01
When trying to build Boost (regex) using:
./bootstrap.sh -with-libraries=regex
./bjam
I get the following (first of many) error:
cc1plus: warning: `dwarf-2': unknown or unsupported -g option
boost/regex/v4/cpp_regex_traits.hpp: In member function `bool
boost::re_detail::cpp_regex_traits_implementation<charT>::isctype(charT,
typename boost::cpp_regex_traits<charT>::char_class_type) const [with charT
= char]':
boost/regex/v4/cpp_regex_traits.hpp:959: instantiated from `bool
boost::cpp_regex_traits<charT>::isctype(charT, unsigned int) const
[with charT = char]'
boost/regex/v4/perl_matcher_common.hpp:802: instantiated from `bool
boost::re_detail::perl_matcher<BidiIterator, Allocator,
traits>::find_restart_word() [with BidiIterator = const char*,
Allocator = std::allocator<boost::sub_match<const char*> >, traits =
boost::regex_traits<char, boost::cpp_regex_traits<char> >]'
boost/regex/v4/perl_matcher_common.hpp:246: instantiated from `bool
boost::re_detail::perl_matcher<BidiIterator, Allocator,
traits>::find_imp() [with BidiIterator = const char*, Allocator =
std::allocator<boost::sub_match<const char*> >, traits =
boost::regex_traits<char, boost::cpp_regex_traits<char> >]'
boost/regex/v4/perl_matcher_common.hpp:230: instantiated from `bool
boost::re_detail::perl_matcher<BidiIterator, Allocator,
traits>::find() [with BidiIterator = const char*, Allocator =
std::allocator<boost::sub_match<const char*> >, traits =
boost::regex_traits<char, boost::cpp_regex_traits<char> >]'
boost/regex/v4/regex_grep.hpp:55: instantiated from `unsigned int
boost::regex_grep(Predicate, BidiIterator, BidiIterator, const
boost::basic_regex<charT, traits>&,
boost::regex_constants::_match_flags) [with Predicate =
boost::re_detail::pred1, BidiIterator = const char*, charT = char,
traits = boost::regex_traits<char, boost::cpp_regex_traits<char> >]'
libs/regex/src/cregex.cpp:247: instantiated from here
boost/regex/v4/cpp_regex_traits.hpp:827: error: `char_class_vertical'
undeclared in namespace `boost::re_detail'
boost/regex/v4/cpp_regex_traits.hpp:827: error: `char_class_horizontal'
undeclared in namespace `boost::re_detail'
Any ideas?
Thanks,
Jakob
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk