Re: problem with install cppunit on cygwin

"Baptiste Lepilleur" <[email protected]> Fri, 24 Jan 2003 20:08:39 +0100
Newsgroups gmane.comp.lib.cppunit.devel
Message-ID <002201c2c3dc$075d9470$3cd92cd5@lain>
It seems that configure does not detect any of the following headers:
<strstream.h>
<strstream>
<sstream>

You need at least one of those to use CppUnit (it defines ostringstream or a
similar class).

Either STL are not installed and configure failed for some reasons. Anyway,
try to make a sample program to see which includes is available and tweak
you config-auto.h as required. Tests concerning this includes can be found
in include/cppunit/Portability.h, around line #180.

Baptiste.

----- Original Message -----
From: <[email protected]>
To: <[email protected]>
Sent: Thursday, January 23, 2003 3:32 PM
Subject: [Cppunit-devel] problem with install cppunit on cygwin


> Hi:
>    I follow the install step in "instll-unxt" to install cppunit.
>
> First i enter ./configure --disable-shared on the shell of the cygwin.
>
> it runed without errors. Second, i press "make", errors occured, the shell
>
> printed "/../include/cppunit/Portability.h:81: #error Cannot define
>
>  CppUnit::OStringStream." and the make  stopped. I was eager to compile
>
> the package. Can you give a solution to me? or some advise? thank you
>
> very much.
>
>
> Best Regards!
> test dept. Eastcomtd
> Lun Wang
> office: 507
> tel锛o锛:    86-10-62973322-5577
> the second Street,Shangdi Information Industry Base
> Haidian District,Beijing,China
> Post Code:100085
> NHMux??.



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com