Search Postgresql Archives

Re: Errors building older versions of PostgreSQL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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)

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux