X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id AD9C9D1C91E; Fri, 25 Jul 2003 15:55:15 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 52506-03; Fri, 25 Jul 2003 12:54:28 -0300 (ADT) Received: from candle.pha.pa.us (momjian.navpoint.com [207.106.42.251]) by svr1.postgresql.org (Postfix) with ESMTP id 4883DD1C91D; Fri, 25 Jul 2003 12:55:13 -0300 (ADT) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.11.6) id h6PFt1522515; Fri, 25 Jul 2003 11:55:01 -0400 (EDT) From: Bruce Momjian Message-Id: <200307251555.h6PFt1522515@candle.pha.pa.us> Subject: Re: Update PG-7.3.2 and tru64 5.1a In-Reply-To: <3F215114.4020202@gsf.de> To: yogesh@gsf.de Date: Fri, 25 Jul 2003 11:55:01 -0400 (EDT) Cc: pgsql-admin@postgresql.org, pgsql-ports@postgresql.org X-Mailer: ELM [version 2.4ME+ PL99 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200307/262 X-Sequence-Number: 9602 It is complaining about not having libtermcap or libterminfo, or libcurses, or libtermlib --- not sure which one on your OS. It actually looks like libreadline didn't have the proper libraries specified, and that is why it is failing. Does psql work on your platform? --------------------------------------------------------------------------- yogesh bhanu wrote: > Hi , > Thanks to all who responded . > > I manage to get postgres compiled and now I'm stuck again :(. > I got it to compile with Compaq CC with -ieee flags enabled but > when I do gmake check I'm getting an error something like this > > > > /bin/sh ./pg_regress --temp-install --top-builddir=../../.. > --schedule=./parallel_schedule --multibyte=SQL_ASCII > ============== removing existing temp installation ============== > ============== creating temporary installation ============== > ============== initializing database system ============== > ============== starting postmaster ============== > running on port 65432 with pid 889885 > ============== creating database "regression" ============== > CREATE DATABASE > ALTER DATABASE > ============== dropping regression test user accounts ============== > ============== installing PL/pgSQL ============== > ERROR: Load of file > /usr/test/data/src/databases/postgresql-7.3.3/src/test/regress/./tmp_check/install//usr/local/postgres-7.3.x/lib/plpgsql.so > failed: dlopen: libreadline.so.4: symbol "tputs" unresolved > createlang: language installation failed > pg_regress: createlang failed > gmake[2]: *** [check] Error 2 > gmake[2]: Leaving directory > `/usr/test/data/src/databases/postgresql-7.3.3/src/test/regress' > gmake[1]: *** [check] Error 2 > gmake[1]: Leaving directory > `/usr/test/data/src/databases/postgresql-7.3.3/src/test' > gmake: *** [check] Error 2 > > Any Ideas as to how to fix it . > > I have compiled libreadline-4.3 using Compaq "CC -ieee". > > Thanks in advance > yogesh > > > > > Hi > I did'nt get any mail for this in pgsql-ports so mailing here. > I get the same error on 7.3.2 and on 7.3.3 . > > Just tried to compile postgres 7.3.3 on Tru64 5.1 a pk 4 > with > Compaq C V6.5-207 (dtk) on Compaq Tru64 UNIX V5.1A (Rev. 1885) > Compiler Driver V6.5-207 (dtk) (dtk) cc Driver > My configure option is .. > ./configure --prefix=/usr/local/postgres-7.3 > --with-includes=/usr/local/include --enable-static --with-pgport=12001 > --with-maxbackends=128 > > I get the following error at NAN when I compile . > gmake[4]: Entering directory > `/usr/test/data/src/databases/postgresql-7.3.2/src/backend/utils/adt' > cc -std -O4 -Olimit 2000 -I../../../../src/include -I/usr/local/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; > ------------------------------^ > gmake[4]: *** [float.o] Error 1 > gmake[4]: Leaving directory > `/usr/test/data/src/databases/postgresql-7.3.2/src/backend/utils/adt' > gmake[3]: *** [adt-recursive] Error 2 > gmake[3]: Leaving directory > `/usr/test/data/src/databases/postgresql-7.3.2/src/backend/utils' > gmake[2]: *** [utils-recursive] Error 2 > gmake[2]: Leaving directory > `/usr/test/data/src/databases/postgresql-7.3.2/src/backend' > gmake[1]: *** [all] Error 2 > gmake[1]: Leaving directory > `/usr/test/data/src/databases/postgresql-7.3.2/src' > gmake: *** [all] Error 2 > > > also could anyone also point me what values have to be raised for the > IPC ... > ipc: > msg_max = 8192 > msg_mnb = 16384 > msg_mni = 64 > msg_tql = 40 > shm_max = 4278190080 > shm_min = 1024 > shm_mni = 256 > shm_seg = 128 > sem_mni = 16 > sem_msl = 25 > sem_opm = 10 > sem_ume = 10 > sem_vmx = 32767 > sem_aem = 16384 > sem_broadcast_wakeup = 1 > max_kernel_ports = 314912 > ssm_threshold = 8388608 > ssm_enable_core_dump = 1 > shm_allocate_striped = 1 > shm_enable_core_dump = 1 > > I will summarise > > Thanx in advance > yogesh > > > > > > > > ---------------------------(end of broadcast)--------------------------- > TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org > > > > > ---------------------------(end of broadcast)--------------------------- > TIP 2: you can get off all lists at once with the unregister command > (send "unregister YourEmailAddressHere" to majordomo@postgresql.org) > -- 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