Compilar PostgreSQL con soporte para Java

From: Carlos Agustín L(dot) Avila <informatica(at)cugs(dot)edu(dot)mx>
To: <pgsql-es-ayuda(at)postgresql(dot)org>
Subject: Compilar PostgreSQL con soporte para Java
Date: 2004-05-13 17:37:41
Message-ID: DLEFIMFHFBPIIIGKJEAHIEAOCCAA.informatica@cugs.edu.mx
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

Estoy tratando de instalar PostgreSQL con soporte para Java y para OpenSSL,
pero al momento de ejecutar make me envia una serie de errores:

#
./configure --with-tcl --with-perl --with-pam --with-krb5=/usr/kerberos --wi
th-java --with-openssl=/usr
# make

Utilizamos WitheBox.

compile:
[javac] Compiling 77 source files to
/sistemas/whitebox/postgresql/postgresql-7.4.2/src/interfaces/jdbc/build
[javac]
/sistemas/whitebox/postgresql/postgresql-7.4.2/src/interfaces/jdbc/org/postg
resql/jdbc3/Jdbc3Statement.java:28: error: Invalid checked exception class
`java.sql.SQLException' in `throws' clause. The exception must be a subclass
of an exception thrown by
`org.postgresql.jdbc1.AbstractJdbc1Statement.createRefCursorResultSet(java.l
ang.String)' from class `org.postgresql.jdbc1.AbstractJdbc1Statement'.
[javac] public PGRefCursorResultSet createRefCursorResultSet
(String cursorName) throws SQLException
[javac] ^
[javac]
/sistemas/whitebox/postgresql/postgresql-7.4.2/src/interfaces/jdbc/org/postg
resql/jdbc3/Jdbc3PreparedStatement.java:23: error: Invalid checked exception
class `java.sql.SQLException' in `throws' clause. The exception must be a
subclass of an exception thrown by
`org.postgresql.jdbc1.AbstractJdbc1Statement.createRefCursorResultSet(java.l
ang.String)' from class `org.postgresql.jdbc1.AbstractJdbc1Statement'.
[javac] public PGRefCursorResultSet createRefCursorResultSet
(String cursorName) throws SQLException
[javac] ^
[javac]
/sistemas/whitebox/postgresql/postgresql-7.4.2/src/interfaces/jdbc/org/postg
resql/jdbc3/Jdbc3PoolingDataSource.java:29: error: Method
`org.postgresql.jdbc2.optional.PoolingDataSource.getDataSource(java.lang.Str
ing)' was defined with return type
`org.postgresql.jdbc2.optional.PoolingDataSource' in class
`org.postgresql.jdbc2.optional.PoolingDataSource'.
[javac] static Jdbc3PoolingDataSource getDataSource(String name)
[javac] ^
[javac]
/sistemas/whitebox/postgresql/postgresql-7.4.2/src/interfaces/jdbc/org/postg
resql/jdbc3/Jdbc3CallableStatement.java:23: error: Invalid checked exception
class `java.sql.SQLException' in `throws' clause. The exception must be a
subclass of an exception thrown by
`org.postgresql.jdbc1.AbstractJdbc1Statement.createRefCursorResultSet(java.l
ang.String)' from class `org.postgresql.jdbc1.AbstractJdbc1Statement'.
[javac] public PGRefCursorResultSet createRefCursorResultSet
(String cursorName) throws SQLException
[javac] ^
[javac] 4 errors

Por otra parte ¿Cúal es el directorio por defecto donde se instala OpenSSL
en WhiteBox?

Por la valiosa ayuda, gracias.
El Becerro.

Responses

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message nahum castro 2004-05-13 20:30:51 Re: Compilar PostgreSQL con soporte para Java
Previous Message Alvaro Herrera 2004-05-13 13:29:40 Re: Problema al migrar de MySQL a PostgreSQL