[GRASS-dev] mac make install

William Kyngesburye woklist at kyngchaos.com
Fri Jan 1 14:23:03 EST 2010


I had commented that out in the bindist, but forgot the install target.  Completely deleted now r40176.

Note: I haven't looked at the new g.extension that is supposed to do the same thing, and the old GEM never really worked in the OSX app context (didn't even build).

On Jan 1, 2010, at 1:06 PM, Michael Barton wrote:

> William,
> 
> I did an update and compile of GRASS 7 (trunk). v.krige still wouldn't compile, but the rest of it did. When I went to install it, I got the following error referencing modbuild. It seems to install, but I wonder if this means something to you.  I also get an odd error when I start GRASS 7 that seems to suggest that it is not reading the folder "Application Support" correctly. I've copied that error below the make install error.
> 
> Michael
> 
> 
> ============ make install error  ==============
> 
> cmb-MBP-2:grass70_dev cmbarton$ sudo make install
> echo /Users/cmbarton/grass_dev/grass70_dev/bin.i386-apple-darwin10.2.0/grass70
> /Users/cmbarton/grass_dev/grass70_dev/bin.i386-apple-darwin10.2.0/grass70
> make -C macosx install-macosx
> echo /Users/cmbarton/grass_dev/grass70_dev/dist.i386-apple-darwin10.2.0/GRASS-7.0.app
> /Users/cmbarton/grass_dev/grass70_dev/dist.i386-apple-darwin10.2.0/GRASS-7.0.app
> mkdir -p -m 755 /Applications/GRASS/GRASS-7.0.app/Contents/MacOS
> cd /Users/cmbarton/grass_dev/grass70_dev/dist.i386-apple-darwin10.2.0 ; tar cBf - GRASS-7.0.app | (cd /Applications/GRASS ; tar xBf - ) 2>/dev/null
> cd /Users/cmbarton/grass_dev/grass70_dev/dist.i386-apple-darwin10.2.0 ; tar cBf - AUTHORS COPYING CHANGES REQUIREMENTS.html GPL.TXT | (cd /Applications/GRASS/GRASS-7.0.app/Contents/MacOS ; tar xBf - ) 2>/dev/null
> cd /Users/cmbarton/grass_dev/grass70_dev/dist.i386-apple-darwin10.2.0 ; tar cBf - bin | (cd /Applications/GRASS/GRASS-7.0.app/Contents/MacOS ; tar xBf - ) 2>/dev/null
> cd /Users/cmbarton/grass_dev/grass70_dev/dist.i386-apple-darwin10.2.0 ; tar cBf - docs | (cd /Applications/GRASS/GRASS-7.0.app/Contents/MacOS ; tar xBf - ) 2>/dev/null
> cd /Users/cmbarton/grass_dev/grass70_dev/dist.i386-apple-darwin10.2.0 ; tar cBf - driver | (cd /Applications/GRASS/GRASS-7.0.app/Contents/MacOS ; tar xBf - ) 2>/dev/null
> cd /Users/cmbarton/grass_dev/grass70_dev/dist.i386-apple-darwin10.2.0 ; tar cBf - etc | (cd /Applications/GRASS/GRASS-7.0.app/Contents/MacOS ; tar xBf - ) 2>/dev/null
> cd /Users/cmbarton/grass_dev/grass70_dev/dist.i386-apple-darwin10.2.0 ; tar cBf - fonts | (cd /Applications/GRASS/GRASS-7.0.app/Contents/MacOS ; tar xBf - ) 2>/dev/null
> cd /Users/cmbarton/grass_dev/grass70_dev/dist.i386-apple-darwin10.2.0 ; tar cBf - man | (cd /Applications/GRASS/GRASS-7.0.app/Contents/MacOS ; tar xBf - ) 2>/dev/null
> cd /Users/cmbarton/grass_dev/grass70_dev/dist.i386-apple-darwin10.2.0 ; tar cBf - scripts | (cd /Applications/GRASS/GRASS-7.0.app/Contents/MacOS ; tar xBf - ) 2>/dev/null
> if [  -eq 1 ] ; then cd /Users/cmbarton/grass_dev/grass70_dev/dist.i386-apple-darwin10.2.0 ; tar cBf - locale | (cd /Applications/GRASS/GRASS-7.0.app/Contents/MacOS ; tar xBf - ) 2>/dev/null ; fi
> /bin/sh: line 0: [: -eq: unary operator expected
> cd /Users/cmbarton/grass_dev/grass70_dev/dist.i386-apple-darwin10.2.0 ; tar cBf - include | (cd /Applications/GRASS/GRASS-7.0.app/Contents/MacOS ; tar xBf - ) 2>/dev/null
> cd /Users/cmbarton/grass_dev/grass70_dev/dist.i386-apple-darwin10.2.0 ; tar cBf - lib | (cd /Applications/GRASS/GRASS-7.0.app/Contents/MacOS ; tar xBf - ) 2>/dev/null
> chmod -R a+rX /Applications/GRASS/GRASS-7.0.app 2>/dev/null
> touch /Applications/GRASS/GRASS-7.0.app
> mkdir -p -m 755 "/Library/Application Support/GRASS/7.0"
> mkdir -p -m 755 "/Library/Application Support/GRASS/7.0/Modules/bin"
> mkdir -p -m 755 "/Library/Application Support/GRASS/7.0/Modules/docs/html"
> mkdir -p -m 755 "/Library/Application Support/GRASS/7.0/Modules/etc"
> mkdir -p -m 755 "/Library/Application Support/GRASS/7.0/Modules/lib"
> /usr/bin/install -c  /usr/local/lib/wxPython-unicode-2.8.10.1/lib/libwx_macud-2.8.0.dylib /Applications/GRASS/GRASS-7.0.app/Contents/MacOS/lib
> /usr/bin/install -c  /usr/local/lib/wxPython-unicode-2.8.10.1/lib/libwx_macud_gl-2.8.0.dylib /Applications/GRASS/GRASS-7.0.app/Contents/MacOS/lib
> /usr/bin/install -c  /usr/local/lib/wxPython-unicode-2.8.10.1/lib/libwx_macud_stc-2.8.0.dylib /Applications/GRASS/GRASS-7.0.app/Contents/MacOS/lib
> /usr/bin/install -c  /usr/local/lib/wxPython-unicode-2.8.10.1/lib/libwx_macud_gizmos-2.8.0.dylib /Applications/GRASS/GRASS-7.0.app/Contents/MacOS/lib
> /usr/bin/install -c  /usr/local/lib/wxPython-unicode-2.8.10.1/lib/libwx_macud_gizmos_xrc-2.8.0.dylib /Applications/GRASS/GRASS-7.0.app/Contents/MacOS/lib
> cp -Rfp /usr/local/lib/wxPython-unicode-2.8.10.1/lib/python2.5/site-packages/wx-2.8-mac-unicode/wx /Applications/GRASS/GRASS-7.0.app/Contents/MacOS/etc/python
> cp -Rfp /usr/local/lib/wxPython-unicode-2.8.10.1/lib/python2.5/site-packages/wx-2.8-mac-unicode/wxPython /Applications/GRASS/GRASS-7.0.app/Contents/MacOS/etc/python
> cp -fp /usr/local/lib/wxPython-unicode-2.8.10.1/lib/python2.5/site-packages/wxversion.py /Applications/GRASS/GRASS-7.0.app/Contents/MacOS/etc/python
> sed -i '' -e 's/^GRASS_WXBUNDLED=.*/GRASS_WXBUNDLED=1/' /Applications/GRASS/GRASS-7.0.app/Contents/MacOS/grass.sh
> cd /Users/cmbarton/grass_dev/grass70_dev/dist.i386-apple-darwin10.2.0 ; tar cBf - modbuild | (cd /Library/Application Support/GRASS/7.0 ; tar xBf - ) 2>/dev/null
> tar: modbuild: Cannot stat: No such file or directory
> tar: Error exit delayed from previous errors.
> /bin/ln -sfh "/Applications/GRASS/GRASS-7.0.app/Contents/MacOS/docs/html" /Library/Documentation/Help/GRASS-7.0
> cmb-MBP-2:grass70_dev cmbarton$ 
> 
> ============ grass 7 startup error ==========
> 
> Last login: Fri Jan  1 11:57:23 on ttys000
> '/Applications/Grass/GRASS-7.0.app/Contents/MacOS/grass.sh'; exit
> cmb-MBP-2:~ cmbarton$ '/Applications/Grass/GRASS-7.0.app/Contents/MacOS/grass.sh'; exit
> Rebuilding Addon HTML manual pages index...
> Rebuilding Addon menu...
> grep: /Library/Application: No such file or directory
> grep: Support/GRASS/7.0/Modules/bin/r.prominence: No such file or directory
> grep: /Users/cmbarton/Library/Application: No such file or directory
> grep: Support/GRASS/7.0/Modules/bin/r.prominence: No such file or directory
> Python 2.6.1 found.
> /Applications/Grass/GRASS-7.0.app/Contents/MacOS/etc/Init.sh: line 71: export: `.grass7': not a valid identifier
> Cleaning up temporary files ...
> Starting GRASS ...
> 
> 
> 
> Thanks
> Michael_______________________________________________
> grass-dev mailing list
> grass-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-dev

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

"This is a question about the past, is it? ... How can I tell that the past isn't a fiction designed to account for the discrepancy between my immediate physical sensations and my state of mind?"

- The Ruler of the Universe




More information about the grass-dev mailing list