[25848] in Athena Bugs

home help back first fref pref prev next nref lref last post

sun4 9.3.8: g++

daemon@ATHENA.MIT.EDU (Alex T Prengel)
Fri Jul 23 17:02:36 2004

Message-Id: <200407232102.i6NL2PwM005012@dit.mit.edu>
To: bugs@mit.edu
Date: Fri, 23 Jul 2004 17:02:25 -0400
From: Alex T Prengel <alexp@mit.edu>
Errors-To: bugs-bounces@mit.edu

System name:		dit.mit.edu
Type and version:	Sun-Blade-100 9.3.8 (with mkserv)
Display type:		ifb

Shell:			/bin/athena/tcsh
Window manager:		sawfish

What were you trying to do?
	build an application called "surf" using /usr/athena/bin/g++ on a Sun

What's wrong:
	The build gets partway done, then errors out with an error seemingly
due to an include file it can't find:

In file included from Script.cc:39:
../misc/Misc.h:29:23: strstream.h: No such file or directory

What should have happened:
	The obvious... it should have built surf

Please describe any relevant documentation references:
	I think something may be misconfigured in the way /usr/athena/bin/g++
works its way through nested include files. When I repeated the build using
/mit/gcc-3.2/arch/sun4x_59/bin/g++, it works fine- no problem. 

It's possible that the problem is due to the code I'm compiling not being
compatible with /usr/athena/bin/g++ (3.3.2), but I wouldn't expect that
code that builds on 3.2.1 would break on 3.3.2; of course I may be wrong,
and in that case disregard this bug report...

If anyone want to look at this, the source is in
/mit/alexp/Public/surf-1.0.4.tar.gz; I used the following to build:

	setenv CPPFLAGS -I/usr/athena/include
	setenv LDFLAGS -L/usr/athena/lib
	setenv CC gcc
	setenv CXX g++
	configure --prefix=/var/tmp/...
	gmake

                                                 Alex





home help back first fref pref prev next nref lref last post