[Pljava-dev] Errors building SO

From: alberto at unex(dot)es (Alberto Cabello Sánchez )
To:
Subject: [Pljava-dev] Errors building SO
Date: 2014-01-14 07:38:15
Message-ID: 20140114073815.GA10805@guadiana.unex.es
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pljava-dev

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

In response to

Responses

Browse pljava-dev by date

  From Date Subject
Next Message Hal Hildebrand 2014-01-14 12:51:39 [Pljava-dev] Errors building SO
Previous Message Hal Hildebrand 2014-01-14 01:36:28 [Pljava-dev] Errors building SO