Обсуждение: Compiling 7.1 JDBC driver

Поиск
Список
Период
Сортировка

Compiling 7.1 JDBC driver

От
Jan Ploski
Дата:
Hi,

I just checked out 7.1 from CVS and am trying to compile the JDBC driver:

[javac] /home/jpl/pgsql/src/interfaces/jdbc/org/postgresql/Driver.java:199: ';' expected
[javac]     return ${major};
[javac]             ^


It looks like there are (CVS?) tags in the Java source code which should
be resolved to real version strings somehow. However, the README doesn't
mention this altogether. Can I replace those with correct substitutes
in some smart way instead of editing and "fixing" the driver's code manually?

Thanks -
JPL

Re: Compiling 7.1 JDBC driver

От
Jan Ploski
Дата:
On Wed, Mar 14, 2001 at 09:09:33PM +0100, Jan Ploski wrote:
> Hi,
>
> I just checked out 7.1 from CVS and am trying to compile the JDBC driver:

yeah right, next time I configure it --with-java and it'll be fine ;-)

-JPL

Re: Compiling 7.1 JDBC driver

От
Peter Eisentraut
Дата:
Jan Ploski writes:

> Hi,
>
> I just checked out 7.1 from CVS and am trying to compile the JDBC driver:
>
> [javac] /home/jpl/pgsql/src/interfaces/jdbc/org/postgresql/Driver.java:199: ';' expected
> [javac]     return ${major};
> [javac]             ^

You should run './configure --with-java' and use 'make' and 'make
install'.  Running Ant directly doesn't work.  Yeah, the README needs to
be updated.

--
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/