Cannot build JDBC driver for PostgreSQL 7.12 on NT

From: Pat Hardy <pat(at)phardy(dot)com>
To: pgsql-cygwin(at)postgresql(dot)org
Subject: Cannot build JDBC driver for PostgreSQL 7.12 on NT
Date: 2001-06-04 02:58:08
Message-ID: 3B1AC100.10572.1683484@localhost
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin

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#

Responses

Browse pgsql-cygwin by date

  From Date Subject
Next Message Jason Tishler 2001-06-04 15:38:55 Re: Cannot build JDBC driver for PostgreSQL 7.12 on NT
Previous Message Jonathan Lonon 2001-06-01 19:30:53 Auto Starting in cygwin