Re: compiling postgres from source --with-java

From: Dave Cramer <pg(at)fastcrypt(dot)com>
To: luke(at)chipcity(dot)com(dot)au
Cc: "pgsql-jdbc (at) postgresql (dot) org" <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: compiling postgres from source --with-java
Date: 2004-08-13 18:12:05
Message-ID: 1092420725.1544.27.camel@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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/

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Luke (Terry) Vanderfluit 2004-08-14 02:08:50 Re: compiling pg from src --with-java and new build.xml
Previous Message Jan de Visser 2004-08-13 16:37:20 Re: compiling postgres from source --with-java