Newbie, just starting - Mailing list pgsql-jdbc

From Tim Pizey
Subject Newbie, just starting
Date
Msg-id 02050100595100.01387@linux
Whole thread Raw
Responses Re: Newbie, just starting
List pgsql-jdbc
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.

pgsql-jdbc by date:

Previous
From: Thomas O'Dowd
Date:
Subject: Re: I'm reading the source now...
Next
From: Dave Cramer
Date:
Subject: Re: Newbie, just starting