Re: ERROR compiling JDBC 7.3 b2 with JDK1.4.1

From: rfr <rfr(at)inter-land(dot)net>
To: Phuoc Diec <pdiec(at)yahoo(dot)com>, pgsql-jdbc(at)postgresql(dot)org
Subject: Re: ERROR compiling JDBC 7.3 b2 with JDK1.4.1
Date: 2002-10-08 18:52:25
Message-ID: 3DA32969.5030007@inter-land.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Mathew McBride 2002-10-08 20:24:48 Exception in thread "main"
Previous Message Phuoc Diec 2002-10-08 17:32:46 ERROR compiling JDBC 7.3 b2 with JDK1.4.1