Error building pcre on 9.0

Renato Botelho rbgarga at gmail.com
Wed Aug 15 20:18:54 UTC 2012


I was updating a 9.0-RELEASE-p3 i386 system's ports and got the
following error when building pcre 8.31:

  CXX    pcrecpp.lo
In file included from /usr/include/c++/4.2/bits/c++allocator.h:39,
                 from /usr/include/c++/4.2/bits/allocator.h:53,
                 from /usr/include/c++/4.2/memory:54,
                 from /usr/include/c++/4.2/string:48,
                 from pcrecpp.cc:43:
/usr/include/c++/4.2/ext/new_allocator.h:37:15: error: new: No such
file or directory
In file included from /usr/include/c++/4.2/string:48,
                 from pcrecpp.cc:43:
/usr/include/c++/4.2/memory: In function 'std::pair<_Tp*, int>
std::__get_temporary_buffer(ptrdiff_t, _Tp*)':
/usr/include/c++/4.2/memory:83: error: 'nothrow' was not declared in this scope
/usr/include/c++/4.2/memory: In function 'void
std::return_temporary_buffer(_Tp*)':
/usr/include/c++/4.2/memory:123: error: 'nothrow' was not declared in this scope
*** Error code 1

Stop in /usr/ports/devel/pcre/work/pcre-8.31.
*** Error code 1

Stop in /usr/ports/devel/pcre/work/pcre-8.31.
*** Error code 1

Stop in /usr/ports/devel/pcre.
*** Error code 1

Stop in /usr/ports/devel/pcre.

Any thoughts?

Best regards
-- 
Renato Botelho


More information about the freebsd-ports mailing list