From: pierce at hogranch.com (John R Pierce) Date: Tue, 09 Oct 2012 11:53:42 -0700 Subject: [Pljava-dev] pljava on AIX for postgres 9.1.x and IBM AIX Java 6? In-Reply-To: <5073DEED.8030504@hogranch.com> References: <50651F8A.1080704@hogranch.com> <50660523.5050503@hogranch.com> <50660A90.3020308@hogranch.com> <5069E7C8.4090004@hogranch.com> <5073DEED.8030504@hogranch.com> Message-ID: <507472B6.3060100@hogranch.com> On 10/09/12 1:23 AM, John R Pierce wrote: > /opt/pgsql91/lib/pgxs/src/makefiles/../../src/backend/port/aix/mkldexport.sh: > > not found. ok, I found this file in the 9.1.6 source tree I built, so I manually moved it over to the postgres install directory, and now the pljava make bombs at... .... /usr/vacpp/bin/xlc -q64 -I/home/postgres/src/include -O2 -qarch=pwr5 -qtune=balanced -qnoansialias -o pljava.so libpljava.a -Wl,-bE:libpljava.exp -L/opt/pgsql91/lib -L/home/postgres/src/lib -Wl,-blibpath:'/opt/pgsql91/lib:/opt/pgsql91/lib:/home/postgres/src/lib:/usr/lib:/lib' -Wl,-bnoentry -Wl,-H512 -Wl,-bM:SRE -Wl,-bI:/opt/pgsql91/bin/postgres/postgres.imp -L. -L"/usr/java5_64/jre/bin/j9vm" -ljvm ld: 0706-003 Cannot find or read import file: /opt/pgsql91/bin/postgres/postgres.imp ld:accessx(): A parameter must be a directory. so thats /another/ missing file... hmmm, a file of that name is in lib, not bin/postgres ... $ find . -name postgres.imp ./src/backend/postgres.imp $ find /opt/pgsql91 -name postgres.imp /opt/pgsql91/lib/postgres.imp 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?!? -- john r pierce N 37, W 122 santa cruz ca mid-left coast