JDBC make problem - Mailing list pgsql-admin

From Bogdan Paduraru
Subject JDBC make problem
Date
Msg-id 3A007DE2.8D8EF57B@petar.ro
Whole thread Raw
Responses Re: JDBC make problem
List pgsql-admin
Hello,
I tried to build the JDBC2 driver from Postgresql 7.0.2 distribution
(/src/interfaces/jdbc), but I got errors :
$ make jdbc2 jar

(echo "package org.postgresql;" ;\
 echo "public class DriverClass {" ;\
 echo "public static String
connectClass=\"org.postgresql.jdbc2.Connection\";" ;\
 echo "}" \
) >org/postgresql/DriverClass.java
rm -f postgresql.jar
make[1]: Entering directory
`/usr/src/postgresql-7.0.2/src/interfaces/jdbc'
javac -g org/postgresql/DriverClass.java
javac -g org/postgresql/Connection.java
org/postgresql/Connection.java:7: Class org.postgresql.Field not found
in import.
import org.postgresql.Field;
       ^
org/postgresql/Connection.java:8: Package org.postgresql.fastpath not
found in import.
import org.postgresql.fastpath.*;
       ^
org/postgresql/Connection.java:9: Package org.postgresql.largeobject not
found in import.
import org.postgresql.largeobject.*;
       ^
org/postgresql/Connection.java:10: Package org.postgresql.util not found
in import.
import org.postgresql.util.*;
       ^
4 errors
make[1]: *** [org/postgresql/Connection.class] Error 1
make[1]: Leaving directory
`/usr/src/postgresql-7.0.2/src/interfaces/jdbc'
make: *** [jdbc2] Error 2

Can you help, please?

Bogdan


pgsql-admin by date:

Previous
From: Christian Pauchard
Date:
Subject: set digest
Next
From: "Giovanni Serrato Castillo"
Date:
Subject: Re: pg_hba.conf