Re: unable compile postgresql 7.1.3 on FreeBSD 5.1 ??? - Mailing list pgsql-ports

From Tom Lane
Subject Re: unable compile postgresql 7.1.3 on FreeBSD 5.1 ???
Date
Msg-id 7895.1059748695@sss.pgh.pa.us
Whole thread Raw
In response to unable compile postgresql 7.1.3 on FreeBSD 5.1 ???  ("sam" <sam@young-net.com.tw>)
List pgsql-ports
"sam" <sam@young-net.com.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

pgsql-ports by date:

Previous
From: "sam"
Date:
Subject: unable compile postgresql 7.1.3 on FreeBSD 5.1 ???
Next
From: "Marc G. Fournier"
Date:
Subject: Testing gateway