Port Bug Report: libpq++ will not build because of pgenv
| От | Unprivileged user |
|---|---|
| Тема | Port Bug Report: libpq++ will not build because of pgenv |
| Дата | |
| Msg-id | ebb0cd3db65e36fb6ea34bd6fe774494 обсуждение исходный текст |
| Список | pgsql-ports |
============================================================================
POSTGRESQL BUG REPORT TEMPLATE
============================================================================
Your name : Darin Fisher
Your email address : oz@pfm.net
Category : install: compile
Severity : serious
Summary: libpq++ will not build because of pgenv
System Configuration
- --------------------
Operating System : Linux 2.1.130 ELF
PostgreSQL version : 6.4
Compiler used : gcc 2.8.1
Hardware:
- ---------
Linux oz 2.1.130 #5 SMP Sat Nov 28 15:45:23 MST 1998 i586 unknown
Pentium 75 w/ 128MBRAM
Versions of other tools:
- ------------------------
flex 2.5.4
gmake 3.75
GNU ld 2.7.1
- --------------------------------------------------------------------------
Problem Description:
- --------------------
libpq++ will not build because pgenv.h complains that
"string" is not found from line 21:
#include <string>
This builds under Solaris 2.5.1
6.3.2 builds on the same Linux system
- --------------------------------------------------------------------------
Test Case:
- ----------
I just ran through the standard build procedure.
oz# pwd
/usr/local/src/postgres/postgresql-v6.4/src/interfaces/libpq++
oz# make
c++ -I../../backend -I../../include -I../../interfaces/libpq -I../../include -I../../backend -O2 -Wall
-Wmissing-prototypes-fpic -c pgenv.cc -o pgenv.o
In file included from pgenv.cc:23:
pgenv.h:21: string: No such file or directory
make: *** [pgenv.o] Error 1
- --------------------------------------------------------------------------
Solution:
- ---------
- --------------------------------------------------------------------------
В списке pgsql-ports по дате отправления: