Re: Errors building older versions of PostgreSQL - Mailing list pgsql-general

From Alvaro Herrera
Subject Re: Errors building older versions of PostgreSQL
Date
Msg-id 20050714025822.GA12061@alvh.no-ip.org
Whole thread Raw
In response to Errors building older versions of PostgreSQL  (Gregory Youngblood <pgcluster@netio.org>)
Responses Re: Errors building older versions of PostgreSQL
List pgsql-general
On Wed, Jul 13, 2005 at 04:29:41PM -0700, Gregory Youngblood wrote:

> It gets through most of the make process, but then at the point where
> it starts creating files like GNUmakefile, it returns:
> sed: file conftest.sl line 35: unterminated `s' command

The problem is that GCC now gives a multiline string when given
--version.  I think the easiest way out is to change the configure file,
where it says

CC_VERSION=`${CC} --version`

to something like

CC_VERSION=`${CC} --version | head -1`

(Or change configure.in and rerun autoconf)

> Second problem, this time is for 7.1.
>
> 7.1 is configured with:
> ./configure --prefix=/export/storage/PostgreSQL/7.1 --pgport=5434
>
> It doesn't get as far as 7.0, but it does get to:
> Checking types of arguments for accept() . . .

I think the easiest would be to take the
config/ac_func_accept_argtypes.m4 file from a newer release, rerun
autoconf, and rerun configure.

--
Alvaro Herrera (<alvherre[a]alvh.no-ip.org>)
"In fact, the basic problem with Perl 5's subroutines is that they're not
crufty enough, so the cruft leaks out into user-defined code instead, by
the Conservation of Cruft Principle."  (Larry Wall, Apocalypse 6)

pgsql-general by date:

Previous
From: "Thomas F. O'Connell"
Date:
Subject: Re: ERROR: could not open relation
Next
From: Bob
Date:
Subject: Re: Transparent encryption in PostgreSQL?