pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Richard Gliebe <gliebe@hilti.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Postgres 7.2.1 on Tru64 V5.1A
Date: Mon, 29 Jul 2002 22:48:30 -0400 (EDT)
Message-ID: <200207300248.g6U2mUU21077@candle.pha.pa.us> (raw)
In-Reply-To: <3d40f357@eumel.hag.hilti.com>


Some are using Tru64. In fact, we got a patch just two weeks ago from
someone for the handling of "$@" on that platform.  Not sure what I can
suggest here.  The code is trying to generate a NaN.  The actual code
is:

	#ifndef NAN
	#define NAN     (0.0/0.0)
	#endif

Maybe you can find NAN in one of your include files and add that to the
top of the file.

---------------------------------------------------------------------------

Richard Gliebe wrote:
> Hi there,
> 
> has someone installed Postgres 7.2.1 successfully on Tru64 UNX V5.1A ?
> 
> gnu-make will stop with the following error:
> 
> cc -std -O4 -Olimit 2000 -I../../../../src/include   -c -o float.o float.c
> cc: Error: float.c, line 202: In this statement, the libraries on this
> platform do not yet support compile-time evaluation of the constant
> expression "0.0/0.0". (constfoldns)
>                         val = NAN;
> ------------------------------^
> cc: Error: float.c, line 263: In this statement, the libraries on this
> platform do not yet support compile-time evaluation of the constant
> expression "0.0/0.0". (constfoldns)
>                         val = NAN;
> ------------------------------^
> make[4]: *** [float.o] Error 1
> make[4]: Leaving directory
> `/usr/users/gliebe/postgresql-7.2.1/src/backend/utils/adt'
> make[3]: *** [adt-recursive] Error 2
> make[3]: Leaving directory
> `/usr/users/gliebe/postgresql-7.2.1/src/backend/utils'
> make[2]: *** [utils-recursive] Error 2
> make[2]: Leaving directory `/usr/users/gliebe/postgresql-7.2.1/src/backend'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/usr/users/gliebe/postgresql-7.2.1/src'
> make: *** [all] Error 2
> 
> 
> Richard
> 
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
> 

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026



view thread (2+ messages)

Message-ID: <200207300248.g6U2mUU21077@candle.pha.pa.us>
Permalink:  ../200207300248.g6U2mUU21077@candle.pha.pa.us/
Also on:    postgresql.org/message-id/200207300248.g6U2mUU21077@candle.pha.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: pgman@candle.pha.pa.us, gliebe@hilti.com
  Subject: Re: Postgres 7.2.1 on Tru64 V5.1A
  In-Reply-To: <200207300248.g6U2mUU21077@candle.pha.pa.us>
  References: <3d40f357@eumel.hag.hilti.com> <200207300248.g6U2mUU21077@candle.pha.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox