Error building pcre on 9.0
Renato Botelho
rbgarga at gmail.com
Wed Aug 15 20:47:33 UTC 2012
On Wed, Aug 15, 2012 at 5:36 PM, Matthias Andree <mandree at freebsd.org> wrote:
> Am 15.08.2012 22:18, schrieb Renato Botelho:
>> 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
>
> Renato,
>
> works for me.
>
> Your system appears to have a broken gcc installation.
> It lacks /usr/include/c++/4.2/new, an include file dated Dec 4 2011 and
> sized 4041 bytes on my 9.0-RELEASE-p3 i386 system, which would also
> explain the nothrow-related errors.
>
> Anything in [/usr]/lost+found by chance?
Thanks for pointing that out. I copied this file from other server
and now i'm building world to be sure everything is in place.
--
Renato Botelho
More information about the freebsd-ports
mailing list