Re: Cannot build JDBC driver for PostgreSQL 7.12 on NT

From: Pat Hardy <pat(at)phardy(dot)com>
To: Jason Tishler <Jason(dot)Tishler(at)dothill(dot)com>
Cc: pgsql-cygwin(at)postgresql(dot)org
Subject: Re: Cannot build JDBC driver for PostgreSQL 7.12 on NT
Date: 2001-06-05 01:30:28
Message-ID: 3B1BFDF4.3343.316EE9C@localhost
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(dot)Tishler(at)dothill(dot)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.

>

In response to

Responses

Browse pgsql-cygwin by date

  From Date Subject
Next Message Jason Tishler 2001-06-05 15:49:45 Re: Fwd: building the client libraries with gcc?
Previous Message Rishi Sharma 2001-06-04 23:34:21 RE: RE: postgresql 7.0 for NT