pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
compiling postgres from source --with-java
3+ messages / 3 participants
[nested] [flat]

* compiling postgres from source --with-java
@ 2004-08-13 15:20  Luke (Terry) Vanderfluit <luke@chipcity.com.au>
  0 siblings, 2 replies; 3+ messages in thread

From: Luke (Terry) Vanderfluit @ 2004-08-13 15:20 UTC (permalink / raw)
  To: pgsql-jdbc

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     
========================




^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: compiling postgres from source --with-java
@ 2004-08-13 16:37  Jan de Visser <jdevisser@digitalfairway.com>
  parent: Luke (Terry) Vanderfluit <luke@chipcity.com.au>
  1 sibling, 0 replies; 3+ messages in thread

From: Jan de Visser @ 2004-08-13 16:37 UTC (permalink / raw)
  To: pgsql-jdbc

On August 13, 2004 11:20 am, Luke (Terry) Vanderfluit wrote:
> 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?

You're compiling w/ JDK1.5. I don't think that's supported yet.

JdV!!

-- 
--------------------------------------------------------------
Jan de Visser                     jdevisser@digitalfairway.com

                Baruk Khazad! Khazad ai-menu!
--------------------------------------------------------------



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: compiling postgres from source --with-java
@ 2004-08-13 18:12  Dave Cramer <pg@fastcrypt.com>
  parent: Luke (Terry) Vanderfluit <luke@chipcity.com.au>
  1 sibling, 0 replies; 3+ messages in thread

From: Dave Cramer @ 2004-08-13 18:12 UTC (permalink / raw)
  To: luke@chipcity.com.au; +Cc: pgsql-jdbc

Looks to me like you are building on jdk 1.5, the current driver in the
postgresql source tree cannot be built on that platform.

The current driver (which can be built) is on gborg
http://gborg.postgresql.org/project/pgjdbc/projdisplay.php

Dave
On Fri, 2004-08-13 at 11:20, Luke (Terry) Vanderfluit wrote:
> 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
-- 
Dave Cramer
519 939 0336
ICQ # 14675561
http://www.postgresintl.com/




^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2004-08-13 18:12 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-08-13 15:20 compiling postgres from source --with-java Luke (Terry) Vanderfluit <luke@chipcity.com.au>
2004-08-13 16:37 ` Jan de Visser <jdevisser@digitalfairway.com>
2004-08-13 18:12 ` Dave Cramer <pg@fastcrypt.com>

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