Re: Newbie, just starting

From: Dave Cramer <Dave(at)micro-automation(dot)net>
To: Tim Pizey <timp(at)paneris(dot)org>
Cc: "pgsql-jdbc(at)postgresql(dot)org" <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Newbie, just starting
Date: 2002-05-01 02:24:40
Message-ID: 1020219880.2004.30.camel@inspiron.cramers
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Tim,

If you do an ant clean in the jdbc directory, and then do an ant
It should work, the first one created a file without the information,
but now that you have done the configure it will work.

If all else fails you can use the command

ant -Dmajor=7 -Dminor=2 -Dfullversion=7.2development -Ddef_pgport=5432

and that will build the jar
On Tue, 2002-04-30 at 20:59, Tim Pizey wrote:
> Hi,
>
> I have only been on this list a short while.
>
> I am trying to get to grips with the jdbc driver,
> and to this end have downloaded the cvs tree,
> built the latest version of pgsql and am trying to build
> the driver.
>
> Initaillay I did
> cd /inst/pgsql/src/interfaces/jdbc
> ant
>
> but this gave me the error given below,
> so I tried cd /inst/pgsql
> ./configure --with-java --without-readline
> gmake
>
> it gave the same error,
> I am using SuSE Linux 7.2 and jdk 1.3
>
>
> Thanks for any advice.
> timp
>
>
> driver:
> [echo] Configured build for the JDBC2 edition driver
>
> compile:
> [javac] Compiling 62 source files to
> /usr/local/packages/inst/pgsql/src/interfaces/jdbc/build
> [javac]
> /usr/local/packages/inst/pgsql/src/interfaces/jdbc/org/postgresql/Driver.java:236:
> ';' expected
> [javac] return ${major};
> [javac] ^
> [javac]
> /usr/local/packages/inst/pgsql/src/interfaces/jdbc/org/postgresql/Driver.java:246:
> ';' expected
> [javac] return ${minor};
> [javac] ^
> [javac]
> /usr/local/packages/inst/pgsql/src/interfaces/jdbc/org/postgresql/Driver.java:236:
> cannot resolve symbol
> [javac] symbol : variable $
> [javac] location: class org.postgresql.Driver
> [javac] return ${major};
> [javac] ^
> [javac]
> /usr/local/packages/inst/pgsql/src/interfaces/jdbc/org/postgresql/Driver.java:246:
> cannot resolve symbol
> [javac] symbol : variable $
> [javac] location: class org.postgresql.Driver
> [javac] return ${minor};
> [javac] ^
> [javac] Note: Some input files use or override a deprecated API.
> [javac] Note: Recompile with -deprecation for details.
> [javac] 4 errors
>
> BUILD FAILED
>
> /usr/local/packages/inst/pgsql/src/interfaces/jdbc/build.xml:91: Compile
> failed, messages should have been provided.
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org
>
>

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2002-05-01 02:27:00 Re: I'm reading the source now...
Previous Message Tim Pizey 2002-05-01 00:59:51 Newbie, just starting