Compiling 7.1 JDBC driver

Started by Jan Ploskiabout 25 years ago3 messagesgeneral
Jump to latest
#1Jan Ploski
jpljpl@gmx.de

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

#2Jan Ploski
jpljpl@gmx.de
In reply to: Jan Ploski (#1)
Re: Compiling 7.1 JDBC driver

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

#3Peter Eisentraut
peter_e@gmx.net
In reply to: Jan Ploski (#1)
Re: Compiling 7.1 JDBC driver

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/