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: Mon, 01 Oct 2012 11:58:16 -0700
Message-ID: <5069E7C8.4090004@hogranch.com> (raw)
In-Reply-To: <50660A90.3020308@hogranch.com>
References: <50651F8A.1080704@hogranch.com>
	<50660523.5050503@hogranch.com>
	<50660A90.3020308@hogranch.com>

On 09/28/12 1:37 PM, John R Pierce wrote:
> $ export PATH=/usr/java5_64/bin:/usr/vac/bin:/usr/bin:/opt/pgsql91/bin
> $ export JAVA_HOME=/usr/java5_64
> $ gmake
> Makefile:51: *** PL/Java 1.4.3 can only be compiled with JDK 1.4 or 
> 1.5.  Stop.
>
> $ java -version
> java version "1.5.0"
> Java(TM) 2 Runtime Environment, Standard Edition (build 
> pap64devifx-20110211c (SR12 FP3 +IZ94331))
> IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 AIX ppc64-64 
> j9vmap6423ifx-20101130 (JIT enabled)
> J9VM - 20101129_69669_BHdSMr
> JIT  - 20100623_16197ifx1_r8
> GC   - 20100211_AA)
> JCL  - 20110208,



so I disabled this test in the master Makefile, and now I get....

     $ 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?

$ gmake c_all
gmake[1]: Entering directory `/home/postgres/src/pljava-1.4.3/build/objs'
/home/postgres/src/pljava-1.4.3/src/C/pljava/Makefile:232: warning: 
overriding commands for target `pljava.so'
/opt/pgsql91/lib/pgxs/src/makefiles/../../src/Makefile.shlib:387: 
warning: ignoring old commands for target `pljava.so'
/usr/vacpp/bin/xlc -c -q64 -I/home/postgres/src/include -O2 -qarch=pwr5 
-qtune=balanced -qnoansialias   -I. -I. -I/opt/pgsql91/include/server 
-I/opt/pgsql91/include/internal -DPKGLIBDIR=\"/opt/pgsql91/lib\" 
-I/home/postgres/src/pljava-1.4.3/src/C/include 
-I/home/postgres/src/pljava-1.4.3/build/jni -DPGSQL_MAJOR_VER=9 
-DPGSQL_MINOR_VER=1 -DPGSQL_PATCH_VER=6 -I"/usr/java5_64/include" 
-I"/usr/java5_64/include/aix" 
/home/postgres/src/pljava-1.4.3/src/C/pljava/Backend.c -o Backend.o
"/home/postgres/src/pljava-1.4.3/src/C/pljava/Backend.c", line 30.10: 
1506-296 (S) #include file "org_postgresql_pljava_internal_Backend.h" 
not found.
"/home/postgres/src/pljava-1.4.3/src/C/pljava/Backend.c", line 106.17: 
1506-045 (S) Undeclared identifier 
Java_org_postgresql_pljava_internal_Backend_isCallingJava.
"/home/postgres/src/pljava-1.4.3/src/C/pljava/Backend.c", line 111.17: 
1506-045 (S) Undeclared identifier 
Java_org_postgresql_pljava_internal_Backend_isReleaseLingeringSavepoints.
"/home/postgres/src/pljava-1.4.3/src/C/pljava/Backend.c", line 116.17: 
1506-045 (S) Undeclared identifier 
Java_org_postgresql_pljava_internal_Backend__1getConfigOption.
"/home/postgres/src/pljava-1.4.3/src/C/pljava/Backend.c", line 121.17: 
1506-045 (S) Undeclared identifier 
Java_org_postgresql_pljava_internal_Backend__1getStatementCacheSize.
"/home/postgres/src/pljava-1.4.3/src/C/pljava/Backend.c", line 126.17: 
1506-045 (S) Undeclared identifier 
Java_org_postgresql_pljava_internal_Backend__1log.
"/home/postgres/src/pljava-1.4.3/src/C/pljava/Backend.c", line 131.17: 
1506-045 (S) Undeclared identifier 
Java_org_postgresql_pljava_internal_Backend__1clearFunctionCache.
gmake[1]: *** [Backend.o] Error 1
gmake[1]: Leaving directory `/home/postgres/src/pljava-1.4.3/build/objs'
gmake: *** [c_all] Error 2

is there anyone out here, or am I talking to a dead list?
\



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





view thread (17+ messages)  latest in thread

Message-ID: <5069E7C8.4090004@hogranch.com>
Permalink:  ../5069E7C8.4090004@hogranch.com/
Also on:    postgresql.org/message-id/5069E7C8.4090004@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: <5069E7C8.4090004@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