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 <[email protected]>
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to