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

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@lists.osgeo.org>
wrote:

From: Vaclav Petras <wenzeslaus@gmail.com>

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

Date: September 4, 2013 7:25:54 AM MST

To:grass-dev@lists.osgeo.org” <grass-dev@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/

On 04/09/13 17:27, Michael Barton wrote:

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.

Does this "fix" https://trac.osgeo.org/grass/ticket/2034 ?

Moritz

I'm traveling and cannot test at the moment. But I'd be happy to test when I get back next week.

Thanks
Michael
____________________
C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
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

On Sep 5, 2013, at 12:18 AM, Moritz Lennert <mlennert@club.worldonline.be> wrote:

On 04/09/13 17:27, Michael Barton wrote:

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.

Does this "fix" #2034 (GUI crashes on launch for newly compiled binary for Mac OS X) – GRASS GIS ?

Moritz

My problem actually was that I don’t know what is the valid documentation for compilation on Mac OS X. Is there some up-to-date document?

Thanks,
Vaclav

Unrelated: Since there was several discussions about problems with compilation on Mac OS X, I’ve updated the ticket #2034 with some links and info.

[1] https://trac.osgeo.org/grass/ticket/2034

···

On Thu, Sep 5, 2013 at 4:40 AM, Michael Barton <Michael.Barton@asu.edu> wrote:

I’m traveling and cannot test at the moment. But I’d be happy to test when I get back next week.

Thanks
Michael


C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
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

On Sep 5, 2013, at 12:18 AM, Moritz Lennert <mlennert@club.worldonline.be> wrote:

On 04/09/13 17:27, Michael Barton wrote:

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.

Does this “fix” https://trac.osgeo.org/grass/ticket/2034 ?

Moritz


grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

The macosx readme in the source is meant to be the main build instructions, but I have been lax in maintaining them. I think they are still generally good.

The other in the macosx/pkg folder is just for the insaller package and has no build instructions.

The wiki just looks like some random stuff, and does say that the source instructions are the place to start.

On Sep 5, 2013, at 9:32 PM, Vaclav Petras wrote:

My problem actually was that I don't know what is the valid documentation for compilation on Mac OS X. Is there some up-to-date document?

Thanks,
Vaclav

Unrelated: Since there was several discussions about problems with compilation on Mac OS X, I've updated the ticket #2034 with some links and info.

[1] https://trac.osgeo.org/grass/ticket/2034

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"Those people who most want to rule people are, ipso-facto, those least suited to do it."

- A rule of the universe, from the HitchHiker's Guide to the Galaxy

William Kyngesburye <woklist@kyngchaos.com> writes:

The macosx readme in the source is meant to be the main build
instructions, but I have been lax in maintaining them. I think they
are still generally good.

The other in the macosx/pkg folder is just for the insaller package and has no build instructions.

The wiki just looks like some random stuff, and does say that the source instructions are the place to start.

While we are at compiling GRASS on OS X - is somb

On Sep 5, 2013, at 9:32 PM, Vaclav Petras wrote:

My problem actually was that I don't know what is the valid documentation for compilation on Mac OS X. Is there some up-to-date document?

Thanks,
Vaclav

Unrelated: Since there was several discussions about problems with
compilation on Mac OS X, I've updated the ticket #2034 with some
links and info.

[1] https://trac.osgeo.org/grass/ticket/2034

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"Those people who most want to rule people are, ipso-facto, those least suited to do it."

- A rule of the universe, from the HitchHiker's Guide to the Galaxy

<#secure method=pgpmime mode=sign>

--
Rainer M. Krug

email: RMKrug<at>gmail<dot>com

Sorry - didn't want to send it

Rainer M Krug <Rainer@krugs.de> writes:

William Kyngesburye <woklist@kyngchaos.com> writes:

The macosx readme in the source is meant to be the main build
instructions, but I have been lax in maintaining them. I think they
are still generally good.

The other in the macosx/pkg folder is just for the insaller package and has no build instructions.

The wiki just looks like some random stuff, and does say that the source instructions are the place to start.

While we are at compiling GRASS on OS X - is somb

On Sep 5, 2013, at 9:32 PM, Vaclav Petras wrote:

My problem actually was that I don't know what is the valid documentation for compilation on Mac OS X. Is there some up-to-date document?

Thanks,
Vaclav

Unrelated: Since there was several discussions about problems with
compilation on Mac OS X, I've updated the ticket #2034 with some
links and info.

[1] https://trac.osgeo.org/grass/ticket/2034

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"Those people who most want to rule people are, ipso-facto, those least suited to do it."

- A rule of the universe, from the HitchHiker's Guide to the Galaxy

<#secure method=pgpmime mode=sign>

<#secure method=pgpmime mode=sign>

--
Rainer M. Krug

email: RMKrug<at>gmail<dot>com

Nope.

Just tested on GRASS 7 svn updated in the past hour.

Michael
______________________________
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 5, 2013, at 12:18 AM, Moritz Lennert <mlennert@club.worldonline.be> wrote:

On 04/09/13 17:27, Michael Barton wrote:

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.

Does this "fix" #2034 (GUI crashes on launch for newly compiled binary for Mac OS X) – GRASS GIS ?

Moritz