[GRASS-dev] Resources about compiling on Mac OS X

Michael Barton Michael.Barton at asu.edu
Wed Sep 4 08:27:35 PDT 2013


Recent changes have caused problems that require an extra step for my instructions to work. I've been hoping that this could be fixed but it looks increasingly unlikely and may become moot with the new OSX -- which could make it impossible to keep producing binaries that can run on 10.6+

Here is the workaround to add to the current WIKI instructions. I'm heading to class and then out of town until next week. Feel free to post them.

Michael

WORKAROUND FOR GRASS 7 COMPILER PROBLEMS (8/2013)

Seem like this needs to be done in the GRASS-7.0.app. So you have to run bindist first.
Then launch GRASS 7. The GUI will crash.
>From the GRASS command line, cd to the ../gui/wxpython directory inside the GRASS-7.0.app and run...

python core/toolboxes.py > xml/menudata.xml
python core/toolboxes.py "module_tree" > xml/module_tree_menudata.xml

Next, copy the newly created menudata.xml and module_tree_menudata.xml files back into the binary distribution (in ../dist.x86_64-apple-darwin12.4.0) and rerun bindist to make a new GRASS-7.0.app and *.pkg.


______________________________
C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Arizona State University
Tempe, AZ  85287-2402
USA

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

On Sep 4, 2013, at 7:26 AM, <grass-dev-request at lists.osgeo.org<mailto:grass-dev-request at lists.osgeo.org>>
 wrote:

From: Vaclav Petras <wenzeslaus at gmail.com<mailto:wenzeslaus at gmail.com>>
Subject: [GRASS-dev] Resources about compiling on Mac OS X
Date: September 4, 2013 7:25:54 AM MST
To: "grass-dev at lists.osgeo.org<mailto:grass-dev at lists.osgeo.org>" <grass-dev at lists.osgeo.org<mailto:grass-dev at lists.osgeo.org>>


Hi,

I'm wondering if the instructions how to compile GRASS on Mac OS X at GRASS Wiki [1] are up-to-date. There are two readmes in source code [2, 3], wiki pages, than William's [4] and Michael's [5] pages and of course the official download page [6] if you want to avoid compilation (some almost-nightly build can be enough for you). Sometimes their contents overlaps, sometimes they just contain links to others. I miss clear instructions where to find instructions for compiling.

Can you please somehow clarify the situation for me?

Thanks,
Vaclav

[1] http://grasswiki.osgeo.org/wiki/Compile_and_Install#Mac_OSX
[2] http://trac.osgeo.org/grass/browser/grass/trunk/macosx/ReadMe.rtf
[3] http://trac.osgeo.org/grass/browser/grass/trunk/macosx/pkg/resources/ReadMe.rtf
[4] http://www.kyngchaos.com/software/grass
[5] http://grassmac.wikidot.com/
[6] http://grass.osgeo.org/download/software/mac-osx/


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20130904/03ca6684/attachment.html>


More information about the grass-dev mailing list