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

Re: Cannot build JDBC driver for PostgreSQL 7.12 on NT

From: Pat Hardy <pat(at)phardy(dot)com>
To: pgsql-cygwin(at)postgresql(dot)org
Subject: Re: Cannot build JDBC driver for PostgreSQL 7.12 on NT
Date: 2001-06-15 01:54:19
Message-ID: 3B29328B.2968.21331C@localhost (view raw or flat)
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


Thanks. The installation is built and running.

Thanks again.


_______________________________________________________________________
P Hardy Technologies Incorporated
Computer and Internet Consulting Services
PO Box 1024 - Bay Shore, LI, NY 11706-0533               
http://www.phardy.com

In response to

pgsql-cygwin by date

Next:From: Pat HardyDate: 2001-06-15 01:56:41
Subject: Re: Cannot build JDBC driver for PostgreSQL 7.12 on NT
Previous:From: Fred YankowskiDate: 2001-06-14 15:27:51
Subject: Re: Service reboot leaves postmaster.pid

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