From: alberto at unex.es (Alberto Cabello =?iso-8859-1?Q?S=E1nchez?=) Date: Tue, 14 Jan 2014 08:38:15 +0100 Subject: [Pljava-dev] Errors building SO In-Reply-To: References: <20140112214014.48485157142fba19b3942482@unex.es> <85654E5B-7CAE-4AED-96F8-4A778A2FB017@me.com> <20140113073543.GA14082@guadiana.unex.es> <36454E67-4014-448F-9B4D-C202E16B15C7@me.com> <20140113131329.GH14082@guadiana.unex.es> <20140113200610.cf0d1d93888dd9bde5e91ecc@unex.es> Message-ID: <20140114073815.GA10805@guadiana.unex.es> 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 wrote: > > > > On Mon, 13 Jan 2014 09:23:05 -0800 > > Hal Hildebrand 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