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

Helena Mitasova hmitaso at ncsu.edu
Thu Jan 31 08:02:48 PST 2013


Anna,

we just started to dig into this with Michael about two days ago. I believe the errors started to pop-up with the introduction
of g.gui.* - all of these commands have it and at the time when g.gui.* was being added, the list of modules with this error
has been expanding. The error messages below are from Michael, but I get exactly the same ones - see the error for mapswipe.
Before g.gui was introduced, mapswipe did not produce an error. And this is on MacOSX10.6 and MacOSX10.8.
BUT for me on 10.6, in spite of the error message, most of these modules actually run OK - I tried mapswipe, psmap,vdigit,
and wxnviz and m.nviz.image run too. Perhaps others can test the rest of the modules.
So it may be just a manual page or something like that.
The only thing that does not run is animation - I will email about it separately because it may be a separate issue.

Helena

Errors in:

/Users/Shared/grass_dev/grass70_dev/gui/wxpython/animation
/Users/Shared/grass_dev/grass70_dev/gui/wxpython/mapswipe
/Users/Shared/grass_dev/grass70_dev/gui/wxpython/gmodeler
/Users/Shared/grass_dev/grass70_dev/gui/wxpython/rlisetup
/Users/Shared/grass_dev/grass70_dev/gui/wxpython/psmap
/Users/Shared/grass_dev/grass70_dev/gui/wxpython/dbmgr
/Users/Shared/grass_dev/grass70_dev/gui/wxpython/vdigit
/Users/Shared/grass_dev/grass70_dev/gui/wxpython/iclass

for each of those I get the same error like this

cmb-macbookpro:~ cmbarton$ /Users/Shared/grass_dev/grass70_dev/gui/wxpython/animation
-bash: /Users/Shared/grass_dev/grass70_dev/gui/wxpython/animation: is a directory
cmb-macbookpro:~ cmbarton$ cd /Users/Shared/grass_dev/grass70_dev/gui/wxpython/animation
cmb-macbookpro:animation cmbarton$ 
cmb-macbookpro:animation cmbarton$ make
make /Users/Shared/grass_dev/grass70_dev/dist.x86_64-apple-darwin12.2.0/docs/html/g.gui.animation.html
GISRC=/Users/Shared/grass_dev/grass70_dev/dist.x86_64-apple-darwin12.2.0/demolocation/.grassrc70 GISBASE=/Users/Shared/grass_dev/grass70_dev/dist.x86_64-apple-darwin12.2.0 PATH="/Users/Shared/grass_dev/grass70_dev/dist.x86_64-apple-darwin12.2.0/bin:/Users/Shared/grass_dev/grass70_dev/dist.x86_64-apple-darwin12.2.0/bin:$PATH" PYTHONPATH="/Users/Shared/grass_dev/grass70_dev/dist.x86_64-apple-darwin12.2.0/etc/python:/Users/Shared/grass_dev/grass70_dev/dist.x86_64-apple-darwin12.2.0/etc/python:$PYTHONPATH" DYLD_LIBRARY_PATH="/Users/Shared/grass_dev/grass70_dev/dist.x86_64-apple-darwin12.2.0/bin:/Users/Shared/grass_dev/grass70_dev/dist.x86_64-apple-darwin12.2.0/lib:/Users/Shared/grass_dev/grass70_dev/dist.x86_64-apple-darwin12.2.0/lib:" LC_ALL=C /Users/Shared/grass_dev/grass70_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/grass70_dev/dist.x86_64-apple-darwin12.2.0/scripts/g.gui.animation", line 45, in <module>
   import wx
ImportError: No module named wx
make[1]: *** [g.gui.animation.tmp.html] Error 1
rm g.gui.animation.tmp.html

cpe-098-026-069-175:mapswipe helena$ make
make /Users/helena/grassdev7/grass_trunk/dist.x86_64-apple-darwin10.8.0/docs/html/g.gui.mapswipe.html
GISRC=/Users/helena/grassdev7/grass_trunk/dist.x86_64-apple-darwin10.8.0/demolocation/.grassrc70 GISBASE=/Users/helena/grassdev7/grass_trunk/dist.x86_64-apple-darwin10.8.0 PATH="/Users/helena/grassdev7/grass_trunk/dist.x86_64-apple-darwin10.8.0/bin:/Users/helena/grassdev7/grass_trunk/dist.x86_64-apple-darwin10.8.0/bin:$PATH" PYTHONPATH="/Users/helena/grassdev7/grass_trunk/dist.x86_64-apple-darwin10.8.0/etc/python:/Users/helena/grassdev7/grass_trunk/dist.x86_64-apple-darwin10.8.0/etc/python:$PYTHONPATH" DYLD_LIBRARY_PATH="/Users/helena/grassdev7/grass_trunk/dist.x86_64-apple-darwin10.8.0/bin:/Users/helena/grassdev7/grass_trunk/dist.x86_64-apple-darwin10.8.0/lib:/Users/helena/grassdev7/grass_trunk/dist.x86_64-apple-darwin10.8.0/lib:" LC_ALL=C /Users/helena/grassdev7/grass_trunk/dist.x86_64-apple-darwin10.8.0/scripts/g.gui.mapswipe --html-description < /dev/null | grep -v '</body>\|</html>' > g.gui.mapswipe.tmp.html
Traceback (most recent call last):
  File "/Users/helena/grassdev7/grass_trunk/dist.x86_64-apple-darwin10.8.0/scripts/g.gui.mapswipe", line 51, in <module>
    import  wx
  File "/var/tmp/wxWidgets/wxWidgets-13~231/2.6/DSTROOT/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/wx-2.8-mac-unicode/wx/__init__.py", line 45, in <module>
    
  File "/var/tmp/wxWidgets/wxWidgets-13~231/2.6/DSTROOT/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/wx-2.8-mac-unicode/wx/_core.py", line 4, in <module>
ImportError: /System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/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.mapswipe.tmp.html] Error 1
rm g.gui.mapswipe.tmp.html
make: *** [guiscript] Error 2

Helena Mitasova
Associate Professor
Department of Marine, Earth, and Atmospheric Sciences
2800 Faucette Drive, Rm. 1125 Jordan Hall
North Carolina State University
Raleigh, NC 27695-8208
hmitaso at ncsu.edu

"All electronic mail messages in connection with State business which are sent to or received by this account are subject to the NC Public Records Law and may be disclosed to third parties.” 

On Jan 31, 2013, at 6:15 AM, Anna Kratochvílová 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
> _______________________________________________
> 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