Re: unable compile postgresql 7.1.3 on FreeBSD 5.1 ???

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "sam" <sam(at)young-net(dot)com(dot)tw>
Cc: pgsql-ports(at)postgresql(dot)org
Subject: Re: unable compile postgresql 7.1.3 on FreeBSD 5.1 ???
Date: 2003-08-01 14:38:15
Message-ID: 7895.1059748695@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-ports

"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

In response to

Browse pgsql-ports by date

  From Date Subject
Next Message Marc G. Fournier 2003-08-07 17:49:43 Testing gateway
Previous Message sam 2003-08-01 10:04:35 unable compile postgresql 7.1.3 on FreeBSD 5.1 ???