Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Aug 2012 17:47:10 -0300
From:      Renato Botelho <rbgarga@gmail.com>
To:        Matthias Andree <mandree@freebsd.org>
Cc:        ports@freebsd.org, mm@freebsd.org
Subject:   Re: Error building pcre on 9.0
Message-ID:  <CAESiWkmtM%2B_52xQUvXTdV%2B9jmM0n0E8Kr=MWZk8J4=60_qW7Sg@mail.gmail.com>
In-Reply-To: <502C085F.2030107@FreeBSD.org>
References:  <CAESiWkmrTo62GyD3hYYXQktsPV_R2afSUkwmVVNMWy_YGnT8VQ@mail.gmail.com> <502C085F.2030107@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Aug 15, 2012 at 5:36 PM, Matthias Andree <mandree@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAESiWkmtM%2B_52xQUvXTdV%2B9jmM0n0E8Kr=MWZk8J4=60_qW7Sg>