[GRASS-dev] grass7 build on osx snow leopard

Massimo Di Stefano massimodisasha at gmail.com
Thu Feb 4 03:02:35 EST 2010


Thanks Glyn it works,

i also did svn up, all goes well.
so I've a working grass7 installation.
some errors persists, but i guess they are bit-ness related :

RASS GIS compilation log
-------------------------
Started compilation: Gio  4 Feb 2010 05:31:58 CET
--
Errors in:
/Users/Shared/source/grass_trunk/vector/lidar/v.lidar.correction
/Users/Shared/source/grass_trunk/visualization/nviz
/Users/Shared/source/grass_trunk/visualization/xganim
/Users/Shared/source/grass_trunk/visualization/wximgview




Il giorno 04/feb/2010, alle ore 04.39, Glynn Clements ha scritto:

> 
> Massimo Di Stefano wrote:
> 
>> Tring to build grass7 on snow leopard 
>> i had a long list of errors, here the coplete build log :
>> 
>> http://www.geofemengineering.it/data/grass7_log.txt
> 
> As is normally the case, the first error is what's relevant:
> 
> Undefined symbols:
>  "_iconv", referenced from:
>      _print_escaped_for_xml in parser_interface.o
>  "_iconv_close", referenced from:
>      _print_escaped_for_xml in parser_interface.o
>  "_iconv_open", referenced from:
>      _print_escaped_for_xml in parser_interface.o
> 
> make[3]: *** [/Users/Shared/source/grass_trunk/dist.i386-apple-darwin10.2.0/lib/libgrass_gis.7.0.svn.dylib] Error 1
> 
> Obviously, if lib/gis fails to compile, the rest of GRASS is toast.
> 
> Try this:
> 
> Index: include/Make/Grass.make
> ===================================================================
> --- include/Make/Grass.make	(revision 40803)
> +++ include/Make/Grass.make	(working copy)
> @@ -190,7 +190,7 @@
> DSPFDEPS         = $(GISLIB)
> FORMDEPS         = $(DBMILIB) $(GISLIB)
> G3DDEPS          = $(RASTERLIB) $(GISLIB) $(XDRLIB)
> -GISDEPS          = $(DATETIMELIB) $(ZLIBLIBPATH) $(ZLIB) $(INTLLIB) $(REGEXLIBPATH) $(REGEXLIB) $(PTHREADLIBPATH) $(PTHREADLIB) $(MATHLIB)
> +GISDEPS          = $(DATETIMELIB) $(ZLIBLIBPATH) $(ZLIB) $(INTLLIB) $(REGEXLIBPATH) $(REGEXLIB) $(ICONVLIB) $(PTHREADLIBPATH) $(PTHREADLIB) $(MATHLIB)
> GMATHDEPS        = $(GISLIB) $(FFTWLIB) $(LAPACKLIB) $(BLASLIB) $(CCMATHLIB)
> GPDEDEPS         = $(G3DLIB) $(RASTERLIB) $(GISLIB) $(GMATHLIB) $(MATHLIB)
> GPROJDEPS        = $(GISLIB) $(GDALLIBS) $(PROJLIB) $(MATHLIB)
> 
> -- 
> Glynn Clements <glynn at gclements.plus.com>



More information about the grass-dev mailing list