[postgis-users] troubles configuring postgresql

Paul Ramsey pramsey at refractions.net
Fri Jun 13 07:30:28 PDT 2003


Not sure,
Check your javac version. Get the latest from Sun. Ask the pgsql-jdbc  
list for further help.
Paul

On Friday, June 13, 2003, at 02:55 AM, Alessandro Ceccotti wrote:

> I'm using postgresql 7.2.3 and I've to recompile it with the  
> instruction "--with-java"
> When I'm doing the configuration command, all seems to be good, but  
> when i launch make it gives me the following etrror messages.
> Any ideas on how I can do to solve this problem?
> Thanks,
> Alessandro
>  
>  
>  
> [...]
>  
> make[4]: Nothing to be done for `all'.
> make[4]: Leaving directory  
> `/root/postgresql-7.2.3/src/interfaces/ecpg/preproc'
> make[3]: Leaving directory `/root/postgresql-7.2.3/src/interfaces/ecpg'
> make[3]: Entering directory  
> `/root/postgresql-7.2.3/src/interfaces/libpgeasy'
> make[3]: Nothing to be done for `all'.
> make[3]: Leaving directory  
> `/root/postgresql-7.2.3/src/interfaces/libpgeasy'
> make[3]: Entering directory  
> `/root/postgresql-7.2.3/src/interfaces/jdbc'
> /root/apache-ant-1.5.3-1/bin//ant -buildfile ./build.xml all \
>   -Dmajor=7 -Dminor=2 -Dfullversion=7.2.3 -Ddef_pgport=5432
> Buildfile: ./build.xml
>  
> all:
> prepare:
>  
> 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.
>      [echo] Configured build for the JDBC2 Enterprise edition driver
> compile:
>     [javac] Compiling 53 source files to  
> /root/postgresql-7.2.3/src/interfaces/jdbc/build
>     [javac]  
> /root/postgresql-7.2.3/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]  
> /root/postgresql-7.2.3/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]  
> /root/postgresql-7.2.3/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]  
> /root/postgresql-7.2.3/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]  
> /root/postgresql-7.2.3/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]
> /root/postgresql-7.2.3/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]  
> /root/postgresql-7.2.3/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]  
> /root/postgresql-7.2.3/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]  
> /root/postgresql-7.2.3/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]
> /root/postgresql-7.2.3/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
> file:/root/postgresql-7.2.3/src/interfaces/jdbc/build.xml:72: Compile  
> failed; see the compiler error output for details.
>  
> Total time: 3 seconds
> make[3]: *** [all] Error 1
> make[3]: Leaving directory `/root/postgresql-7.2.3/src/interfaces/jdbc'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/root/postgresql-7.2.3/src/interfaces'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/root/postgresql-7.2.3/src'
> make: *** [all] Error 2
>  
> Ing.Alessandro Ceccotti, netXcalibur s.r.l.
> Via Alamanni, 25
> I-50123 Firenze
> T: +39.055.285859 - F: +39.055.285760
>  
>
      Paul Ramsey
      Refractions Research
      Email: pramsey at refractions.net
      Phone: (250) 885-0632




More information about the postgis-users mailing list