[GRASS-dev] new g.mremove doesn't compile on Mac OS X

Michael Barton michael.barton at asu.edu
Sat Sep 13 20:47:01 EDT 2008


Just tested this. It compiles fine and works -- very fast. Can it be  
backported from trunk?

Michael



On Sep 13, 2008, at 4:17 PM, Glynn Clements wrote:

>
> Michael Barton wrote:
>
>> I just did an update and compile for OS X (10.5)
>>
>> The new C version of g.mremove doesn't compile. Here are the errors.
>
>> /Users/cmbarton/grass_dev/grass6_src/dist.i386-apple-darwin9.4.0/
>> include/grass/vect/dig_structs.h:22:21: error: ogr_api.h: No such  
>> file
>> or directory
>
> It needs this (committed to trunk as r33436):
>
> --- general/g.mremove/Makefile	(revision 33434)
> +++ general/g.mremove/Makefile	(working copy)
> @@ -4,6 +4,8 @@
>
> LIBES = $(GISLIB) $(VECTLIB) $(G3DLIB)
> DEPENDENCIES = $(GISDEP) $(VECTDEP) $(G3DDEP)
> +EXTRA_INC = $(VECT_INC)
> +EXTRA_CFLAGS = $(VECT_CFLAGS)
>
> include $(MODULE_TOPDIR)/include/Make/Module.make
>
> -- 
> Glynn Clements <glynn at gclements.plus.com>



More information about the grass-dev mailing list