Re: [postgis-users] make check failures w/ 1.3.1 on Mac OS 10.5

2007-12-02 Thread Mark Cave-Ayland
On Fri, 2007-11-30 at 22:04 -0600, William Kyngesburye wrote: I finally had a chance to try it. Builds and all tests run. Brilliant. Thanks for testing. I can't think of what might be going on on your system John. There might be something helpful in your console or system logs. Yeah

Re: [postgis-users] make check failures w/ 1.3.1 on Mac OS 10.5

2007-11-30 Thread Mark Cave-Ayland
On Thu, 2007-11-29 at 23:10 -0700, John Cartwright wrote: Hi Mark, Using the hourly svn snapshot, the build went fine, but make check is still failing 12 out of 37: ../loader/shp2pgsql: shape (.shp) or index files (.shx) can not be opened. --john Hi John, Hmmm I'm not sure why

Re: [postgis-users] make check failures w/ 1.3.1 on Mac OS 10.5

2007-11-30 Thread John Cartwright
Well, the problem seems to be with the shp2pgsql utility - trying to run it w/ a different shapefile in a different directory produces similar results: jcc$ /usr/local/postgis-1.3.1/bin/shp2pgsql cities.shp test.cities /usr/local/postgis-1.3.1/bin/shp2pgsql: shape (.shp) or index files

Re: [postgis-users] make check failures w/ 1.3.1 on Mac OS 10.5

2007-11-30 Thread William Kyngesburye
I finally had a chance to try it. Builds and all tests run. I can't think of what might be going on on your system John. There might be something helpful in your console or system logs. On Nov 30, 2007, at 2:10 AM, Mark Cave-Ayland wrote: On Thu, 2007-11-29 at 23:10 -0700, John

Re: [postgis-users] make check failures w/ 1.3.1 on Mac OS 10.5

2007-11-29 Thread John Cartwright
Hi Mark, Using the hourly svn snapshot, the build went fine, but make check is still failing 12 out of 37: ../loader/shp2pgsql: shape (.shp) or index files (.shx) can not be opened. --john On Nov 27, 2007, at 3:45 PM, Mark Cave-Ayland wrote: Hi William, Great detective work! I've

Re: [postgis-users] make check failures w/ 1.3.1 on Mac OS 10.5

2007-11-26 Thread Sebastian Böck
William Kyngesburye wrote: Sorry to keep replying to myself. I think I see the problem: get_uint32(). Leopard's libSystem now includes its own get_uint32() (and get_int32()), so this is used in postgis instead of the one in lwgeom_api.c. I can't find ANY reference to this in the Leopard

[postgis-users] make check failures w/ 1.3.1 on Mac OS 10.5

2007-11-25 Thread John Cartwright
Hello All, Trying to compile v1.3.1 on leopard. Compilation seems to go OK, but 35 out of 37 tests fail on the make check prior to installation. For example: loader/Point. failed (running shp2pgsql: /var/folders/v1/ v1z9PHeJEvGQIvBCSUU0QE+++TI/-Tmp-//loader.err) loader.err contains:

Re: [postgis-users] make check failures w/ 1.3.1 on Mac OS 10.5

2007-11-25 Thread William Kyngesburye
Possibly a permissions problem? I just ran the tests on my new Leopard build, using GEOS 3, and got 36/37 fails. Look in that /var/folders/... loader.err. I got: BEGIN psql:/var/folders/sR/[snip]/-Tmp-/loader:2: NOTICE: CREATE TABLE will create implicit sequence loadedshp_gid_seq for

Re: [postgis-users] make check failures w/ 1.3.1 on Mac OS 10.5

2007-11-25 Thread William Kyngesburye
Well, for me at least, it appears that PostGIS built on Leopard is crashing Postgres. Happens in both 32bit and 64bit modes. I'm going to try my old PostGIS build (built on Tiger) with my new Postgres build, to help narrow it down (see if it's Postgres problem). Here's what I get in the

Re: [postgis-users] make check failures w/ 1.3.1 on Mac OS 10.5

2007-11-25 Thread William Kyngesburye
And once more... there was some leftover junk from the previous failed tests (a bunch of errors about relation already exists). After those were cleared out, all tests succeeded! On Nov 25, 2007, at 5:02 PM, William Kyngesburye wrote: Sorry to keep replying to myself. I think I see the

Re: [postgis-users] make check failures w/ 1.3.1 on Mac OS 10.5

2007-11-25 Thread John Cartwright
Thanks for looking into this William and for your suggestion. I've implemented it, but am still getting 12 failures (all loader tests), complaining that: ../loader/shp2pgsql: shape (.shp) or index files (.shx) can not be opened. I've confirmed that the shapefiles are present and should

Re: [postgis-users] make check failures w/ 1.3.1 on Mac OS 10.5

2007-11-25 Thread William Kyngesburye
Look at those /var/folders/... files. The loader.err file has the last error details. the numbered files (I forget the names after all my tests are succeeding) have the details for each failed test. The 'loader' file has the sql that was last run (tho it may not be from an error). One