Lists: | Postg토토 핫SQL : Postg토토 핫SQL 메일 링리스트 : 2002-10-08 이후 PGSQL-JDBC 17:32 |
---|
From: | Phuoc Diec <pdiec(at)yahoo(dot)com> |
---|---|
To: | pgsql-jdbc(at)postgresql(dot)org |
Subject: | ERROR compiling JDBC 7.3 b2 with JDK1.4.1 |
Date: | 2002-10-08 17:32:46 |
Message-ID: | 20021008173246.93259.qmail@web11602.mail.yahoo.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | Postg토토 핫SQL : Postg토토 핫SQL 메일 링리스트 : 2002-10-08 이후 PGSQL-JDBC 17:32 |
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
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 |
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