Re: [PORTS] Problem compiling PostgreSQL 8.1.4 on AIX.
Nzer Zaidenberg <[email protected]> Sat, 12 Aug 2006 04:41:33 -0700 (PDT)
| Newsgroups | gmane.comp.db.postgresql.ports |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]> To: Nzer Zaidenberg <[email protected]> Cc: [email protected] Sent: Friday, August 11, 2006 3:53:10 PM Subject: Re: [PORTS] Problem compiling PostgreSQL 8.1.4 on AIX. Nzer Zaidenberg <[email protected]> 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