agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
Subject: [Pljava-dev] Errors building SO
Date: Tue, 14 Jan 2014 08:38:15 +0100
Message-ID: <20140114073815.GA10805@guadiana.unex.es> (raw)
In-Reply-To: <F577FA54-2012-4B11-BB37-D66CF9B05713@me.com>
References: <D8B285F5-37F8-44AC-8C03-C8F356D0972D@me.com>
	<20140112214014.48485157142fba19b3942482@unex.es>
	<85654E5B-7CAE-4AED-96F8-4A778A2FB017@me.com>
	<20140113073543.GA14082@guadiana.unex.es>
	<E478E8A8-5184-4BD3-AAB6-EC870EE14ABD@me.com>
	<36454E67-4014-448F-9B4D-C202E16B15C7@me.com>
	<20140113131329.GH14082@guadiana.unex.es>
	<E9AB8587-B0AF-4F90-946D-56F01636CE59@me.com>
	<20140113200610.cf0d1d93888dd9bde5e91ecc@unex.es>
	<F577FA54-2012-4B11-BB37-D66CF9B05713@me.com>

On Mon, Jan 13, 2014 at 05:36:28PM -0800, Hal Hildebrand wrote:
> What were your environment settings?  I noticed that there are environment
> variables needed. 

I only needed JAVA6_HOME set to a JAVA 6 JDK, as read in the docs, and PATH so
that pg_config is found:

JAVA6_HOME=/usr/lib/jvm/java-6-openjdk-amd64/
PATH=$PATH:$HOME/local/bin

If it is not right, there is another error ("Fatal Error: Unable to find
package java.lang in classpath or bootclasspath" and
"/home/alberto/src/pljava/pljava-so/build.xml:5: Execute failed:
java.io.IOException: Cannot run program "pg_config" (in directory
"/home/alberto/src/pljava/pljava-so"): java.io.IOException: error=2, No such
file or directory", resp.).

> Perhaps that could be an issue here?

I don't think so, but just in case:

http://188.165.106.21/env.gz

> > On Jan 13, 2014, at 11:06 AM, Alberto Cabello S?nchez <alberto at unex.es> wrote:
> > 
> > On Mon, 13 Jan 2014 09:23:05 -0800
> > Hal Hildebrand <hal.hildebrand at me.com> wrote:
> > 
> >> Hmmm. Well, I will see what I can dig up. At least I know it is possible
> >> in this environment and there's just some issues with the maven invocation
> >> of the plugin.
> > 
> > FWIW, I don't know what "this environment" is, but I just ran the build in
> > a 64-bit Ubuntu 12.04 and it works like a charm.


-- 
-----------------------
Alberto Cabello S?nchez
alberto at unex.es



view thread (27+ messages)  latest in thread

Message-ID: <20140114073815.GA10805@guadiana.unex.es>
Permalink:  ../20140114073815.GA10805@guadiana.unex.es/
Also on:    postgresql.org/message-id/20140114073815.GA10805@guadiana.unex.es

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] Errors building SO
  In-Reply-To: <20140114073815.GA10805@guadiana.unex.es>

* 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