Skip site navigation (1) Skip section navigation (2)

Re: [PORTS] Problem compiling on HP/Compaq Tru64 UNIX

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Ron Harter" <rharte(at)pobox(dot)com>
Cc: pgsql-general(at)postgresql(dot)org, pgsql-ports(at)postgresql(dot)org
Subject: Re: [PORTS] Problem compiling on HP/Compaq Tru64 UNIX
Date: 2002-10-21 14:03:13
Message-ID: 16860.1035208993@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-generalpgsql-ports
"Ron Harter" <rharter(at)pobox(dot)com> writes:
> We are trying to compile and install postgresql on Tru64 UNIX. We get some
> errors during the build saying NAN not defined.

AFAICS, all uses of NAN in the PG code are preceded by something like

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

... which might or might not be the right thing for your platform, but
it certainly shouldn't yield an "undefined name" kind of error.

Could you be more specific about what error you're getting?
And where?

			regards, tom lane

In response to

Responses

pgsql-ports by date

Next:From: Tom LaneDate: 2002-10-21 14:17:11
Subject: Re: 723 failed to compile [FreeBSD-4.7-STABLE]
Previous:From: Adam ManockDate: 2002-10-19 16:05:19
Subject: rebuilding 7.2.3 srpm on RedHat 8.0

pgsql-general by date

Next:From: Mike BeachyDate: 2002-10-21 14:07:12
Subject: Re: referential integrity violation
Previous:From: Ian HardingDate: 2002-10-21 13:58:18
Subject: Re: select into without creating new table

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group