Received: from anchor-post-31.mail.demon.net (anchor-post-31.mail.demon.net [194.217.242.89]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id f2CMIdx87745 for ; Mon, 12 Mar 2001 17:18:41 -0500 (EST) (envelope-from olly@lfix.co.uk) Received: from lfix.demon.co.uk ([158.152.59.127] helo=linda.lfix.co.uk) by anchor-post-31.mail.demon.net with esmtp (Exim 2.12 #1) id 14cae9-0004hc-0V; Mon, 12 Mar 2001 22:18:33 +0000 Received: from lfix.co.uk (olly@localhost [127.0.0.1]) by localhost (8.11.3/8.11.3/Debian 8.11.2-1) with ESMTP id f2CMIWG16513; Mon, 12 Mar 2001 22:18:32 GMT Message-Id: <200103122218.f2CMIWG16513@linda.lfix.co.uk> X-Mailer: exmh version 2.3.1 01/18/2001 (debian 2.3.1-1) with nmh-1.0.4+dev X-URL: http://www.lfix.co.uk/oliver X-face: "xUFVDj+ZJtL_IbURmI}!~xAyPC"Mrk=MkAm&tPQnNq(FWxv49R}\>0oI8VM?O2VY+N7@F- KMLl*!h}B)u@TW|B}6 cc: pgsql-interfaces@postgresql.org Subject: Re: Compiling JDBC - problem In-reply-to: Message from Peter Mount of Mon, 12 Mar 2001 20:15:01 GMT. <5.0.2.1.0.20010312201314.00a27b70@mail.retep.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Date: Mon, 12 Mar 2001 22:18:31 +0000 From: "Oliver Elphick" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by mail.postgresql.org id f2CMIfx87747 X-Archive-Number: 200103/104 X-Sequence-Number: 1265 Peter Mount wrote: >At 17:25 12/03/01 +0000, Oliver Elphick wrote: >What compiler are you using? Blackdown, kaffe? I know kaffe doesn't work >with our source full stop (bug on their part). It was kaffe; I've removed that in favour of jdk1.1, and get a little bit further: olly@linda$ export CLASSPATH=/usr/lib/jdk1.1/lib/classes.zip olly@linda$ export JAVA_HOME=/usr/lib/jdk1.1 olly@linda$ ant Searching for build.xml ... Buildfile: /usr3/home/olly/mypackages/pg7.1/postgresql-7.1beta5/build.xml jar: call: prepare: check_versions: driver: Configured build for the JDBC1 edition driver. compile: [javac] Compiling 2 source files to /usr3/home/olly/mypackages/pg7.1/postgresql-7.1beta5/src/interfaces/jdbc/build [javac] /usr3/home/olly/mypackages/pg7.1/postgresql-7.1beta5/src/interfaces/jdbc/org/postgresql/jdbc1/Statement.java:291: Missing term. [javac] if (result != null) && ((org.postgresql.ResultSet)result.reallyResultSet()) [javac] ^ [javac] /usr3/home/olly/mypackages/pg7.1/postgresql-7.1beta5/src/interfaces/jdbc/org/postgresql/jdbc1/Statement.java:291: Invalid expression statement. [javac] if (result != null) && ((org.postgresql.ResultSet)result.reallyResultSet()) [javac] ^ [javac] /usr3/home/olly/mypackages/pg7.1/postgresql-7.1beta5/src/interfaces/jdbc/org/postgresql/jdbc1/Statement.java:291: ';' expected. [javac] if (result != null) && ((org.postgresql.ResultSet)result.reallyResultSet()) [javac] ^ [javac] /usr3/home/olly/mypackages/pg7.1/postgresql-7.1beta5/src/interfaces/jdbc/org/postgresql/largeobject/PGclob.java:26: Interface java.sql.Clob of class org.postgresql.largeobject.PGclob not found. [javac] public class PGclob implements java.sql.Clob [javac] ^ [javac] 4 errors BUILD FAILED /usr3/home/olly/mypackages/pg7.1/postgresql-7.1beta5/src/interfaces/jdbc/build.xml:99: Compile failed, messages should have been provided. Total time: 1 second -- Oliver Elphick Oliver.Elphick@lfix.co.uk Isle of Wight http://www.lfix.co.uk/oliver PGP: 1024R/32B8FAA1: 97 EA 1D 47 72 3F 28 47 6B 7E 39 CC 56 E4 C1 47 GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C ======================================== "And now abideth faith, hope, love, these three; but the greatest of these is love." I Corinthians 13:13