Re: [ADMIN] [postgresql] problems compiling 6.4.2 on Solaris 2.6 :-(

From: Jan Kim <kim(at)mpiz-koeln(dot)mpg(dot)de>
To: Nico De Ranter <nico(at)sonycom(dot)com>, pgsql-admin(at)hub(dot)org
Subject: Re: [ADMIN] [postgresql] problems compiling 6.4.2 on Solaris 2.6 :-(
Date: 1999-01-27 14:57:58
Message-ID: 19990127155758.A19835@mars.mpiz-koeln.mpg.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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: kim(at)mpiz-koeln(dot)mpg(dot)de |
| WWW: http://www.mpiz-koeln.mpg.de/~kim/ |
*-----=< hierarchical systems are for files, not for humans >=-----*

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message dreamwvr 1999-01-27 16:33:13 postgres access
Previous Message Jan Wieck 1999-01-27 14:15:05 Re: [ADMIN] Running Postgres on a HP-Ux 10.10 System