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)")


"When I'm working on a problem, I never think about beauty.
  I think only how to solve the problem.
  But when I have finished, if the solution is not beautiful,
  I know it is wrong."
                                  - Richard Buckminster Fuller

Mark Rosa - Dipl. Arch. ETH
YourCell.Net                    (occupy your cell on the net)
email: [EMAIL PROTECTED]         www:
mobile: ++41-76-390 06 37           fax: ++49-89-244 35 64 08
email: [EMAIL PROTECTED]    www:

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]

Reply via email to