Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 3566 - Htdig doesn't find libstdc++ with gcc 3.1
Summary: Htdig doesn't find libstdc++ with gcc 3.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Matthew Kennedy (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-09 21:09 UTC by Peter Bienstman (RETIRED)
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Bienstman (RETIRED) gentoo-dev 2002-06-09 21:09:11 UTC
... 
checking for malloc.h... (cached) yes 
checking for ostream.h... no 
checking for iostream.h... no 
checking for fstream.h... no 
configure: error: To compile ht://Dig, you will need a C++ library. Try 
installing libstdc++. 
 
!!! ERROR: The ebuild did not complete successfully. 
!!! Function src_compile, Line 11, Exitcode 1 
!!! (no error message) 
 
!!! emerge aborting on  /usr/portage/net-www/htdig/htdig-3.1.6-r3.ebuild .
Comment 1 Steve Flack 2002-06-11 14:03:43 UTC
These errors on configure seem to disappear if the 'configure' script is 
searched for all instances of ostream.h fstream.h and iostream.h and they are 
replaced by ostream fstream and iostream (The C++ standard). 
 
This doesn't stop the make step stopping with a syntax error about ostream 
being out of scope. I've tried correcting the includes on this to no avail.  
Comment 2 Peter Bienstman (RETIRED) gentoo-dev 2002-06-11 14:09:44 UTC
This probably means that 'ostream' should be replaced by 'std::ostream'.
Alternatively, 'using namespace std;' can be placed at the top of the source files.
Comment 3 Peter Bienstman (RETIRED) gentoo-dev 2002-06-14 08:30:29 UTC
Works with latest ebuild. Bug can be closed.