Problem compiling PostgreSQL 7.2.1 on RedHat 7.2

From: Luca Zancan <l(dot)zancan(at)logica(dot)mail>
To: pgsql-admin(at)postgresql(dot)org
Subject: Problem compiling PostgreSQL 7.2.1 on RedHat 7.2
Date: 2002-07-16 12:17:54
Message-ID: 3D340EF2.ECF4933D@logica.mail
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi all,

I'm trying to compile PostgreSQL ver. 7.2.1 on a Linux RedHat 7.2
(kernel ver. 2.4.7-10), unixODBC ver 2.2.2, J2SDK ver. 1.4.0 and Jakarta
Ant ver. 1.4.1.
I run configure with the following switches:
./configure --with-perl --with-tcl --enable-odbc --with-unixodbc
--with-java --with-pam --enable-syslog --enable-debug
and everything goes smooth...
When I launch "gmake" I obtain the following error (you can find it at
the end of this e-mail...) and "gmake" exit.
It seems something concerning the use of deprecated Java classes or
something similar...

Any suggestion???

Thank you very much.

Luca Zancan

_________________________________

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

check_versions:

driver:
[copy] Copying 1 file to
/usr/local/src/postgresql-7.2.1/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.1/src/interfaces/jdbc/build
[javac]
/usr/local/src/postgresql-7.2.1/src/interfaces/jdbc/org/postgresql/xa/XAConnectionImpl.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.1/src/interfaces/jdbc/org/postgresql/jdbc2/ResultSet.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.1/src/interfaces/jdbc/org/postgresql/jdbc2/Statement.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.1/src/interfaces/jdbc/org/postgresql/jdbc2/Connection.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.1/src/interfaces/jdbc/org/postgresql/jdbc2/DatabaseMetaData.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.1/src/interfaces/jdbc/org/postgresql/jdbc2/PreparedStatement.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.1/src/interfaces/jdbc/org/postgresql/jdbc2/CallableStatement.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.1/src/interfaces/jdbc/org/postgresql/largeobject/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.1/src/interfaces/jdbc/org/postgresql/largeobject/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.1/src/interfaces/jdbc/org/postgresql/xa/ClientConnection.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

/usr/local/src/postgresql-7.2.1/src/interfaces/jdbc/build.xml:72:
Compile failed, messages should have been provided.

Total time: 1 minute 7 seconds
gmake[3]: *** [all] Error 1
gmake[3]: Leaving directory
`/usr/local/src/postgresql-7.2.1/src/interfaces/jdbc'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory
`/usr/local/src/postgresql-7.2.1/src/interfaces'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/usr/local/src/postgresql-7.2.1/src'
gmake: *** [all] Error 2

__________________________________________________

Luca Zancan
Logica S.r.l.
e-mail l(dot)zancan(at)logicaonline(dot)com
URL http://www.logicaonline.com
__________________________________________________

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Cyrill Polikarpov 2002-07-16 14:43:34 User's managing
Previous Message Tom Lane 2002-07-16 06:08:01 Re: initdb failing - core dump