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

Re: Problem compiling PostgreSQL 8.1.4 on AIX.

From: Nzer Zaidenberg <scipioenterprises(at)yahoo(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-ports(at)postgresql(dot)org
Subject: Re: Problem compiling PostgreSQL 8.1.4 on AIX.
Date: 2006-08-12 11:41:33
Message-ID: 20060812114133.13037.qmail@web52414.mail.yahoo.com (view raw or flat)
Thread:
Lists: pgsql-ports
I have updated AIX 5.3L (suma update) to the latest level.
 I have tried newer flavours of gcc
 (first 4.0.0-1 from Linux Toolbox for AIX then 4.1.1)
 
 same error:
 
 ============== removing existing temp installation    ==============
 ============== creating temporary installation        ==============
 ============== initializing database system           ==============
 
 pg_regress: initdb failed
 Examine ./log/initdb.log for the reason.
 
 gmake[2]: *** [check] Error 2
 gmake[2]: Leaving directory `/installs/PostgreSQL/postgresql-8.1.4/src/test/regress'
 gmake[1]: *** [check] Error 2
 gmake[1]: Leaving directory `/installs/PostgreSQL/postgresql-8.1.4/src/test'
 gmake: *** [check] Error 2
 make: 1254-004 The error code from the last command is 2.
 
 
 Stop.
 > gcc --version
 gcc (GCC) 4.1.1
 Copyright (C) 2006 Free Software Foundation, Inc.
 This is free software; see the source for copying conditions.  There is NO
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
 the log says 
 > tail ./src/test/regress/log/initdb.log
 creating directory /installs/PostgreSQL/postgresql-8.1.4/src/test/regress/./tmp_check/data/pg_multixact/members ... ok
 creating directory /installs/PostgreSQL/postgresql-8.1.4/src/test/regress/./tmp_check/data/pg_multixact/offsets ... ok
 creating directory /installs/PostgreSQL/postgresql-8.1.4/src/test/regress/./tmp_check/data/base ... ok
 creating directory /installs/PostgreSQL/postgresql-8.1.4/src/test/regress/./tmp_check/data/base/1 ... ok
 creating directory /installs/PostgreSQL/postgresql-8.1.4/src/test/regress/./tmp_check/data/pg_tblspc ... ok
 selecting default max_connections ... 10
 selecting default shared_buffers ... 50
 creating configuration files ... ok
 creating template1 database in /installs/PostgreSQL/postgresql-8.1.4/src/test/regress/./tmp_check/data/base/1 ... child process was terminated by signal 11
 initdb: data directory "/installs/PostgreSQL/postgresql-8.1.4/src/test/regress/./tmp_check/data" not removed at user's request
 
 any clues?
 
 thanks in advance
 
 Nezer J. Zaidenberg
 

----- Original Message ----
From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Nzer Zaidenberg <scipioenterprises(at)yahoo(dot)com>
Cc: pgsql-ports(at)postgresql(dot)org
Sent: Friday, August 11, 2006 3:53:10 PM
Subject: Re: [PORTS] Problem compiling PostgreSQL 8.1.4 on AIX. 

Nzer Zaidenberg <scipioenterprises(at)yahoo(dot)com> writes:
>  I am trying to set up pgsql on AIX 5.3L (2/2006) 
>  I am using gcc 3.3 (the version supplied by IBM  (Linux application toolkit for AIX))

See doc/FAQ_AIX in the source distribution, or the latest version here:
http://developer.postgresql.org/cvsweb.cgi/pgsql/doc/FAQ_AIX

The short answer seems to be that you need a newer gcc :-( and there may
be various other issues depending on just how up-to-date your AIX is.

            regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faq




In response to

Responses

pgsql-ports by date

Next:From: Tom LaneDate: 2006-08-12 15:41:51
Subject: Re: Problem compiling PostgreSQL 8.1.4 on AIX.
Previous:From: Tom LaneDate: 2006-08-11 12:53:10
Subject: Re: Problem compiling PostgreSQL 8.1.4 on AIX.

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