Re: Errors building older versions of PostgreSQL

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: Gregory Youngblood <pgcluster(at)netio(dot)org>
Cc: PostgreSQL General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Errors building older versions of PostgreSQL
Date: 2005-07-14 02:58:22
Message-ID: 20050714025822.GA12061@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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)

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Stuart Bishop 2005-07-14 04:03:13 Re: Japanese words not distinguished
Previous Message Neil Conway 2005-07-14 02:18:06 Re: Transaction Handling in pl/pgsql?