From: | s0lao(at)netscape(dot)net (S(dot) L(dot)) |
---|---|
To: | 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-06 07:07:17 |
Message-ID: | 0E32028E.55BC8797.00013D13@netscape.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-cygwin |
[...]
> > 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};
> >
I had the same problem when tested the the .jar creation under cygwin.
It seems that the source tree comes with a Driver.java included, which has those statements (magically inserted :). A "make clean" followed by a "make" in src/interfaces/jdbc, solves this error, because in org/postgresql exists a Driver.java.in, which generates the real Driver.java an actual build needs.
The presence of the original Driver.java prevents this generation, leading to the above problem.
Regards,
SLao
__________________________________________________________________
Get your own FREE, personal Netscape Webmail account today at http://webmail.netscape.com/
From | Date | Subject | |
---|---|---|---|
Next Message | S. L. | 2001-06-06 08:18:55 | Re: RE: RE: postgresql 7.0 for NT |
Previous Message | Jason Tishler | 2001-06-05 21:48:39 | Re: Fwd: building the client libraries with gcc? |