[Pljava-dev] pljava on AIX for postgres 9.1.x and IBM AIX Java 6?

From: pierce at hogranch(dot)com (John R Pierce)
To:
Subject: [Pljava-dev] pljava on AIX for postgres 9.1.x and IBM AIX Java 6?
Date: 2012-10-09 21:42:33
Message-ID: 50749A49.8060003@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pljava-dev

On 10/09/12 12:02 PM, John R Pierce wrote:
> On 10/09/12 11:53 AM, John R Pierce wrote:
>> and, muh-oh... $PG_PREFIX/bin/postgres is the binary executable, so
>> I *can't* put a copy of postgres.imp there, hah. and a bit of
>> poking around the pljava makefiles, I'm not figuring out how its
>> cooking that path name up?!?
>
> actually, it appears to be another issue on the PGXS side of postgres
> on AIX.

ok, to follow up... after manually copying
src/backend/port/aix/mkldexport.sh from the postgresql 9.1.6 source tree
to the installation directory (under lib/pgxs), we then found...

in postgres 9.1.6, at least, the pkgxs/src/makefiles/Makefile.aix is
broken, it needs this change...
from:
BE_DLLLIBS= -Wl,-bI:$(bindir)/postgres/$(POSTGRES_IMP)
to:
BE_DLLLIBS= -Wl,-bI:$(pkglibdir)/$(POSTGRES_IMP)

and... in pljava, I had to...

export PLJAVA_LDFLAGS=-lm

before I ran gmake c_all

now its built, but still untested....

--
john r pierce N 37, W 122
santa cruz ca mid-left coast

In response to

Responses

Browse pljava-dev by date

  From Date Subject
Next Message John R Pierce 2012-10-10 18:49:53 [Pljava-dev] pljava on AIX for postgres 9.1.x and IBM AIX Java 6?
Previous Message John R Pierce 2012-10-09 19:02:24 [Pljava-dev] pljava on AIX for postgres 9.1.x and IBM AIX Java 6?