Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Nov 2002 09:10:04 -0800 (PST)
From:      Thierry Thomas <thierry@pompo.net>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/45867: aspell port does not build under -CURRENT
Message-ID:  <200211301710.gAUHA4UA075416@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/45867; it has been noted by GNATS.

From: Thierry Thomas <thierry@pompo.net>
To: Greg 'groggy' Lehey <grog@lemis.com>
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 <grog@lemis.com> é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<acommon::String, 
 > 	   std::allocator<acommon::String> > 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 <wsheets@sbcglobal.net>
 -- 
 Th. Thomas.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200211301710.gAUHA4UA075416>