agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
Subject: [Pljava-dev] pljava on AIX for postgres 9.1.x and IBM AIX Java 6?
Date: Tue, 09 Oct 2012 14:42:33 -0700
Message-ID: <50749A49.8060003@hogranch.com> (raw)
In-Reply-To: <507474C0.1010304@hogranch.com>
References: <50651F8A.1080704@hogranch.com>
	<50660523.5050503@hogranch.com>
	<50660A90.3020308@hogranch.com>
	<5069E7C8.4090004@hogranch.com>
	<5073DEED.8030504@hogranch.com>
	<507472B6.3060100@hogranch.com>
	<507474C0.1010304@hogranch.com>

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





view thread (17+ messages)  latest in thread

Message-ID: <50749A49.8060003@hogranch.com>
Permalink:  ../50749A49.8060003@hogranch.com/
Also on:    postgresql.org/message-id/50749A49.8060003@hogranch.com

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pljava-dev@postgresql.org
  Subject: Re: [Pljava-dev] pljava on AIX for postgres 9.1.x and IBM AIX Java 6?
  In-Reply-To: <50749A49.8060003@hogranch.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox