Compiling 7.2.1 with JDBC-Support fails - help needed - Mailing list pgsql-general

From Ralph Graulich
Subject Compiling 7.2.1 with JDBC-Support fails - help needed
Date
Msg-id Pine.LNX.4.21.0208291644430.21517-100000@shauny.shauny.de
Whole thread Raw
Responses Re: Compiling 7.2.1 with JDBC-Support fails - help needed
Re: Compiling 7.2.1 with JDBC-Support fails - help needed
List pgsql-general
Hi,


after successfully setting up Apache httpd with Jakarta Tomcat JSP-Server,
I want to dive into database access with JDBC. Therefore I need to
recompile postgreSQL. As the compiler run fails, I need help or helpful
hints... if you need any more data, please let me know. TIA

Available
---------
- Jakarta Ant 1.5
- Java 2 SDK 1.4.0-01
- postgreSQL 7.2.1
Intel 586 platform

Configure-Line
--------------
./configure \
--prefix=/home/postgres \
--mandir=/usr/man \
--with-pgport=5432 \
--with-perl \
--with-openssl=/usr/local/ssl \
--enable-odbc \
--enable-syslog \
--enable-locale \
--with-java

make fails with
---------------
make[3]: Entering directory
`/usr/src/postgresql-7.2.1/src/interfaces/jdbc'
/usr/local/jakarta-ant-1.5/bin/ant -buildfile ./build.xml all \
  -Dmajor=7 -Dminor=2 -Dfullversion=7.2.1 -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.
[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
/usr/src/postgresql-7.2.1/src/interfaces/jdbc/build
    [javac]
/usr/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/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
file:/usr/src/postgresql-7.2.1/src/interfaces/jdbc/build.xml:72: Compile
failed; see the compiler error output for details.

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


Kind regards
... Ralph ...


pgsql-general by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: join problem or maybe group :(
Next
From: Thomas O'Dowd
Date:
Subject: Re: BUG?: timestamp without TZ created as timestamp