Обсуждение: Postgres 7.2.1 on Tru64 V5.1A

Поиск
Список
Период
Сортировка

Postgres 7.2.1 on Tru64 V5.1A

От
"Richard Gliebe"
Дата:
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



Re: Postgres 7.2.1 on Tru64 V5.1A

От
Bruce Momjian
Дата:
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