Re: [GENERAL] Postgres 6.4.1 on DEC-ALPHA - Mailing list pgsql-general

From Adriaan Joubert
Subject Re: [GENERAL] Postgres 6.4.1 on DEC-ALPHA
Date
Msg-id 36813474.C49D5822@albourne.com
Whole thread Raw
In response to Postgres 6.4.1 on DEC-ALPHA  (Adriaan Joubert <a.joubert@albourne.com>)
Responses Re: [GENERAL] Postgres 6.4.1 on DEC-ALPHA
List pgsql-general
I managed to compile postgres 6.4.1 without too much hassle, with the
following

./configure --with-CC=cc --without-CXX

There was only a single problem in

/data/build/pgsql/src/backend/port/snprintf.c

where around line 120 it should read


#ifndef HAVE_LONG_INT_64
static void fmtnum __P((long_long value, int base, int dosign, int ljust,
int le
n, int zpad));
#else
static void fmtnum __P((long value, int base, int dosign, int ljust, int
len, in
t zpad));
#endif


Then everything is fine. Don't even try with gcc -- I've also tried with
the gcc from egcs 1.0.3
and there are a lot of errors.

Problem is that even when postgres has compiled, it isn't working. I've
spent most of two days
on this now, but am back on 6.3.2 now (sigh).

Adriaan


pgsql-general by date:

Previous
From: "Thomas G. Lockhart"
Date:
Subject: Re: NULL & NOT NULL
Next
From: Bruce Momjian
Date:
Subject: Re: [GENERAL] Postgres 6.4.1 on DEC-ALPHA