From: | Peter Mount <peter(at)retep(dot)org(dot)uk> |
---|---|
To: | Nat Howard <nrh(at)pupworks(dot)com>, pgsql-bugs(at)postgresql(dot)org |
Subject: | Re: jdbc1 compile problem still present in beta5 (java 1.1.8/freebsd 4.2-STABLE) |
Date: | 2001-03-01 21:12:15 |
Message-ID: | 5.0.2.1.0.20010301211011.00a6b1a0@mail.retep.org.uk |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
At 10:23 01/03/01 -0500, Nat Howard wrote:
>Also, there's one I don't remember involving PGclob.java -- perhaps it's new?
There's a few JDBC1.2/JDK1.1 problems in there, but I can't fix until I get
JDK1.1.8 reinstalled here.
PGclob is new for the JDBC2.x driver, so the build.xml file is missing an
exclude tag for it with pre Java2 vm's.
Work around: find the line excluding PGblob, duplicate it and replace blob
with clob on one of those lines. That should fix the build problem.
Peter
>This is with Java SDK 1.1.8 on freebsd
>uname -a:
>FreeBSD spot.pupworks.com 4.2-STABLE FreeBSD 4.2-STABLE #2: Sat Feb 17
>15:53:06 EST 2001 nrh(at)spot(dot)pupworks(dot)com:/usr/obj/usr/src/sys/SPOT i386
>
>Here's the result of "ant" in the top-level directory
>
>Searching for build.xml ...
>Buildfile: /usr/home/nrh/b5/postgresql-7.1beta5/build.xml
>
>jar:
>
>call:
>
>prepare:
>
>check_versions:
>
>driver:
>Configured build for the JDBC1 edition driver.
>
>compile:
> [javac] Compiling 2 source files to
> /usr/home/nrh/b5/postgresql-7.1beta5/src/interfaces/jdbc/build
> [javac]
> /usr/home/nrh/b5/postgresql-7.1beta5/src/interfaces/jdbc/org/postgresql/jdbc1/Statement.java:291:
> Missing term.
> [javac] if (result != null) &&
> ((org.postgresql.ResultSet)result.reallyResultSet())
> [javac] ^
> [javac]
> /usr/home/nrh/b5/postgresql-7.1beta5/src/interfaces/jdbc/org/postgresql/jdbc1/Statement.java:291:
> Invalid expression statement.
> [javac] if (result != null) &&
> ((org.postgresql.ResultSet)result.reallyResultSet())
> [javac] ^
> [javac]
> /usr/home/nrh/b5/postgresql-7.1beta5/src/interfaces/jdbc/org/postgresql/jdbc1/Statement.java:291:
> ';' expected.
> [javac] if (result != null) &&
> ((org.postgresql.ResultSet)result.reallyResultSet())
> [javac]
> ^
> [javac]
> /usr/home/nrh/b5/postgresql-7.1beta5/src/interfaces/jdbc/org/postgresql/largeobject/PGclob.java:26:
> Interface java.sql.Clob of class org.postgresql.largeobject.PGclob not found.
> [javac] public class PGclob implements java.sql.Clob
> [javac] ^
> [javac] 4 errors
>
>BUILD FAILED
>
>/usr/home/nrh/b5/postgresql-7.1beta5/src/interfaces/jdbc/build.xml:99:
>Compile failed, messages should have been provided.
>
>Total time: 4 seconds
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Mount | 2001-03-01 21:13:59 | Re: select problem |
Previous Message | pgsql-bugs | 2001-03-01 18:37:49 | select problem |