From: Luke (Terry) Vanderfluit <luke@chipcity.com.au>
To: pgsql-jdbc @ postgresql . org <pgsql-jdbc@postgresql.org>
Subject: compiling postgres from source --with-java
Date: Sat, 14 Aug 2004 00:50:15 +0930
Message-ID: <1092410415.1415.118.camel@bench.chipcity.com.au> (raw)
Hi,
I'm installing postgres with perl, python and java support.
That's postgres 7.4.3
I've done the following:
installing postgres using
./configure --with-perl --with-python --with-java
the configure script complains that it needs ant,
so.... I download ant
build ant according to
http://ant.apache.org/manual/index.html
with
'build.sh -Ddist.dir=/usr/local/ant'
then set the environment variables
export ANT_HOME=/usr/local/ant
export JAVA_HOME=/usr/local/java
export PATH=$PATH:/usr/local/ant/bin
but... it didn't work,
on looking in the configure script for postgres, I see I could set the
$ANT variable to directly point to /usr/local/ant/bin/ant
then the './configure --with-perl --with-python --with-java' for
postgresql worked.
however now I execute the 'make' command and get the following error:
Array.java:35: org.postgresql.jdbc2.Array is not abstract and does not
override abstract method
getResultSet(long,int,java.util.Map<java.lang.String,java.lang.Class<?>>) in java.sql.Array
Anyone have any hints?
kind regards,
Luke
--
========================
Luke (Terry) Vanderfluit
Mobile: 0421 276 282
========================
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: luke@chipcity.com.au
Subject: Re: compiling postgres from source --with-java
In-Reply-To: <1092410415.1415.118.camel@bench.chipcity.com.au>
References: <1092410415.1415.118.camel@bench.chipcity.com.au>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox