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 01:23:09 -0700
Message-ID: <5073DEED.8030504@hogranch.com> (raw)
In-Reply-To: <5069E7C8.4090004@hogranch.com>
References: <50651F8A.1080704@hogranch.com>
	<50660523.5050503@hogranch.com>
	<50660A90.3020308@hogranch.com>
	<5069E7C8.4090004@hogranch.com>

On 10/01/12 11:58 AM, John R Pierce wrote:
> (Various attempts at building pljava on AIX 6.1 with IBM XLC and IBM 
> Java 1.5_64 enumerated)
>     $ gmake
>     gmake[1]: Entering directory 
> `/home/postgres/src/pljava-1.4.3/build/classes/pljava'
>     gmake[1]: *** virtual memory exhausted.  Stop.
>     gmake[1]: Leaving directory 
> `/home/postgres/src/pljava-1.4.3/build/classes/pljava'
>     gmake: *** [pljava_all] Error 2
>
> if I try gmake c_all, I get errors for missing .h files from the java 
> side...  I don't see these files in the build tree, so I'm assuming 
> they get built? 

I returned to this project tonight...   I build pljava from the 1.4.3 
sources on a Linux platform, tarred up the ./build subdirectory after 
deleting the .o and .so files, and untarred this on the AIX build.  I 
ran gmake c_all there, and got all the way to ...

    /usr/bin/ar crs libpljava.a Backend.o Exception.o ExecutionPlan.o
    Function.o HashMap.o Invocation.o Iterator.o JNICalls.o PgObject.o
    PgSavepoint.o SPI.o SQLInputFromChunk.o SQLInputFromTuple.o
    SQLOutputToChunk.o SQLOutputToTuple.o Session.o SubXactListener.o
    XactListener.o backports.o type/AclId.o type/Any.o type/Array.o
    type/BigDecimal.o type/Boolean.o type/Byte.o type/Coerce.o
    type/Composite.o type/Date.o type/Double.o type/ErrorData.o
    type/Float.o type/HeapTupleHeader.o type/Integer.o
    type/JavaWrapper.o type/LargeObject.o type/Long.o type/Oid.o
    type/Portal.o type/Relation.o type/Short.o type/String.o type/Time.o
    type/Timestamp.o type/TriggerData.o type/Tuple.o type/TupleDesc.o
    type/TupleTable.o type/Type.o type/UDT.o type/Void.o type/byte_array.o
    touch libpljava.a
    /opt/pgsql91/lib/pgxs/src/makefiles/../../src/backend/port/aix/mkldexport.sh
    libpljava.a >libpljava.exp
    /bin/sh:
    /opt/pgsql91/lib/pgxs/src/makefiles/../../src/backend/port/aix/mkldexport.sh:
    not found.
    gmake[1]: *** [libpljava.a] Error 127
    gmake[1]: *** Deleting file `libpljava.a'
    gmake[1]: Leaving directory `/home/postgres/src/pljava-1.4.3/build/objs'
    gmake: *** [c_all] Error 2

now, my Postgresql build has that lib/pgxs/src/makefiles directory but 
it does NOT have lib/pgxs/src/backend so I presume I did something wrong 
building 9.1.6 ?



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





view thread (17+ messages)  latest in thread

Message-ID: <5073DEED.8030504@hogranch.com>
Permalink:  ../5073DEED.8030504@hogranch.com/
Also on:    postgresql.org/message-id/5073DEED.8030504@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: <5073DEED.8030504@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