On Wed, Jan 27, 1999 at 02:48:37PM +0100, Nico De Ranter wrote:

> I'm trying to install PostgreSQL 6.4.2 on a SUN Ultra-10
> running Solaris 2.6.
> 
> Unfortunately I get the following errors:
> 
> make[2]: Entering directory 
>`/usr/people/nico.nba/postgresql-6.4.2/src/interfaces/libpq++'
> CC  -I../../backend -I../../include -I../../interfaces/libpq -I../../include 
>-I../../backend   -g     -c pgenv.cc -o pgenv.o
> "pgenv.h", line 21: Error: Could not open include file <string>.
> "pgenv.h", line 48: Error: Type name expected instead of "string".

[...]

> Apparently the offending line in postgresql-6.4.2/src/interfaces/libpq++/pgenv.h
> is 
> 
>   #include <string>
> 
> which looks strange to me anyway.

Looks strange, but that's how the C++ of the future is supposed to look
like...  ;-)  Looks like this future hasn't begun for your machine yet. ;-)

Well, more seriously: If you don't need libpq++ for any homegrown or
third party PostgreSQL applications, I think the easiest solution for
you is to simply suppress the creation of libpq++ by ./configure-ing
with --without-CXX.

If you don't have the stylish new C++ header files installed on your
machine, it seems to me that nobody will miss libpq++ anyway.

Greetinx, Jan
-- 
 +- Jan T. Kim -------------------------------------------------------+
 |             email: [EMAIL PROTECTED]                           |
 |             WWW:   http://www.mpiz-koeln.mpg.de/~kim/              |
 *-----=<  hierarchical systems are for files, not for humans  >=-----*

Reply via email to