Re: Problem compiling on HP/Compaq Tru64 UNIX - Mailing list pgsql-ports

From Ron Harter
Subject Re: Problem compiling on HP/Compaq Tru64 UNIX
Date
Msg-id DBpt9.192056$Fw2.5465633@twister.austin.rr.com
Whole thread Raw
In response to Re: Problem compiling on HP/Compaq Tru64 UNIX  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-ports
After some further investigation it turns out to be a Compaq problem, the
compiler doesn't default to IEEE floating point. Once the
-ieee was added to the compiler switches in the makefile everything built
fine.



 --
 Ron Harter                | Tongue, Tied and Twisted
 rharter@pobox.com  | Just an earth bound misfit ... I
                                   |                Pink Floyd


"Tom Lane" <tgl@sss.pgh.pa.us> wrote in message
news:16860.1035208993@sss.pgh.pa.us...
> "Ron Harter" <rharter@pobox.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
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html



pgsql-ports by date:

Previous
From: Fernan Aguero
Date:
Subject: Re: 723 failed to compile [FreeBSD-4.7-STABLE]
Next
From: Peter Eisentraut
Date:
Subject: Re: 723 failed to compile [FreeBSD-4.7-STABLE]