Re: Cannot build JDBC driver for PostgreSQL 7.12 on NT - Mailing list pgsql-cygwin

From Jason Tishler
Subject Re: Cannot build JDBC driver for PostgreSQL 7.12 on NT
Date
Msg-id 20010604113855.A188@dothill.com
Whole thread Raw
In response to Cannot build JDBC driver for PostgreSQL 7.12 on NT  (Pat Hardy <pat@phardy.com>)
Responses Re: Cannot build JDBC driver for PostgreSQL 7.12 on NT
List pgsql-cygwin
Pat,

On Sun, Jun 03, 2001 at 10:58:08PM -0400, Pat Hardy wrote:
> 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.

Sorry, but I have no idea why you are having build problems but the
following in Driver.java is very suspicious:

    [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};

When I grep through my Driver.java, I cannot find any occurrences
of ${major} or ${minor}.  I believe that they should be 7 and 1,
respectively.  Somehow your configure/make went awry.

Nevertheless, why don't you just use the Cygwin PostgreSQL 7.1.2
distribution that contains a pre-built postgresql.jar?  You find
postgresql-7.1.2-1.tar.gz on a Cygwin mirror:

    http://www.cygwin.com/mirrors.html

Jason

--
Jason Tishler
Director, Software Engineering       Phone: 732.264.8770 x235
Dot Hill Systems Corp.               Fax:   732.264.8798
82 Bethany Road, Suite 7             Email: Jason.Tishler@dothill.com
Hazlet, NJ 07730 USA                 WWW:   http://www.dothill.com

pgsql-cygwin by date:

Previous
From: Pat Hardy
Date:
Subject: Cannot build JDBC driver for PostgreSQL 7.12 on NT
Next
From: Jason Tishler
Date:
Subject: Re: PostgreSQL on Win98+Cygwin