You need to run configure first (with the --with-java option) first,
before building the driver.
--Barry
Grant Edwards wrote:
> Hi,
>
> Need a bit of help please, some config stuff first followed by the error.
> Any info will be greatly appreciated emails can be sent to
> [EMAIL PROTECTED] or [EMAIL PROTECTED]
>
> Regards
>
> Grant Edwards
>
>
> * postgresql-7.1.3
>
> * java version "1.3.0_01"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0_01)
> Java HotSpot(TM) Client VM (build 1.3.0_01, mixed mode)
>
> * Ant version 1.3 compiled on March 2 2001
>
> * uname -a ------> Linux eve 2.2.16 #1 Wed Aug 2 20:22:26 GMT
> 2000 i686 unknown
>
> * JAVA_HOME=/usr/local/jdk1.3.0_01
>
>
> And now for the error :
>
> eve-/usr/local/postgresql-7.1.3> ant
> Buildfile: build.xml
>
> jar:
>
> call:
>
> prepare:
>
> check_versions:
>
> driver:
> [echo] Configured build for the JDBC2 edition driver.
>
> compile:
> [javac] Compiling 52 source files to
> /usr/local/postgresql-7.1.3/src/interfaces/jdbc/build
> [javac]
> /usr/local/postgresql-7.1.3/src/interfaces/jdbc/org/postgresql/Driver.java:1
> 99: ';' expected
> [javac] return ${major};
> [javac] ^
> [javac]
> /usr/local/postgresql-7.1.3/src/interfaces/jdbc/org/postgresql/Driver.java:2
> 09: ';' expected
> [javac] return ${minor};
> [javac] ^
> [javac]
> /usr/local/postgresql-7.1.3/src/interfaces/jdbc/org/postgresql/Driver.java:1
> 99: cannot resolve symbol
> [javac] symbol : variable $
> [javac] location: class org.postgresql.Driver
> [javac] return ${major};
> [javac] ^
> [javac]
> /usr/local/postgresql-7.1.3/src/interfaces/jdbc/org/postgresql/Driver.java:2
> 09: 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/postgresql-7.1.3/src/interfaces/jdbc/build.xml:99: Compile
> failed, messages should have been provided.
>
> Total time: 8 seconds
>
>
>> App Developer / Informix DBA
>> address: 4 Buckingham Gate, London SW1E 6JP
>> tel: +44 (0)20 7802 4348 fax: +44 (0)20 7802 9420
>> email: [EMAIL PROTECTED]
>>internet:http://www.lastminute.com/
>> do something lastminute.com
>>
>>
>>
>
>
> ------------------------------
>
> This e-mail is intended for the named addressee only. It may contain confidential
>and/or privileged information. If you have received this message in error, please
>let us know and then delete this message from your system. You should not copy the
>message, use it for any purpose or disclose its contents to anyone.
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]
>
>
---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]