Re: ERROR compiling JDBC 7.3 b2 with JDK1.4.1 - Mailing list pgsql-jdbc

From rfr
Subject Re: ERROR compiling JDBC 7.3 b2 with JDK1.4.1
Date
Msg-id 3DA32969.5030007@inter-land.net
Whole thread Raw
In response to ERROR compiling JDBC 7.3 b2 with JDK1.4.1  (Phuoc Diec <pdiec@yahoo.com>)
List pgsql-jdbc
Phuoc Diec wrote:

>Hello,
>
>I had a problem when compiling JDBC 7.3 beta 2 with
>JDK1.4.1. I used ANT 1.5. Below is the error message:
>
>compile:
>    [javac] Compiling 52 source files to
>/home/bubba/postgresql-7.3b2/src/interfaces/jdbc/build
>    [javac]
>/home/bubba/postgresql-7.3b2/src/interfaces/jdbc/org/postgresql/Driver.java:196:
>';' expected
>    [javac]             return ${major};
>    [javac]                         ^
>    [javac]
>/home/bubba/postgresql-7.3b2/src/interfaces/jdbc/org/postgresql/Driver.java:206:
>';' expected
>    [javac]             return ${minor};
>    [javac]                         ^
>    [javac]
>/home/bubba/postgresql-7.3b2/src/interfaces/jdbc/org/postgresql/Driver.java:196:
>cannot resolve symbol
>    [javac] symbol  : variable $
>    [javac] location: class org.postgresql.Driver
>    [javac]             return ${major};
>    [javac]                        ^
>    [javac]
>/home/bubba/postgresql-7.3b2/src/interfaces/jdbc/org/postgresql/Driver.java:206:
>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
>
>Can you help me to compile this driver?
>
>Thank you,
>
>Phuoc Diec
>
>
>__________________________________________________
>Do you Yahoo!?
>Faith Hill - Exclusive Performances, Videos & More
>http://faith.yahoo.com
>
>---------------------------(end of broadcast)---------------------------
>TIP 6: Have you searched our list archives?
>
>http://archives.postgresql.org
>
>
I think you have tried to compile the driver without making a configure
in the postgres top-level directory. Do a make clean in the jdbc
directory then

./configure --with-java in the postgres top-level dir then, only, you
can go in the jdbc directory to do a make.

Regards,

Fred



pgsql-jdbc by date:

Previous
From: Phuoc Diec
Date:
Subject: ERROR compiling JDBC 7.3 b2 with JDK1.4.1
Next
From: "Julian Brown"
Date:
Subject: I am totally lost