Обсуждение: Compiling 7.1 JDBC driver
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
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
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/