[GRASS-dev] g.extension, svn, and Mac

Michael Barton Michael.Barton at asu.edu
Tue Aug 4 10:27:23 PDT 2020


Steven,

What happens if you open a terminal window and type 'svn' followed by a return?

Michael
____________________
C. Michael Barton
Director, Center for Social Dynamics & Complexity
Director, Network for Computational Modeling in Social & Ecological Sciences
Professor of Anthropology, School of Human Evolution & Social Change
Head, Graduate Faculty in Complex Adaptive Systems Science
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, https://complexity.asu.edu/csdc'



















On Aug 3, 2020, at 6:53 PM, Steven Pawley <dr.stevenpawley at gmail.com<mailto:dr.stevenpawley at gmail.com>> wrote:

Perhaps a different issue,  but I can install extensions, but only pure python-based extensions. Anything that requires compilation of C code fails.

For example, when using the latest GRASS GIS binary (7.9, 25th July 2020 build), this works with r.texture.tiled:

Fetching <r.texture.tiled> from GRASS GIS Addons repository (be patient)...
Compiling...
Installing...
Updating extensions metadata file...
Updating extension modules metadata file...
Installation of <r.texture.tiled> successfully finished

But for example, r.fill.gaps does not:

g.extension extension=r.fill.gaps
Fetching <r.fill.gaps> from GRASS GIS Addons repository (be patient)...
Compiling...
clang-10: warning: no such sysroot directory:
'/Users/cmbarton/SDKs/MacOSX10.14.sdk' [-Wmissing-sysroot]
cell_funcs.c:21:10: fatal error: 'math.h' file not found
#include <math.h>
         ^~~~~~~~
1 error generated.
make: *** [OBJ.x86_64-apple-darwin19.5.0/cell_funcs.o] Error
1
ERROR: Compilation failed, sorry. Please check above error messages.

The 7.9-dev build throws an error because it appears to be still looking for components based on your system, specifically.,The 7.8.4 binary (16th July 2020 build) also throws the same error. I’m running the MacOS 10.15.6.

Steve


On Aug 2, 2020, at 4:44 PM, Michael Barton <Michael.Barton at asu.edu<mailto:Michael.Barton at asu.edu>> wrote:

I just learned yesterday, when I tried to install something from g.extension that:

1. g.extension uses svn to download packages, and
2. Apple stopped including svn with the current OS (10.15.x) and its developer tools

I don't know if anyone else has run into this yet, but it could be an increasingly sticky issue going forward. Unless there are plans to change how g.extension gets packages, I suppose I need to include it in the Mac app bundle.

Has anyone else hit this yet?

Michael
____________________
C. Michael Barton
Director, Center for Social Dynamics & Complexity
Director, Network for Computational Modeling in Social & Ecological Sciences
Professor of Anthropology, School of Human Evolution & Social Change
Head, Graduate Faculty in Complex Adaptive Systems Science
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<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.public.asu.edu_-7Ecmbarton&d=DwMFaQ&c=l45AxH-kUV29SRQusp9vYR0n1GycN4_2jInuKy6zbqQ&r=lk-7X7CEOMDN8GaGVhiDsuO6gEp1wbG6nfT1XEEEtR0&m=esHRRZODAbgeKk6vYVpJkYSszGdc2vYZgvM7W5jtUjk&s=wLo54OaOggTCfa9dMnza-vU7d8tllnb8G9z7MW3tF38&e=>, https://complexity.asu.edu/csdc'<https://urldefense.proofpoint.com/v2/url?u=https-3A__complexity.asu.edu_csdc-27&d=DwMFaQ&c=l45AxH-kUV29SRQusp9vYR0n1GycN4_2jInuKy6zbqQ&r=lk-7X7CEOMDN8GaGVhiDsuO6gEp1wbG6nfT1XEEEtR0&m=esHRRZODAbgeKk6vYVpJkYSszGdc2vYZgvM7W5jtUjk&s=-cLS2YOXOnAMIbnQqtJQAbmXsjh9CVUVr2PzI6yj6FE&e=>



















_______________________________________________
grass-dev mailing list
grass-dev at lists.osgeo.org<mailto:grass-dev at lists.osgeo.org>
https://lists.osgeo.org/mailman/listinfo/grass-dev


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20200804/b1c768ca/attachment-0001.html>


More information about the grass-dev mailing list