Date: Wed, 15 Aug 2012 22:36:47 +0200 From: Matthias Andree <mandree@FreeBSD.org> To: Renato Botelho <rbgarga@gmail.com> Cc: ports@freebsd.org, mm@freebsd.org Subject: Re: Error building pcre on 9.0 Message-ID: <502C085F.2030107@FreeBSD.org> In-Reply-To: <CAESiWkmrTo62GyD3hYYXQktsPV_R2afSUkwmVVNMWy_YGnT8VQ@mail.gmail.com> References: <CAESiWkmrTo62GyD3hYYXQktsPV_R2afSUkwmVVNMWy_YGnT8VQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigECA1BA10D7D0172FA49A8D93 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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: >=20 > 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 th= is 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 t= his 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? SHA1 (/usr/include/c++/4.2/new) =3D 0fa579e92a0c62da703a221fcb55c27b5f2bd= 88f Two excerpts from its contents: // The -*- C++ -*- dynamic memory management header. // Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, // 2003, 2004, 2005, 2006, 2007 // Free Software Foundation // This file is part of GCC. // [...] /** @file new * This is a Standard C++ Library header. * * The header @c new defines several functions to manage dynamic memory = and * handling memory allocation errors; see * http://gcc.gnu.org/onlinedocs/libstdc++/18_support/howto.html#4 for more. */ =2E.. HTH Matthias --------------enigECA1BA10D7D0172FA49A8D93 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEARECAAYFAlAsCGMACgkQvmGDOQUufZVsZQCfR2WX6lwOPmnB0mCUNI7yR51p kT0AmwXOXqgyDskD4UWJsA7hJojBzk5P =/BEQ -----END PGP SIGNATURE----- --------------enigECA1BA10D7D0172FA49A8D93--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?502C085F.2030107>