dear all,

unfortunately the jdbc1 driver can't be compiled.
there are several errors popping up when compiling --with-java and also 
when i try to compile the jdbc interface individually:

i already figured out two mistypings in the file in 

1. in the first line peter wrote 'nackage' instead of 'package'
2. on line 291 peter wrote
if (result != null && ((org.postgresql.ResultSet)result.reallyResultSet())
instead of
if (result != null && ((org.postgresql.ResultSet)result).reallyResultSet())

but after correcting these misspellings i still got error messages that 
i couldn't correct any more with my limited knowledge of java:

/prog/ant/bin/ant -buildfile ../../../build.xml -Dmajor=7 -Dminor=1 
-Dfullversion=7.1 -Ddef_pgport=5432
Buildfile: ../../../build.xml





      [echo] Configured build for the JDBC1 edition driver.

      [copy] Copying 4 files to 

     [javac] Compiling 1 source file to 
Class example.Blob not found in type declaration.
     [javac]             Blob b = rs.getBlob("a");
     [javac]             ^
Method getBlob(java.lang.String) not found in interface java.sql.ResultSet.
     [javac]             Blob b = rs.getBlob("a");
     [javac]                                ^
     [javac] 2 errors


Compile failed, messages should have been provided.

Total time: 2 seconds
gmake[3]: *** [all] Error 1
gmake[3]: Leaving directory 
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/disk/raid2/SRC/postgresql-7.1/src/interfaces'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/disk/raid2/SRC/postgresql-7.1/src'
gmake: *** [all] Error 2

can anybody help me along, or could peter put the jar package of the 
jdbc1 on his web-site, please.

if someone would send me the jar-package by mail, i would be happy also 

thanks for your help,

mark rosa

ps: btw. i tried this both on redhat-linux7.1 (java version "1.1.8") and 
irix6.5.9m (java version "3.2 (Sun 1.1.8)")

Mark Rosa - Dipl. Arch. ETH
Etekt Inc.                                co-create your home
phone: ++41-1-4462-406              www:
mobile: ++41-76-390 06 37           fax: ++49-89-244 35 64 08
email: [EMAIL PROTECTED]       www:

The information transmitted is intended only for the person
or entity to which it is addressed and may contain confi-
dential and/or privileged material. Any review, retrans-
mission, dissemination or other use of, or taking of any
action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited.
If you received this in error, please contact the sender and
delete the material from any computer.

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to [EMAIL PROTECTED] so that your
message can get through to the mailing list cleanly

Reply via email to