JDBC driver in pgsql 7.1 build problem
JDBC driver in pgsql 7.1 build problem
От:
Rolf Schillinger <rolf@sir-wum.de>
Дата:
Hi,
I have strange problems trying to build the JDBC driver for postgresql
7.1:
/usr/local/jakarta-ant-1.3/bin//ant -buildfile ../../../build.xml
-Dmajor=7 -Dminor=1 -Dfullversion=7.1 -Ddef_pgport=5432
Buildfile: ../../../build.xml
jar:
call:
prepare:
check_versions:
driver:
[echo] Configured build for the JDBC2 edition driver.
compile:
[javac] Compiling 41 source files to
/usr/src/postgresql-7.1/src/interfaces/jdbc/build
[javac]
/usr/src/postgresql-7.1/src/interfaces/jdbc/org/postgresql/Driver.java:199: ';'
expected
[javac] return ${major};
[javac] ^
[javac]
/usr/src/postgresql-7.1/src/interfaces/jdbc/org/postgresql/Driver.java:209: ';'
expected
[javac] return ${minor};
[javac] ^
[javac]
/usr/src/postgresql-7.1/src/interfaces/jdbc/org/postgresql/Driver.java:199: cannot
resolve symbol
[javac] symbol : variable $
[javac] location: class org.postgresql.Driver
[javac] return ${major};
[javac] ^
[javac]
/usr/src/postgresql-7.1/src/interfaces/jdbc/org/postgresql/Driver.java:209: cannot
resolve symbol
[javac] symbol : variable $
[javac] location: class org.postgresql.Driver
[javac] return ${minor};
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -deprecation for details.
[javac] 4 errors
BUILD FAILED
/usr/src/postgresql-7.1/src/interfaces/jdbc/build.xml:99: Compile failed,
messages should have been provided.
Total time: 9 seconds
make: *** [all] Error 1
Any help would be greatly appreciated
bis bald, Rolf
Re: JDBC driver in pgsql 7.1 build problem
От:
Marko Kreen <marko@l-t.ee>
Дата:
On Thu, May 03, 2001 at 11:35:23AM +0200, Rolf Schillinger wrote: > Hi, > I have strange problems trying to build the JDBC driver for postgresql > 7.1: try this patch: http://www.l-t.ee/marko/pgsql/ant12.diff then 'make clean', 'make' -- marko