Re: Problem compiling on HP/Compaq Tru64 UNIX

From: "Ron Harter" <rharter(at)pobox(dot)com>
To: pgsql-ports(at)postgresql(dot)org
Subject: Re: Problem compiling on HP/Compaq Tru64 UNIX
Date: 2002-10-23 04:30:27
Message-ID: DBpt9.192056$Fw2.5465633@twister.austin.rr.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general 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(at)pobox(dot)com | Just an earth bound misfit ... I
| Pink Floyd

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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Martijn van Oosterhout 2002-10-23 04:43:49 Re: Online backup
Previous Message Justin Clift 2002-10-23 03:48:26 Brazilian Portuguese version of the PostgreSQL "Advocacy and Marketing" site is ready

Browse pgsql-ports by date

  From Date Subject
Next Message Peter Eisentraut 2002-10-23 21:51:13 Re: 723 failed to compile [FreeBSD-4.7-STABLE]
Previous Message Fernan Aguero 2002-10-22 14:04:01 Re: 723 failed to compile [FreeBSD-4.7-STABLE]