Hello,
When building Postgres 7.1.2, I compile the JDBC drivers. During
the compilation, I'm getting lots of errors. Can anyone tell me how I
can fix this? Please see the results of my compilation below.
Thanks.
= = = = = = =
make[3]: Entering directory `/cygdrive/c/postgresql-
7.1.2/src/interfaces/jdbc'
/cygdrive/c/ant/bin/ant -buildfile ../../../build.xml -Dmajor=7 -
Dminor=1 -Dful
version=7.1.2 -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 C:\postgresql-
7.1.2\src\interfaces\jdb
\build
[javac] C:\postgresql-
7.1.2\src\interfaces\jdbc\org\postgresql\Driver.java:
99: ';' expected
[javac] return ${major};
[javac] ^
[javac] C:\postgresql-
7.1.2\src\interfaces\jdbc\org\postgresql\Driver.java:
09: ';' expected
[javac] return ${minor};
[javac] ^
[javac] C:\postgresql-
7.1.2\src\interfaces\jdbc\org\postgresql\Driver.java:
99: cannot resolve symbol
[javac] symbol : variable $
[javac] location: class org.postgresql.Driver
[javac] return ${major};
[javac] ^
[javac] C:\postgresql-
7.1.2\src\interfaces\jdbc\org\postgresql\Driver.java:
09: 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
C:\postgresql-7.1.2\src\interfaces\jdbc\build.xml:99: Compile failed,
messages
hould have been provided.
Total time: 5 seconds
make[3]: *** [all] Error 1
make[3]: Leaving directory `/cygdrive/c/postgresql-
7.1.2/src/interfaces/jdbc'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/cygdrive/c/postgresql-
7.1.2/src/interfaces'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/cygdrive/c/postgresql-7.1.2/src'
make: *** [all] Error 2
/cygdrive/c/postgresql-7.1.2#