[GRASS-dev] does GRASS 7 for Mac compile yet?

Michael Barton Michael.Barton at asu.edu
Thu Jan 31 10:20:50 PST 2013


For all the g.gui.*** modules, the compiling error is as follows:

cmbarton$ cd /Users/Shared/grass_dev/grass7_dev/gui/wxpython/animation
anthgradpc7:animation cmbarton$ make
make /Users/Shared/grass_dev/grass7_dev/dist.x86_64-apple-darwin12.2.0/docs/html/g.gui.animation.html
GISRC=/Users/Shared/grass_dev/grass7_dev/dist.x86_64-apple-darwin12.2.0/demolocation/.grassrc70 GISBASE=/Users/Shared/grass_dev/grass7_dev/dist.x86_64-apple-darwin12.2.0 PATH="/Users/Shared/grass_dev/grass7_dev/dist.x86_64-apple-darwin12.2.0/bin:/Users/Shared/grass_dev/grass7_dev/dist.x86_64-apple-darwin12.2.0/bin:$PATH" PYTHONPATH="/Users/Shared/grass_dev/grass7_dev/dist.x86_64-apple-darwin12.2.0/etc/python:/Users/Shared/grass_dev/grass7_dev/dist.x86_64-apple-darwin12.2.0/etc/python:$PYTHONPATH" DYLD_LIBRARY_PATH="/Users/Shared/grass_dev/grass7_dev/dist.x86_64-apple-darwin12.2.0/bin:/Users/Shared/grass_dev/grass7_dev/dist.x86_64-apple-darwin12.2.0/lib:/Users/Shared/grass_dev/grass7_dev/dist.x86_64-apple-darwin12.2.0/lib:" LC_ALL=C /Users/Shared/grass_dev/grass7_dev/dist.x86_64-apple-darwin12.2.0/scripts/g.gui.animation --html-description < /dev/null | grep -v '</body>\|</html>' > g.gui.animation.tmp.html
Traceback (most recent call last):
  File "/Users/Shared/grass_dev/grass7_dev/dist.x86_64-apple-darwin12.2.0/scripts/g.gui.animation", line 45, in <module>
    import wx
  File "/usr/local/lib/wxPython-unicode-2.8.12.1/lib/python2.7/site-packages/wx-2.8-mac-unicode/wx/__init__.py", line 45, in <module>
    from wx._core import *
  File "/usr/local/lib/wxPython-unicode-2.8.12.1/lib/python2.7/site-packages/wx-2.8-mac-unicode/wx/_core.py", line 4, in <module>
    import _core_
ImportError: /usr/local/lib/wxPython-unicode-2.8.12.1/lib/python2.7/site-packages/wx-2.8-mac-unicode/wx/_core_.so: no appropriate 64-bit architecture (see "man python" for running in 32-bit mode)
make[1]: *** [g.gui.animation.tmp.html] Error 1
rm g.gui.animation.tmp.html
make: *** [guiscript] Error 2

It is a "bogus" error in several respects. There is no problem importing wx in other wxPython modules, and these modules work when launched from the menu and from the terminal.

------

For v.external, I just submitted a bug report


------

For volume display, I need to dig back into my notes and emails to you and Helena. I'm pretty sure that for volumes to display on the Mac now, we need to remove the function gvl_align_data and references to it in gvl_gcalc.c in ../lib/osgf.

But I don't know if that causes any problems on other systems, including older Mac systems.

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-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 Jan 31, 2013, at 4:15 AM, Anna Kratochvílová <kratochanna at gmail.com>
 wrote:

> On Thu, Jan 31, 2013 at 11:47 AM, Luca Delucchi <lucadeluge at gmail.com> wrote:
>> 2013/1/31 Thomas Adams - NOAA Federal <thomas.adams at noaa.gov>:
>>> All,
>>> 
>> 
>> Hi Thomas
>> 
>>> I'm a Mac user in addition to Linux. I'm going to have more free time
>>> starting in a few weeks. I'd be happy to step-up my use of GRASS 7 for
>>> testing. Just let me know what I can do. I'm moving from the U.S. to
>>> Melbourne, Australia in a couple of weeks!
>>> 
>> 
>> thanks for your support, you could start to read from here [0].
>> Michael and William could you update the instructions of this file [1]
>> for GRASS7 and move them to the wiki page please?
>> 
> 
> Michael, it would be helpful to summarize all the problems. It is very
> confusing at least for me. It is not clear which problems are related
> to the introduction of g.gui.* modules, wxPython version and so on
> because the information is in many threads.
> 
> Thanks,
> Anna
> 
>>> Cheers,
>>> Tom
>>> 
>> 
>> [0] http://grasswiki.osgeo.org/wiki/Compiling_on_MacOSX
>> [1] http://trac.osgeo.org/grass/browser/grass/branches/develbranch_6/macosx/ReadMe.rtf?format=raw
>> 
>> 
>> --
>> ciao
>> Luca
>> 
>> http://gis.cri.fmach.it/delucchi/
>> www.lucadelu.org
>> _______________________________________________
>> grass-dev mailing list
>> grass-dev at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/grass-dev



More information about the grass-dev mailing list