Skip site navigation (1) Skip section navigation (2)

Re: Cannot build JDBC driver for PostgreSQL 7.12 on NT

From: Jason Tishler <Jason(dot)Tishler(at)dothill(dot)com>
To: Pat Hardy <pat(at)phardy(dot)com>
Cc: pgsql-cygwin(at)postgresql(dot)org
Subject: Re: Cannot build JDBC driver for PostgreSQL 7.12 on NT
Date: 2001-06-04 15:38:55
Message-ID: 20010604113855.A188@dothill.com (view raw or flat)
Thread:
Lists: 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(dot)Tishler(at)dothill(dot)com
Hazlet, NJ 07730 USA                 WWW:   http://www.dothill.com

In response to

Responses

pgsql-cygwin by date

Next:From: Jason TishlerDate: 2001-06-04 15:48:20
Subject: Re: PostgreSQL on Win98+Cygwin
Previous:From: Pat HardyDate: 2001-06-04 02:58:08
Subject: Cannot build JDBC driver for PostgreSQL 7.12 on NT

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group