On Thu, 23 Jul 1998, Pap Tibor wrote:
> Hi!
>
> I was unable to compile the JDBC driver in the PostgreSQL 6.3.2 source
> tree. I got 21 errors:
>
> ...
> ./postgresql/DatabaseMetaData.java:2058: class postgresql.ResultSet is an
> abstract class. It can't be instantiated.
> return new ResultSet(connection, f, v, "OK", 1);
> ^
> ./postgresql/DatabaseMetaData.java:2433: class postgresql.ResultSet is an
> abstract class. It can't be instantiated.
> return new ResultSet(connection, f, v, "OK", 1);
> ^
> 21 errors
> make: *** [postgresql/CallableStatement.class] Error 1
> #
>
> My CLASSPATH environment variable was:
> # echo $CLASSPATH
> /usr/local/jdk1.1.5/lib/:./
remove the CLASSPATH with:
# unset CLASSPATH
then run make. These errors are caused by javac getting confused by both
the postgresql and java.sql packages
This is covered in the README and in the faq
http://www.retep.org/postgres
--
Peter T Mount peter@retep.org.uk or petermount@earthling.net
Main Homepage: http://www.retep.org.uk
************ Someday I may rebuild this signature completely ;-) ************
Work Homepage: http://www.maidstone.gov.uk Work EMail: peter@maidstone.gov.uk