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

True64 Unix v5.1 - postgresql-7.2.4 compilation problem

From: Karthik K S <12011b005(at)cdl(dot)msitprogram(dot)net>
To: <pgsql-ports(at)postgresql(dot)org>
Cc: <pgsql-bugs(at)postgresql(dot)org>
Subject: True64 Unix v5.1 - postgresql-7.2.4 compilation problem
Date: 2003-08-29 08:29:51
Message-ID: 38521.202.140.129.131.1062145791.squirrel@cdl.msitprogram.net (view raw or flat)
Thread:
Lists: pgsql-bugspgsql-ports
============================================================================
                        POSTGRESQL BUG REPORT TEMPLATE
============================================================================


Your name		:	Karthik S
Your email address	:karthik(at)msitprogram(dot)net


System Configuration
---------------------
  Architecture (example: Intel Pentium)  	:Compaq 4 processors (True 64)

  Operating System (example: Linux 2.0.26 ELF) 	:uname -a: OSF1
ES45CCMB.ccmb.res.in V5.1 1885 alpha

  PostgreSQL version (example: PostgreSQL-7.2.4):   PostgreSQL-7.2.4

  Compiler used (example:  gcc 2.95.2)		: Unix ISO/ANSI C - compiler


Please enter a FULL description of your problem:
------------------------------------------------
Installation is getting stuck during the 'make' stage. It giving 'NAN'
compile-time evaluation of
'0.0/0.0' error, as shown below:
 # make
Using GNU make found at /usr/local/bin/make
/usr/local/bin/make -C doc all
make[1]: Entering directory `/usr/local/src/postgresql-7.2.4/doc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/local/src/postgresql-7.2.4/doc'
/usr/local/bin/make -C src all
make[1]: Entering directory `/usr/local/src/postgresql-7.2.4/src'
/usr/local/bin/make -C backend all
.
....[truncated]
.
.
make[3]: Entering directory
`/usr/local/src/postgresql-7.2.4/src/backend/utils'
/usr/local/bin/make -C adt SUBSYS.o
make[4]: Entering directory
`/usr/local/src/postgresql-7.2.4/src/backend/utils/a
dt'
cc -std -O4 -Olimit 2000 -I../../../../src/include   -c float.c -o float.o
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/local/src/postgresql-7.2.4/src/backend/utils/ad
t'
make[3]: *** [adt-recursive] Error 2
make[3]: Leaving directory
`/usr/local/src/postgresql-7.2.4/src/backend/utils'
make[2]: *** [utils-recursive] Error 2
make[2]: Leaving directory `/usr/local/src/postgresql-7.2.4/src/backend'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/local/src/postgresql-7.2.4/src'
make: *** [all] Error 2
*** Exit 2
Stop.
#




Please describe a way to repeat the problem.   Please try to provide a
concise reproducible example, if at all possible:
----------------------------------------------------------------------
we used './configure --with-CXX --with-perl --enable-odbc --with-java
--without-readline'
this worked perfectly...
then we ran make.




If you know how this problem might be fixed, list the solution below:
---------------------------------------------------------------------
This bug disapeared when we changed the definition of NAN from (0.0/0.0)
to 0 in float.c and numeric.c
But then the make process got hung after it tried and could not find a few
cluster and process files.
The new linefeed we got is given below:
# make
Using GNU make found at /usr/local/bin/make
/usr/local/bin/make -C doc all
.
....[truncated]
.
make[2]: Leaving directory `/usr/local/src/postgresql-7.2.4/src/include'
/usr/local/bin/make -C interfaces all
make[2]: Entering directory `/usr/local/src/postgresql-7.2.4/src/interfaces'
make[3]: Entering directory
`/usr/local/src/postgresql-7.2.4/src/interfaces/libp
q'
ar crs libpq.a `lorder fe-auth.o fe-connect.o fe-exec.o fe-misc.o
fe-print.o fe-
lobj.o pqexpbuffer.o dllist.o md5.o pqsignal.o | tsort`
find: /cluster/members/member0/dev/pts/9 : Bad file number
find: /cluster/members/member0/dev/ttyp9 : Bad file number
make[3]: *** [libpq.a] Interrupt     (we press ctrl -c here)
make[2]: *** [all] Interrupt
make[1]: *** [all] Interrupt
make: *** [all] Interrupt


*** Exit 130
Stop.
#




Responses

pgsql-ports by date

Next:From: Bruce MomjianDate: 2003-08-30 16:51:43
Subject: Re: True64 Unix v5.1 - postgresql-7.2.4 compilation problem
Previous:From: Robert TreatDate: 2003-08-27 19:26:06
Subject: Re: Windows port

pgsql-bugs by date

Next:From: Tom LaneDate: 2003-08-29 20:24:11
Subject: Re: about create type
Previous:From: zhuangjifengDate: 2003-08-29 03:21:36
Subject: about create type

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