From owner-freebsd-ports Sat Nov 30 9:10: 6 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C1C6537B401 for ; Sat, 30 Nov 2002 09:10:04 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5A1AF43EA9 for ; Sat, 30 Nov 2002 09:10:04 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id gAUHA4x3075417 for ; Sat, 30 Nov 2002 09:10:04 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gAUHA4UA075416; Sat, 30 Nov 2002 09:10:04 -0800 (PST) Date: Sat, 30 Nov 2002 09:10:04 -0800 (PST) Message-Id: <200211301710.gAUHA4UA075416@freefall.freebsd.org> To: freebsd-ports@FreeBSD.org Cc: From: Thierry Thomas Subject: Re: ports/45867: aspell port does not build under -CURRENT Reply-To: Thierry Thomas Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR ports/45867; it has been noted by GNATS. From: Thierry Thomas To: Greg 'groggy' Lehey Cc: FreeBSD-gnats-submit@FreeBSD.org Subject: Re: ports/45867: aspell port does not build under -CURRENT Date: Sat, 30 Nov 2002 18:00:40 +0100 Le 30/11/2002 à 08:59:08 +0100, Greg 'groggy' Lehey écrivait : > > >Number: 45867 > >Category: ports > >Synopsis: aspell port does not build under -CURRENT 8< 8< 8< > >Description: > Build of textproc/aspell fails with the following message: > > > c++ -DHAVE_CONFIG_H -I. -I. -I../../../common -I../../../common -O -pipe -mcpu=pentiumpro -MT split.lo -MD -MP -MF .deps/split.Tpo -c split.cpp -fPIC -DPIC -o .libs/split.lo > split.cpp: In function `std::vector std::allocator > aspeller::split(const acommon::String&)': > split.cpp:13: no match for `istrstream& >> acommon::String&' operator > /usr/include/g++/iostream.h:200: candidates are: istream& > istream::operator>>(char*) > /usr/include/g++/iostream.h:201: istream& It seems that you have to upgrade your /usr/include/g++: There will be many old .h files in g++ which are left over from an older version of libstdc++. Note that the new files will not have the .h extension and therefore they do not overwrite the old and obsolete .h files, which seem to be the ones causing the trouble. How-to: cd /usr/include mv g++ g++.old cd /usr/src/ make includes Note also that some people actually do this instead: cd /usr mv include include.old cd /usr/src make includes but this will also remove many .h files that belong to ports which the user may have installed, Those ports then need to be reinstalled, or their .h files need to be copied back to /usr/include from /usr/include.old Credits: walt -- Th. Thomas. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message