GRASS, GDAL and Postgres problem (was [GRASS5] [bug #3585] (grass) bus error in general/manage modules)

William Kyngesburye woklist at kyngchaos.com
Mon Dec 12 17:19:16 EST 2005


Any ideas anyone?  This is a strang one.

Summary so far:

- Postgres 8.0.x + PostGIS 1.0.x (I've tried a few different combos  
of versions up to the recent 8.0.4+1.0.6)
- GDAL 1.3.1 (started in CVS just before the 1.3.0 release), with  
Postgres support
- GRASS 6.0.1 and 6.1CVS (up to 05-11-12) with GDAL support

all built with GCC 3.3 on Mac OS 10.3.8

In this combination, g.remove, g.rename and g.copy crash with a bus  
error, yet the gdal modules work.

It doesn't affect GCC 4.0 on Mac OS 10.4.  This didn't used to happen  
with GDAL 1.2.6.  Having Postgres support in GRASS or not doesn't affect

If I leave out Postgres support from GDAL, AND rebuild GRASS,  
g.remove, g.rename and g.copy work.  Just rebuilding GDAL without  
Postgres doesn't help, GRASS must be rebuilt as well.  AND, if I have  
GRASS working with GDAL w/o PG, then rebuild GDAL with PG, and NOT  
rebuild GRASS, GRASS still works.

So, GRASS is picking up something from GDAL at build time that is  
causing the problem, and it's somehow connected to Postgres.

HELP!

-----
William Kyngesburye <kyngchaos at kyngchaos.com>
http://www.kyngchaos.com/

[Trillian]  What are you supposed to do WITH a maniacally depressed  
robot?

[Marvin]  You think you have problems?  What are you supposed to do  
if you ARE a maniacally depressed robot?  No, don't try and answer,  
I'm 50,000 times more intelligent than you and even I don't know the  
answer...

- HitchHiker's Guide to the Galaxy




More information about the grass-dev mailing list