postgresql-7.2.2 jdbc compile failure

From: "pgsql-jdbc" <pgsql-jdbc(at)grunt(dot)berkeley(dot)edu>
To: <pgsql-jdbc(at)postgresql(dot)org>
Subject: postgresql-7.2.2 jdbc compile failure
Date: 2002-09-18 21:44:33
Message-ID: 001501c25f5c$935730b0$5e7b2080@berkeley.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

I'm trying to install postgres 7.2.2 with jdbc on a Sparc Solaris 9 system.
The README
file in /usr/java says Java SDK Version 1.4.0. I'm using gcc 3.2, gmake
3.79.1, ant 1.5.
Here are the errors that I'm getting. What am I doing wrong?

gmake[4]: Leaving directory
`/usr/local/src/postgresql-7.2.2/src/interfaces/libpgeasy'
gmake[4]: Entering directory
`/usr/local/src/postgresql-7.2.2/src/interfaces/jdbc'
/usr/local/bin/ant -buildfile ./build.xml all \
-Dmajor=7 -Dminor=2 -Dfullversion=7.2.2 -Ddef_pgport=5432
Buildfile: ./build.xml

all:

prepare:
[mkdir] Created dir:
/usr/local/src/postgresql-7.2.2/src/interfaces/jdbc/build
[mkdir] Created dir:
/usr/local/src/postgresql-7.2.2/src/interfaces/jdbc/jars

check_versions:

driver:
[available] DEPRECATED - <available> used to override an existing property.
[available] Build file should not reuse the same property name for
different values.
[available] DEPRECATED - <available> used to override an existing property.
[available] Build file should not reuse the same property name for
different values.
[available] DEPRECATED - <available> used to override an existing property.
[available] Build file should not reuse the same property name for
different values.
[available] DEPRECATED - <available> used to override an existing property.
[available] Build file should not reuse the same property name for
different values.
[copy] Copying 1 file to
/usr/local/src/postgresql-7.2.2/src/interfaces/jdbc/org/postgresql
[echo] Configured build for the JDBC2 Enterprise edition driver

compile:
[javac] Compiling 53 source files to
/usr/local/src/postgresql-7.2.2/src/interfaces/jdbc/build
[javac]
/usr/local/src/postgresql-7.2.2/src/interfaces/jdbc/org/postgresql/xa/XAConn
ectionImpl.java:57: cannot resolve symbol
[javac] symbol : class RollbackException
[javac] location: package transaction
[javac] import javax.transaction.RollbackException;
[javac] ^
[javac]
/usr/local/src/postgresql-7.2.2/src/interfaces/jdbc/org/postgresql/jdbc2/Res
ultSet.java:60: org.postgresql.jdbc2.ResultSet should be declared abstract;
it does not define getURL(int) in org.postgresql.jdbc2.ResultSet
[javac] public class ResultSet extends org.postgresql.ResultSet
implements java.sql.ResultSet
[javac] ^
[javac]
/usr/local/src/postgresql-7.2.2/src/interfaces/jdbc/org/postgresql/jdbc2/Sta
tement.java:25: org.postgresql.jdbc2.Statement should be declared abstract;
it does not define getMoreResults(int) in org.postgresql.jdbc2.Statement
[javac] public class Statement extends org.postgresql.Statement
implements java.sql.Statement
[javac] ^
[javac]
/usr/local/src/postgresql-7.2.2/src/interfaces/jdbc/org/postgresql/jdbc2/Con
nection.java:37: org.postgresql.jdbc2.Connection should be declared
abstract; it does not define setHoldability(int) in
org.postgresql.jdbc2.Connection
[javac] public class Connection extends org.postgresql.Connection
implements java.sql.Connection
[javac] ^
[javac]
/usr/local/src/postgresql-7.2.2/src/interfaces/jdbc/org/postgresql/jdbc2/Dat
abaseMetaData.java:40: org.postgresql.jdbc2.DatabaseMetaData should be
declared abstract; it does not define supportsSavepoints() in
org.postgresql.jdbc2.DatabaseMetaData
[javac] public class DatabaseMetaData implements
java.sql.DatabaseMetaData
[javac] ^
[javac]
/usr/local/src/postgresql-7.2.2/src/interfaces/jdbc/org/postgresql/jdbc2/Pre
paredStatement.java:32: org.postgresql.jdbc2.PreparedStatement should be
declared abstract; it does not define setURL(int,java.net.URL) in
org.postgresql.jdbc2.PreparedStatement
[javac] public class PreparedStatement extends Statement implements
java.sql.PreparedStatement
[javac] ^
[javac]
/usr/local/src/postgresql-7.2.2/src/interfaces/jdbc/org/postgresql/jdbc2/Cal
lableStatement.java:42: org.postgresql.jdbc2.CallableStatement should be
declared abstract; it does not define
registerOutParameter(java.lang.String,int) in
org.postgresql.jdbc2.CallableStatement
[javac] public class CallableStatement extends
org.postgresql.jdbc2.PreparedStatement implements java.sql.CallableStatement
[javac] ^
[javac]
/usr/local/src/postgresql-7.2.2/src/interfaces/jdbc/org/postgresql/largeobje
ct/PGblob.java:26: org.postgresql.largeobject.PGblob should be declared
abstract; it does not define setBytes(long,byte[]) in
org.postgresql.largeobject.PGblob
[javac] public class PGblob implements java.sql.Blob
[javac] ^
[javac]
/usr/local/src/postgresql-7.2.2/src/interfaces/jdbc/org/postgresql/largeobje
ct/PGclob.java:26: org.postgresql.largeobject.PGclob should be declared
abstract; it does not define setString(long,java.lang.String) in
org.postgresql.largeobject.PGclob
[javac] public class PGclob implements java.sql.Clob
[javac] ^
[javac]
/usr/local/src/postgresql-7.2.2/src/interfaces/jdbc/org/postgresql/xa/Client
Connection.java:70: org.postgresql.xa.ClientConnection should be declared
abstract; it does not define setHoldability(int) in
org.postgresql.xa.ClientConnection
[javac] final class ClientConnection
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -deprecation for details.
[javac] 10 errors

BUILD FAILED
file:/usr/local/src/postgresql-7.2.2/src/interfaces/jdbc/build.xml:72:
Compile failed; see the compiler error output for details.

Total time: 27 seconds
gmake[4]: *** [all] Error 1
gmake[4]: Leaving directory
`/usr/local/src/postgresql-7.2.2/src/interfaces/jdbc'
gmake[3]: *** [all] Error 2
gmake[3]: Leaving directory `/usr/local/src/postgresql-7.2.2/src/interfaces'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/local/src/postgresql-7.2.2/src'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/usr/local/src/postgresql-7.2.2'
*** Error code 2
make: Fatal error: Command failed for target `all'

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Barry Lind 2002-09-18 22:00:55 Re: postgresql-7.2.2 jdbc compile failure
Previous Message Michael Paesold 2002-09-18 21:43:14 Re: Implementing JDBC3 methods (Was: JDBC and fetching theOID of an insert)