X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 425875E46C0 for ; Fri, 13 Aug 2004 15:10:57 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 35268-10 for ; Fri, 13 Aug 2004 18:10:55 +0000 (GMT) Received: from net2.micro-automation.com (net2.micro-automation.com [64.7.141.29]) by svr1.postgresql.org (Postfix) with SMTP id 25CEB5E37D0 for ; Fri, 13 Aug 2004 15:10:51 -0300 (ADT) Received: (qmail 32154 invoked from network); 13 Aug 2004 18:10:49 -0000 Received: from dcdsl.ebox.com (HELO ?192.168.1.36?) (davec@64.7.143.116) by net2.micro-automation.com with SMTP; 13 Aug 2004 18:10:49 -0000 Subject: Re: compiling postgres from source --with-java From: Dave Cramer Reply-To: pg@fastcrypt.com To: luke@chipcity.com.au Cc: "pgsql-jdbc @ postgresql . org" In-Reply-To: <1092410415.1415.118.camel@bench.chipcity.com.au> References: <1092410415.1415.118.camel@bench.chipcity.com.au> Content-Type: text/plain Organization: Cramer Consulting Message-Id: <1092420725.1544.27.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Fri, 13 Aug 2004 14:12:05 -0400 Content-Transfer-Encoding: 7bit X-AntiVirus: scanned for viruses by AMaViS 0.2.1 (http://amavis.org/) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200408/93 X-Sequence-Number: 10815 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>) in java.sql.Array > > Anyone have any hints? > > kind regards, > Luke -- Dave Cramer 519 939 0336 ICQ # 14675561 http://www.postgresintl.com/