Re: Compiling 7.2.1 with JDBC-Support fails - help needed

Поиск
Список
Период
Сортировка
От snpe
Тема Re: Compiling 7.2.1 with JDBC-Support fails - help needed
Дата
Msg-id 200208292222.06241.snpe@snpe.co.yu
обсуждение исходный текст
Ответ на Compiling 7.2.1 with JDBC-Support fails - help needed  (Ralph Graulich <maillist@shauny.de>)
Список pgsql-general
You don't compile jdbc with jdk 1.4.0 in 7.2 release
Tahat is possible in 7.3dev release
regards
haris peco
On Thursday 29 August 2002 04:49 pm, Ralph Graulich wrote:
> 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/XAConnectio
>nImpl.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/ClientConne
>ction.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 ...
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)


В списке pgsql-general по дате отправления:

Предыдущее
От: "Peter E. Chen"
Дата:
Сообщение: Question Regarding Geometric Operators/Function . . .
Следующее
От: Bruno Wolff III
Дата:
Сообщение: Re: Question Regarding Geometric Operators/Function . . .