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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-cygwin by date

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