"sam" <sam(at)young-net(dot)com(dot)tw> writes:
> PostgreSQL version (example: PostgreSQL-7.1.3): PostgreSQL-7.1.3
> Compiler used (example: gcc 2.95.2) : gcc version 3.2.2 [Free=
> BSD] 20030205 (release)
IIRC, PG 7.1's configure script gets confused because recent gcc
versions put out a multiple-line response to "gcc --version".
It's only expecting one line and it generates an invalid PG_VERSION
string as a result.
You could probably fix the resulting config.h file by hand, but why
bother? Install a more modern PG instead. 7.1 is ancient history.
regards, tom lane