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

Поиск
Список
Период
Сортировка
От Jan Kim
Тема Re: [ADMIN] [postgresql] problems compiling 6.4.2 on Solaris 2.6 :-(
Дата
Msg-id 19990127155758.A19835@mars.mpiz-koeln.mpg.de
обсуждение исходный текст
Ответ на [postgresql] problems compiling 6.4.2 on Solaris 2.6 :-(  (Nico De Ranter <nico@sonycom.com>)
Список 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@mpiz-koeln.mpg.de                           |
 |             WWW:   http://www.mpiz-koeln.mpg.de/~kim/              |
 *-----=<  hierarchical systems are for files, not for humans  >=-----*

В списке pgsql-admin по дате отправления:

Предыдущее
От: jwieck@debis.com (Jan Wieck)
Дата:
Сообщение: Re: [ADMIN] Running Postgres on a HP-Ux 10.10 System
Следующее
От: dreamwvr
Дата:
Сообщение: postgres access