[postgis-devel] [Fwd: postgis failure on debian woody]

strk at refractions.net strk at refractions.net
Tue Feb 22 03:55:27 PST 2005


After application of the patch, a make in jdbc2 gives the following
error:

jar -cf postgis_debug.jar -C bin . -C . README COPYING_LGPL -C .. COPYING \
-C src .
java.util.zip.ZipException: duplicate entry: examples/
        at java.util.zip.ZipOutputStream.putNextEntry(ZipOutputStream.java:163)
        at java.util.jar.JarOutputStream.putNextEntry(JarOutputStream.java:90)
        at sun.tools.jar.Main.addFile(Main.java:609)
        at sun.tools.jar.Main.create(Main.java:413)
        at sun.tools.jar.Main.run(Main.java:143)
        at sun.tools.jar.Main.main(Main.java:904)
make: *** [postgis_debug.jar] Error 1
make: *** Deleting file `postgis_debug.jar'

I'm on woody, using SUN SDK.

--strk;

On Tue, Feb 22, 2005 at 12:42:49PM +0100, Markus Schaber wrote:
> To keep the diskussion where it belongs...
> 
> Markus
> -- 
> markus schaber | dipl. informatiker
> logi-track ag | rennweg 14-16 | ch 8001 zürich
> phone +41-43-888 62 52 | fax +41-43-888 62 53
> mailto:schabios at logi-track.com | www.logi-track.com

> Date: Tue, 22 Feb 2005 05:19:37 +0200
> From: alex bodnaru <alexbodn at 012.net.il>
> X-Mailer: Evolution 2.0.3
> Subject: postgis failure on debian woody
> To: Markus Schaber <schabios at logi-track.com>
> 
> hi markus,
> 
> i have done the test you sent me. result attached.
> 
> as i see, the c code patches have already been applied. thans.
> 
> attached here is newer versions patch, including a few jdbc2 specific
> ones.
> 
> the compiler on woody is jikes / kaffe, and the interpreter is kaffe.
> on sarge, it is jikes / sablevm and sablevm interpreter.
> 
> p.s. for the make install target in jdbc2, this is not so debian
> specific.
> 
> best regards,
> 
> alex
> 

> java -addclasspath "bin:/usr/share/java/postgresql.jar:src/" examples/VersionPrinter jdbc:postgresql://localhost:5432/jdbc_test postgres guess
> ** PostGIS jdbc client code **
> 	getFullVersion: PostGIS JDBC V1.0.0RC3
> 
> ** PGJDBC Driver **
> 	getVersion: PostgreSQL 7.2 JDBC2
> 	getMajorVersion: 7
> 	getMinorVersion: 2
> 
> ** PostgreSQL Server **
> java.lang.NoSuchMethodError: java/sql/Statement.getResultSetConcurrency()I
> 	at org.postgresql.jdbc2.Connection.getResultSet(source file unknown:line unknown, pc 0x82cfc0e)
> 	at org.postgresql.core.QueryExecutor.execute(source file unknown:line unknown, pc 0x82ca86e)
> 	at org.postgresql.Connection.ExecSQL(source file unknown:line unknown, pc 0x82ae700)
> 	at org.postgresql.jdbc2.Statement.execute(source file unknown:line unknown, pc 0x83160ea)
> 	at org.postgresql.jdbc2.Statement.executeQuery(source file unknown:line unknown, pc 0x8306de2)
> 	at examples.VersionPrinter.getVersionString(VersionPrinter.java:125)
> 	at examples.VersionPrinter.printVersionString(VersionPrinter.java:120)
> 	at examples.VersionPrinter.main(VersionPrinter.java:92)






> _______________________________________________
> postgis-devel mailing list
> postgis-devel at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-devel




More information about the postgis-devel mailing list