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

From Pat Hardy
Subject Re: Cannot build JDBC driver for PostgreSQL 7.12 on NT
Date
Msg-id 3B1BFDF4.3343.316EE9C@localhost
Whole thread Raw
In response to Re: Cannot build JDBC driver for PostgreSQL 7.12 on NT  (Jason Tishler <Jason.Tishler@dothill.com>)
List pgsql-cygwin
On 4 Jun 2001, at 11:38, Jason Tishler wrote:

> 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
>

I did a "./configure --with-java" followed by a "make" and that's what
happened. I'll try one more time. If it doesn't work, I'll look for the
JAR file you mentioned.

Thanks.

>



pgsql-cygwin by date:

Previous
From: Rishi Sharma
Date:
Subject: RE: RE: postgresql 7.0 for NT
Next
From: Jason Tishler
Date:
Subject: Re: Fwd: building the client libraries with gcc?