Re: Compiling JDBC - problem

From: "Oliver Elphick" <olly(at)lfix(dot)co(dot)uk>
To: Peter Mount <peter(at)retep(dot)org(dot)uk>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: Compiling JDBC - problem
Date: 2001-03-12 22:18:31
Message-ID: 200103122218.f2CMIWG16513@linda.lfix.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

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(at)linda$ export CLASSPATH=/usr/lib/jdk1.1/lib/classes.zip
olly(at)linda$ export JAVA_HOME=/usr/lib/jdk1.1
olly(at)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(dot)Elphick(at)lfix(dot)co(dot)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

Browse pgsql-interfaces by date

  From Date Subject
Next Message Dawn Vu 2001-03-12 23:21:58 scrollable cursors
Previous Message Stephane Pinel 2001-03-12 22:09:37 Libpq for the MacOS