Re: PostgreSQL 8.3.8 on AIX5.3 : compilation failed

From: "Albe Laurenz" <laurenz(dot)albe(at)wien(dot)gv(dot)at>
To: "Alexandra Roy *EXTERN*" <Alexandra(dot)Roy(at)bull(dot)net>
Cc: "pgsql general" <pgsql-general(at)postgresql(dot)org>
Subject: Re: PostgreSQL 8.3.8 on AIX5.3 : compilation failed
Date: 2009-11-10 08:44:30
Message-ID: D960CB61B694CF459DCFB4B0128514C203938023@exadv11.host.magwien.gv.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

Alexandra Roy wrote:
> I have always run "gmake distclean" before relaunching a build.
>
> Maybe the32-bit build failed because I have not set and exported the
> "OBJECT_MODE" environment variable.
> I will try to build PostgreSQL once again with "export
> OBJECT_MODE=32".

I will look at the 32 bit case again.

> I continued to test a 64-bit build and finally, I found the
> procedure to
> do a 64-bit build of PostgreSQL 8.3.8 on AIX 5.3.
> As "root" user :

You don't have to be root for this.

> # export OBJECT_MODE=64
> # export CFLAGS="-maix64"
> # export LDFLAGS="-maix64 -Wl,-bbigtoc"
> # export AR="ar -X64" => this step was missing in my first test

This should not be necessary - if you look at the man page of "ar"
you will see that the default value of the -X flag is derived
from OBJECT_MODE.

> # ./configure
> # gmake
> All of PostgreSQL successfully made. Ready to install.

I'm glad that you got it to compile.

> As non-root user :
> # gmake check
> =======================
> All 114 tests passed.
> =======================
>
> As "root" user:
> # gmake install
> PostgreSQL installation complete.

Yours,
Laurenz Albe

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Thom Brown 2009-11-10 09:39:05 Dynamically-sized WAL files
Previous Message hubert depesz lubaczewski 2009-11-10 08:08:51 Re: What to install to be able to build docs on Arch Linux?

Browse pgsql-hackers by date

  From Date Subject
Next Message Jan Otto 2009-11-10 09:57:21 Re: drop tablespace error: invalid argument
Previous Message Peter Eisentraut 2009-11-10 07:50:24 Re: Issues in partitioning - constraint dependency