Re: ERROR compiling JDBC 7.3 b2 with JDK1.4.1

Поиск
Список
Период
Сортировка
От rfr
Тема Re: ERROR compiling JDBC 7.3 b2 with JDK1.4.1
Дата
Msg-id 3DA32969.5030007@inter-land.net
обсуждение исходный текст
Ответ на ERROR compiling JDBC 7.3 b2 with JDK1.4.1  (Phuoc Diec <pdiec@yahoo.com>)
Список 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 по дате отправления:

Предыдущее
От: Phuoc Diec
Дата:
Сообщение: ERROR compiling JDBC 7.3 b2 with JDK1.4.1
Следующее
От: "Julian Brown"
Дата:
Сообщение: I am totally lost