Обсуждение: Problem compiling on HP/Compaq Tru64 UNIX
We are trying to compile and install postgresql on Tru64 UNIX. We get some errors during the build saying NAN not defined. Is there something we need to modify to correct this or a compile time option we need to change? Any help/advice is appreciated. -- Ron Harter | Tongue, Tied and Twisted rharter@pobox.com | Just an earth bound misfit ... I | Pink Floyd
"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
Tom Lane wrote: > "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? And mention the PostgreSQL version. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073