[GRASS-dev] New attempt to update GRASS for Mac

Michael Barton Michael.Barton at asu.edu
Thu Aug 3 12:39:35 PDT 2017


Working with a very helpful software engineer at CSDMS here in Boulder, we've decided that a good way to work out a new and more sustainable way to create binaries would be to compile GRASS under Anaconda. We could then more easily package GRASS and all dependencies, and subsequently make it into an Anaconda package for those who'd like to install it that way.

So far, we've successfully installed all dependencies AFAICT and successfully configured it. But we have not yet been able to compile without errors. It sort of looks like libiconv is the problem, but of course that could be a red herring.

We get errors in many modules at the end. Here is what shows up in the ../lib/driver section. Does anyone recognize this?

I can send config string and full build output if helpful, but thought I'd start here.

Thanks
Michael


CMB-MacBook-Pro:~ cmbarton$ cd /Users/cmbarton/grass_source/trunk/lib/driver
CMB-MacBook-Pro:driver cmbarton$ make
cc -dynamiclib -compatibility_version 7.3 -current_version 7.3 -install_name /Applications/GRASS-7.3.app/Contents/MacOS/lib/libgrass_driver.7.3.svn.dylib -o /Users/cmbarton/grass_source/trunk/dist.x86_64-apple-darwin16.7.0/lib/libgrass_driver.7.3.svn.dylib -L/Users/cmbarton/grass_source/trunk/dist.x86_64-apple-darwin16.7.0/lib -L/Users/cmbarton/grass_source/trunk/dist.x86_64-apple-darwin16.7.0/lib -isysroot /Developer/SDKs/MacOSX10.8.sdk    OBJ.x86_64-apple-darwin16.7.0/box.o OBJ.x86_64-apple-darwin16.7.0/color.o OBJ.x86_64-apple-darwin16.7.0/draw.o OBJ.x86_64-apple-darwin16.7.0/erase.o OBJ.x86_64-apple-darwin16.7.0/font.o OBJ.x86_64-apple-darwin16.7.0/font2.o OBJ.x86_64-apple-darwin16.7.0/font_freetype.o OBJ.x86_64-apple-darwin16.7.0/get_t_box.o OBJ.x86_64-apple-darwin16.7.0/graph.o OBJ.x86_64-apple-darwin16.7.0/init.o OBJ.x86_64-apple-darwin16.7.0/line_width.o OBJ.x86_64-apple-darwin16.7.0/move.o OBJ.x86_64-apple-darwin16.7.0/parse_ftcap.o OBJ.x86_64-apple-darwin16.7.0/path.o OBJ.x86_64-apple-darwin16.7.0/raster.o OBJ.x86_64-apple-darwin16.7.0/set_window.o OBJ.x86_64-apple-darwin16.7.0/text.o OBJ.x86_64-apple-darwin16.7.0/text2.o OBJ.x86_64-apple-darwin16.7.0/text3.o OBJ.x86_64-apple-darwin16.7.0/text_size.o  -lgrass_gis.7.3.svn -L/Applications/anaconda/lib -lfreetype  -liconv
Undefined symbols for architecture x86_64:
  "_iconv", referenced from:
      _draw_main in text3.o
  "_iconv_close", referenced from:
      _draw_main in text3.o
  "_iconv_open", referenced from:
      _draw_main in text3.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [/Users/cmbarton/grass_source/trunk/dist.x86_64-apple-darwin16.7.0/lib/libgrass_driver.7.3.svn.dylib] Error 1
____________________
C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Head, Graduate Faculty in Complex Adaptive Systems Science
Arizona State University

voice:  480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)
fax: 480-965-7671 (SHESC),  480-727-0709 (CSDC)
www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20170803/49847c96/attachment.html>


More information about the grass-dev mailing list