[postgis-users] bugs in postgis-1.0RC2 with postgres 7.2.1
alex bodnaru
alexbodn at 012.net.il
Mon Feb 7 20:01:44 PST 2005
hi markus,
thanks for your prompt response.
included is a file with my javac complains.
tommorow i will investigate my precise environment.
best regards,
alex
-------------- next part --------------
dh_testdir
# Add here commands to compile the package.
/usr/bin/make USE_GEOS=1 GEOS_DIR=/usr USE_PROJ=1 PROJ_DIR=/usr PGSQL_SRC=/common/src/postgis/postgis-cvs/debian/pgsql72_src
make[1]: Entering directory `/common/src/postgis/postgis-cvs'
/usr/bin/make -C lwgeom
make[2]: Entering directory `/common/src/postgis/postgis-cvs/lwgeom'
sh ../geos_version.sh /usr > postgis_geos_version.h
make[2]: Leaving directory `/common/src/postgis/postgis-cvs/lwgeom'
/usr/bin/make -C loader
make[2]: Entering directory `/common/src/postgis/postgis-cvs/loader'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/common/src/postgis/postgis-cvs/loader'
make[1]: Leaving directory `/common/src/postgis/postgis-cvs'
/usr/bin/make USE_GEOS=1 GEOS_DIR=/usr USE_PROJ=1 PROJ_DIR=/usr PGSQL_SRC=/common/src/postgis/postgis-cvs/debian/pgsql72_src -C jdbc2
make[1]: Entering directory `/common/src/postgis/postgis-cvs/jdbc2'
javac -classpath ":src/:/usr/share/java/postgresql.jar" -d bin/make src/examples/Test.java src/examples/TestAutoregister.java src/examples/TestBoxes.java src/examples/TestParser.java src/examples/TestServer.java src/org/postgis/ComposedGeom.java src/org/postgis/DriverWrapper.java src/org/postgis/GeometryCollection.java src/org/postgis/Geometry.java src/org/postgis/LinearRing.java src/org/postgis/LineString.java src/org/postgis/MultiLineString.java src/org/postgis/MultiPoint.java src/org/postgis/MultiPolygon.java src/org/postgis/PGbox2d.java src/org/postgis/PGbox3d.java src/org/postgis/PGgeometry.java src/org/postgis/PointComposedGeom.java src/org/postgis/Point.java src/org/postgis/Polygon.java
Found 1 semantic error compiling "src/org/postgis/PGgeometry.java":
76. srid = Integer.parseInt(t.getToken(0).split("=")[1]);
<---------------------->
*** Error: No method named "split" was found in type "java/lang/String".
Found 2 semantic errors compiling "src/org/postgis/Point.java":
229. throw new AssertionError("Illegal dimension of Point" + this.dimension);
<---------------------------------------------------------------------->
*** Error: The type of the expression in this throw statement, "org/postgis/AssertionError", is not assignable to an exception in the throws clause of the enclosing method or constructor "double distance(org.postgis.Point other);"; nor is it a subclass of RuntimeException or Error.
229. throw new AssertionError("Illegal dimension of Point" + this.dimension);
<------------>
*** Error: Type org/postgis/AssertionError was not found.
Found 1 semantic error compiling "src/org/postgis/PGboxbase.java":
85. String[] temp = value.split(";", 2);
<----------------->
*** Error: No method named "split" was found in type "java/lang/String".
Found 3 semantic errors compiling "src/examples/TestAutoregister.java":
62. throw new AssertionError();
<------------------------->
*** Error: The type of the expression in this throw statement, "examples/AssertionError", is not assignable to an exception in the throws clause of the enclosing method or constructor "void main(java.lang.String[] args);"; nor is it a subclass of RuntimeException or Error.
62. throw new AssertionError();
<------------>
*** Error: Type examples/AssertionError was not found.
66. int major = Integer.parseInt(Driver.getVersion().trim().split(" ")[1].split("\\.")[0]);
<----------------------------------->
*** Error: No method named "split" was found in type "java/lang/String".
Found 2 semantic errors compiling "src/examples/TestBoxes.java":
169. dburls = args[0].split(";");
<---------------->
*** Error: No method named "split" was found in type "java/lang/String".
181. throw new AssertionError();
<------------------------->
*** Error: The type of the expression in this throw statement, "examples/AssertionError", is not assignable to an exception in the throws clause of the enclosing method or constructor "void main(java.lang.String[] args);"; nor is it a subclass of RuntimeException or Error.
Found 2 semantic errors compiling "src/examples/TestParser.java":
171. dburls = args[0].split(";");
<---------------->
*** Error: No method named "split" was found in type "java/lang/String".
183. throw new AssertionError();
<------------------------->
*** Error: The type of the expression in this throw statement, "examples/AssertionError", is not assignable to an exception in the throws clause of the enclosing method or constructor "void main(java.lang.String[] args);"; nor is it a subclass of RuntimeException or Error.
Found 1 semantic error compiling "src/examples/TestServer.java":
66. ((org.postgresql.PGConnection) conn).addDataType("geometry", "org.postgis.PGgeometry");
<---------->
*** Error: Type org/postgresql/PGConnection was not found.
Found 1 semantic error compiling "src/org/postgis/DriverWrapper.java":
72. super();
<------>
*** Error: A constructor associated with this type, "DriverWrapper", does not throw the exception "java/sql/SQLException" thrown by its super type, "org/postgresql/Driver".
make[1]: *** [compile] Error 1
make[1]: Leaving directory `/common/src/postgis/postgis-cvs/jdbc2'
make: *** [build-stamp] Error 2
More information about the postgis-users
mailing list