Private Paste: A Secure, Private, Encryptable Pastebin

Paste ID posted at 06/16/2007 02:30:49 PM GMT-8 - Text formatting

Copy Content*Download Text Version

  1. + make -C java/jdbc
  2. make: Entering directory `/usr/src/redhat/BUILD/postgis-1.2.1/java/jdbc'
  3. mkdir -p ./stubbin/
  4. javac -target 1.5 -source 1.5 -d ./stubbin/ stubs/org/postgresql/*.java
  5. touch stubcompile
  6. mkdir -p ./bin
  7. mkdir -p ./bin/org/postgis
  8. cp ../../Version.config ./bin/org/postgis/version.properties
  9. javac -target 1.5 -source 1.5 -classpath "./stubbin/:/usr/share/java/postgresql-jdbc2.jar:./src" -d ./bin ./src/org/postgis/*.java ./src/org/postgis/*/*.java ./src/examples/*.java
  10. ----------
  11. 1. WARNING in ./src/examples/TestJava2d.java (at line 105)
  12. geometries.add(current);
  13. ^^^^^^^^^^^^^^^^^^^^^^^
  14. Type safety: The method add(Object) belongs to the raw type ArrayList. References to generic type ArrayList<E> should be parameterized
  15. ----------
  16. 2. WARNING in ./src/examples/TestJava2d.java (at line 109)
  17. return (Shape[]) geometries.toArray(SHAPEARRAY);
  18. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  19. Type safety: The method toArray(Object[]) belongs to the raw type ArrayList. References to generic type ArrayList<E> should be parameterized
  20. ----------
  21. 2 problems (2 warnings)touch compile
  22. jar -cf postgis.jar -C ./bin org -C ./bin examples -C ./src org/postgresql/driverconfig.properties -C . README COPYING_LGPL -C ../.. COPYING
  23. cp postgis.jar postgis_debug.jar
  24. jar -uf postgis_debug.jar -C ./src org -C ./src examples
  25. cp postgis.jar postgis_1.2.1.jar
  26. cp postgis_debug.jar postgis_debug_1.2.1.jar
  27. mkdir -p jtsbin/
  28. javac -target 1.5 -source 1.5 -classpath "./bin:./stubbin/:/usr/share/java/postgresql-jdbc2.jar:./src" -d jtsbin/ jtssrc/org/postgis/jts/*.java jtssrc/examples/*.java
  29. ----------
  30. 1. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 10)
  31. import com.vividsolutions.jts.geom.Coordinate;
  32. ^^^
  33. The import com cannot be resolved
  34. ----------
  35. 2. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 11)
  36. import com.vividsolutions.jts.geom.CoordinateSequence;
  37. ^^^
  38. The import com cannot be resolved
  39. ----------
  40. 3. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 12)
  41. import com.vividsolutions.jts.geom.Envelope;
  42. ^^^
  43. The import com cannot be resolved
  44. ----------
  45. 4. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 13)
  46. import com.vividsolutions.jts.geom.Geometry;
  47. ^^^
  48. The import com cannot be resolved
  49. ----------
  50. 5. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 14)
  51. import com.vividsolutions.jts.geom.GeometryCollection;
  52. ^^^
  53. The import com cannot be resolved
  54. ----------
  55. 6. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 15)
  56. import com.vividsolutions.jts.geom.GeometryFactory;
  57. ^^^
  58. The import com cannot be resolved
  59. ----------
  60. 7. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 16)
  61. import com.vividsolutions.jts.geom.LineString;
  62. ^^^
  63. The import com cannot be resolved
  64. ----------
  65. 8. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 17)
  66. import com.vividsolutions.jts.geom.LinearRing;
  67. ^^^
  68. The import com cannot be resolved
  69. ----------
  70. 9. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 18)
  71. import com.vividsolutions.jts.geom.Point;
  72. ^^^
  73. The import com cannot be resolved
  74. ----------
  75. 10. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 19)
  76. import com.vividsolutions.jts.geom.Polygon;
  77. ^^^
  78. The import com cannot be resolved
  79. ----------
  80. 11. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 20)
  81. import com.vividsolutions.jts.geom.impl.PackedCoordinateSequence;
  82. ^^^
  83. The import com cannot be resolved
  84. ----------
  85. 12. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 23)
  86. static GeometryFactory fac = new GeometryFactory();
  87. ^^^^^^^^^^^^^^^
  88. GeometryFactory cannot be resolved to a type
  89. ----------
  90. 13. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 23)
  91. static GeometryFactory fac = new GeometryFactory();
  92. ^^^^^^^^^^^^^^^
  93. GeometryFactory cannot be resolved to a type
  94. ----------
  95. 14. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 25)
  96. Geometry geom;
  97. ^^^^^^^^
  98. Geometry cannot be resolved to a type
  99. ----------
  100. 15. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 27)
  101. final static LinearRing[] NOSHELLS = {};
  102. ^^^^^^^^^^
  103. LinearRing cannot be resolved to a type
  104. ----------
  105. 16. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 29)
  106. public JTSShape(Geometry _geom) {
  107. ^^^^^^^^
  108. Geometry cannot be resolved to a type
  109. ----------
  110. 17. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 30)
  111. this.geom = _geom;
  112. ^^^^
  113. geom cannot be resolved or is not a field
  114. ----------
  115. 18. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 34)
  116. this(_geom.getGeometry());
  117. ^^^^^^^^^^^
  118. The method getGeometry() is undefined for the type JtsGeometry
  119. ----------
  120. 19. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 42)
  121. Coordinate c = new Coordinate(x, y);
  122. ^^^^^^^^^^
  123. Coordinate cannot be resolved to a type
  124. ----------
  125. 20. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 42)
  126. Coordinate c = new Coordinate(x, y);
  127. ^^^^^^^^^^
  128. Coordinate cannot be resolved to a type
  129. ----------
  130. 21. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 43)
  131. Point p = fac.createPoint(c);
  132. ^^^^^
  133. Point cannot be resolved to a type
  134. ----------
  135. 22. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 43)
  136. Point p = fac.createPoint(c);
  137. ^^^
  138. fac cannot be resolved
  139. ----------
  140. 23. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 44)
  141. return geom.contains(p);
  142. ^^^^
  143. geom cannot be resolved
  144. ----------
  145. 24. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 52)
  146. Polygon p = createRect(x, y, w, h);
  147. ^^^^^^^
  148. Polygon cannot be resolved to a type
  149. ----------
  150. 25. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 52)
  151. Polygon p = createRect(x, y, w, h);
  152. ^^^^^^^^^^
  153. The method createRect(double, double, double, double) is undefined for the type JTSShape
  154. ----------
  155. 26. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 53)
  156. return geom.contains(p);
  157. ^^^^
  158. geom cannot be resolved
  159. ----------
  160. 27. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 56)
  161. protected Polygon createRect(double x, double y, double w, double h) {
  162. ^^^^^^^
  163. Polygon cannot be resolved to a type
  164. ----------
  165. 28. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 58)
  166. PackedCoordinateSequence shell = new PackedCoordinateSequence.Double(arr, 2);
  167. ^^^^^^^^^^^^^^^^^^^^^^^^
  168. PackedCoordinateSequence cannot be resolved to a type
  169. ----------
  170. 29. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 58)
  171. PackedCoordinateSequence shell = new PackedCoordinateSequence.Double(arr, 2);
  172. ^^^^^^^^^^^^^^^^^^^^^^^^
  173. PackedCoordinateSequence cannot be resolved to a type
  174. ----------
  175. 30. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 59)
  176. Polygon p = fac.createPolygon(fac.createLinearRing(shell), NOSHELLS);
  177. ^^^^^^^
  178. Polygon cannot be resolved to a type
  179. ----------
  180. 31. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 59)
  181. Polygon p = fac.createPolygon(fac.createLinearRing(shell), NOSHELLS);
  182. ^^^
  183. fac cannot be resolved
  184. ----------
  185. 32. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 59)
  186. Polygon p = fac.createPolygon(fac.createLinearRing(shell), NOSHELLS);
  187. ^^^
  188. fac cannot be resolved
  189. ----------
  190. 33. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 59)
  191. Polygon p = fac.createPolygon(fac.createLinearRing(shell), NOSHELLS);
  192. ^^^^^^^^
  193. NOSHELLS cannot be resolved
  194. ----------
  195. 34. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 64)
  196. Envelope env = geom.getEnvelopeInternal();
  197. ^^^^^^^^
  198. Envelope cannot be resolved to a type
  199. ----------
  200. 35. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 64)
  201. Envelope env = geom.getEnvelopeInternal();
  202. ^^^^
  203. geom cannot be resolved
  204. ----------
  205. 36. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 75)
  206. return getPathIterator(geom, at);
  207. ^^^^
  208. geom cannot be resolved
  209. ----------
  210. 37. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 89)
  211. Polygon p = createRect(x, y, w, h);
  212. ^^^^^^^
  213. Polygon cannot be resolved to a type
  214. ----------
  215. 38. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 89)
  216. Polygon p = createRect(x, y, w, h);
  217. ^^^^^^^^^^
  218. The method createRect(double, double, double, double) is undefined for the type JTSShape
  219. ----------
  220. 39. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 90)
  221. return geom.intersects(p);
  222. ^^^^
  223. geom cannot be resolved
  224. ----------
  225. 40. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 93)
  226. public static GeometryPathIterator getPathIterator(Geometry geometry, AffineTransform _at) {
  227. ^^^^^^^^
  228. Geometry cannot be resolved to a type
  229. ----------
  230. 41. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 94)
  231. if (geometry instanceof Point) {
  232. ^^^^^
  233. Point cannot be resolved to a type
  234. ----------
  235. 42. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 95)
  236. return new PointPathIterator((Point) geometry, _at);
  237. ^^^^^
  238. Point cannot be resolved to a type
  239. ----------
  240. 43. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 96)
  241. } else if (geometry instanceof LineString) {
  242. ^^^^^^^^^^
  243. LineString cannot be resolved to a type
  244. ----------
  245. 44. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 97)
  246. return new LineStringPathIterator((LineString) geometry, _at);
  247. ^^^^^^^^^^
  248. LineString cannot be resolved to a type
  249. ----------
  250. 45. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 98)
  251. } else if (geometry instanceof Polygon) {
  252. ^^^^^^^
  253. Polygon cannot be resolved to a type
  254. ----------
  255. 46. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 99)
  256. return new PolygonPathIterator((Polygon) geometry, _at);
  257. ^^^^^^^
  258. Polygon cannot be resolved to a type
  259. ----------
  260. 47. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 101)
  261. return new GeometryCollectionPathIterator((GeometryCollection) geometry, _at);
  262. ^^^^^^^^^^^^^^^^^^
  263. GeometryCollection cannot be resolved to a type
  264. ----------
  265. 48. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 124)
  266. final Point p;
  267. ^^^^^
  268. Point cannot be resolved to a type
  269. ----------
  270. 49. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 126)
  271. public PointPathIterator(Point _p, AffineTransform _at) {
  272. ^^^^^
  273. Point cannot be resolved to a type
  274. ----------
  275. 50. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 128)
  276. p = _p;
  277. ^
  278. p cannot be resolved
  279. ----------
  280. 51. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 134)
  281. coords[0] = (float) p.getX();
  282. ^
  283. p cannot be resolved
  284. ----------
  285. 52. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 135)
  286. coords[1] = (float) p.getY();
  287. ^
  288. p cannot be resolved
  289. ----------
  290. 53. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 148)
  291. coords[0] = p.getX();
  292. ^
  293. p cannot be resolved
  294. ----------
  295. 54. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 149)
  296. coords[1] = p.getY();
  297. ^
  298. p cannot be resolved
  299. ----------
  300. 55. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 165)
  301. CoordinateSequence cs;
  302. ^^^^^^^^^^^^^^^^^^
  303. CoordinateSequence cannot be resolved to a type
  304. ----------
  305. 56. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 169)
  306. public LineStringPathIterator(LineString ls, AffineTransform _at) {
  307. ^^^^^^^^^^
  308. LineString cannot be resolved to a type
  309. ----------
  310. 57. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 171)
  311. cs = ls.getCoordinateSequence();
  312. ^^
  313. cs cannot be resolved
  314. ----------
  315. 58. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 172)
  316. isRing = ls instanceof LinearRing;
  317. ^^^^^^^^^^
  318. LinearRing cannot be resolved to a type
  319. ----------
  320. 59. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 176)
  321. protected void reInit(CoordinateSequence _cs) {
  322. ^^^^^^^^^^^^^^^^^^
  323. CoordinateSequence cannot be resolved to a type
  324. ----------
  325. 60. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 177)
  326. cs = _cs;
  327. ^^
  328. cs cannot be resolved
  329. ----------
  330. 61. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 183)
  331. coords[0] = (float) cs.getOrdinate(index, 0);
  332. ^^
  333. cs cannot be resolved
  334. ----------
  335. 62. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 184)
  336. coords[1] = (float) cs.getOrdinate(index, 1);
  337. ^^
  338. cs cannot be resolved
  339. ----------
  340. 63. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 187)
  341. } else if (index < cs.size()) {
  342. ^^
  343. cs cannot be resolved
  344. ----------
  345. 64. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 188)
  346. coords[0] = (float) cs.getOrdinate(index, 0);
  347. ^^
  348. cs cannot be resolved
  349. ----------
  350. 65. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 189)
  351. coords[1] = (float) cs.getOrdinate(index, 1);
  352. ^^
  353. cs cannot be resolved
  354. ----------
  355. 66. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 192)
  356. } else if (isRing && index == cs.size()) {
  357. ^^
  358. cs cannot be resolved
  359. ----------
  360. 67. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 201)
  361. coords[0] = cs.getOrdinate(index, 0);
  362. ^^
  363. cs cannot be resolved
  364. ----------
  365. 68. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 202)
  366. coords[1] = cs.getOrdinate(index, 1);
  367. ^^
  368. cs cannot be resolved
  369. ----------
  370. 69. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 205)
  371. } else if (index < cs.size()) {
  372. ^^
  373. cs cannot be resolved
  374. ----------
  375. 70. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 206)
  376. coords[0] = cs.getOrdinate(index, 0);
  377. ^^
  378. cs cannot be resolved
  379. ----------
  380. 71. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 207)
  381. coords[1] = cs.getOrdinate(index, 1);
  382. ^^
  383. cs cannot be resolved
  384. ----------
  385. 72. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 210)
  386. } else if (isRing && index == cs.size()) {
  387. ^^
  388. cs cannot be resolved
  389. ----------
  390. 73. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 218)
  391. return isRing ? index > cs.size() : index >= cs.size();
  392. ^^
  393. cs cannot be resolved
  394. ----------
  395. 74. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 218)
  396. return isRing ? index > cs.size() : index >= cs.size();
  397. ^^
  398. cs cannot be resolved
  399. ----------
  400. 75. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 223)
  401. final Polygon pg;
  402. ^^^^^^^
  403. Polygon cannot be resolved to a type
  404. ----------
  405. 76. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 226)
  406. public PolygonPathIterator(Polygon _pg, AffineTransform _at) {
  407. ^^^^^^^
  408. Polygon cannot be resolved to a type
  409. ----------
  410. 77. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 228)
  411. pg=_pg;
  412. ^^
  413. pg cannot be resolved
  414. ----------
  415. 78. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 233)
  416. return outerindex >= pg.getNumInteriorRing();
  417. ^^
  418. pg cannot be resolved
  419. ----------
  420. 79. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 240)
  421. if (outerindex < pg.getNumInteriorRing()) {
  422. ^^
  423. pg cannot be resolved
  424. ----------
  425. 80. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 241)
  426. super.reInit(pg.getInteriorRingN(outerindex).getCoordinateSequence());
  427. ^^
  428. pg cannot be resolved
  429. ----------
  430. 81. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 248)
  431. final GeometryCollection coll;
  432. ^^^^^^^^^^^^^^^^^^
  433. GeometryCollection cannot be resolved to a type
  434. ----------
  435. 82. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 251)
  436. public GeometryCollectionPathIterator(GeometryCollection _coll, AffineTransform _at) {
  437. ^^^^^^^^^^^^^^^^^^
  438. GeometryCollection cannot be resolved to a type
  439. ----------
  440. 83. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 253)
  441. coll = _coll;
  442. ^^^^
  443. coll cannot be resolved
  444. ----------
  445. 84. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 254)
  446. current = getPathIterator(coll.getGeometryN(index), _at);
  447. ^^^^
  448. coll cannot be resolved
  449. ----------
  450. 85. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 258)
  451. return index > coll.getNumGeometries();
  452. ^^^^
  453. coll cannot be resolved
  454. ----------
  455. 86. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 265)
  456. if (index < coll.getNumGeometries()) {
  457. ^^^^
  458. coll cannot be resolved
  459. ----------
  460. 87. ERROR in jtssrc/org/postgis/jts/JTSShape.java (at line 266)
  461. current = getPathIterator(coll.getGeometryN(index), at);
  462. ^^^^
  463. coll cannot be resolved
  464. ----------
  465. ----------
  466. 88. ERROR in jtssrc/org/postgis/jts/JtsGeometry.java (at line 71)
  467. public JtsGeometry(Geometry geom) {
  468. ^^^^^^^^
  469. Geometry cannot be resolved to a type
  470. ----------
  471. 89. ERROR in jtssrc/org/postgis/jts/JtsGeometry.java (at line 85)
  472. public static Geometry geomFromString(String value) throws SQLException {
  473. ^^^^^^^^
  474. Geometry cannot be resolved to a type
  475. ----------
  476. 90. ERROR in jtssrc/org/postgis/jts/JtsGeometry.java (at line 112)
  477. public static void setSridRecurse(final Geometry geom, final int srid) {
  478. ^^^^^^^^
  479. Geometry cannot be resolved to a type
  480. ----------
  481. 91. ERROR in jtssrc/org/postgis/jts/JtsGeometry.java (at line 129)
  482. public Geometry getGeometry() {
  483. ^^^^^^^^
  484. Geometry cannot be resolved to a type
  485. ----------
  486. 91 problems (91 errors)make: *** [jtscompile] Error 255
  487. make: Leaving directory `/usr/src/redhat/BUILD/postgis-1.2.1/java/jdbc'
  488. error: Bad exit status from /var/tmp/rpm-tmp.44097 (%build)
  489.  
  490.  

Copy Content*Download Text Version

* Copy Content will display a textarea with the content and attempt to copy it to your clipboard.