<div dir="ltr"><div>Dear Veronika,</div><div><br></div><div>Thank you for awesome analysis. I don't have an answer, but I'm struggling with the same and I thought it might be a good idea to connect the related discussions:</div><div><br></div><div>[GRASS-dev] Automatic/CI compilation on macOS</div><div><a href="https://lists.osgeo.org/pipermail/grass-dev/2020-March/094187.html">https://lists.osgeo.org/pipermail/grass-dev/2020-March/094187.html</a></div><div><a href="https://lists.osgeo.org/pipermail/grass-dev/2020-March/094207.html">https://lists.osgeo.org/pipermail/grass-dev/2020-March/094207.html</a></div><div><br></div><div>[Bug] Update build GRASS as macOS application #457 (linked comment and below)<br></div><div><a href="https://github.com/OSGeo/grass/issues/457#issuecomment-603575140">https://github.com/OSGeo/grass/issues/457#issuecomment-603575140</a></div><div><br></div><div>Vaclav<br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Mar 27, 2020 at 12:49 PM Veronika Grupp <<a href="mailto:vroni.grupp@web.de">vroni.grupp@web.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;">Dear GRASS GIS users,<div><br></div><div>After installing GRASS GIS via Homebrew I encountered a problem when I tried to create a new location and set the projection. (I also posted this question on Stackoverflow: <a href="https://stackoverflow.com/questions/60871421/grass-gis-installed-with-homebrew-create-new-location-cannot-find-proj-db-err" target="_blank">https://stackoverflow.com/questions/60871421/grass-gis-installed-with-homebrew-create-new-location-cannot-find-proj-db-err</a>) </div><div>Maybe someone of you has encountered the same problem or has any idea what might be the issue..</div><div><br></div><div>I work on MacOS Catalina and installed the latest stable release of
GRASS GIS (7.8.2) with Homebrew via the osgeo/osgeo4mac tap using the
commands <code>brew tap osgeo/osgeo4mac</code> and <code>brew install osgeo-grass</code> (as described on the GRASS website <a href="https://grasswiki.osgeo.org/wiki/Compiling_on_MacOSX_using_homebrew" rel="nofollow noreferrer" target="_blank">https://grasswiki.osgeo.org/wiki/Compiling_on_MacOSX_using_homebrew</a>).</div><div><p>To get the GUI working also <code>pip3 install wxpython</code> was necessary.
I could start GRASS with <code>grass78</code> on the commandline. When I tried to create a new location and to set the projection/crs </p>

<ol>
<li>I could not specify an EPSG code </li>
<li>browsing a georeferenced file to use its projection threw the error: "proj_get_authorities_from_database: Cannot find proj.db"</li>
</ol><p>and creation of location was cancelled.</p><p>Regarding 1. EPSG codes: the newest proj version does not provide a
file with epsg codes, seems like this was already an issue in GRASS 7.6
combined with proj 6.x (<a href="https://trac.osgeo.org/grass/ticket/3863" rel="nofollow noreferrer" target="_blank">https://trac.osgeo.org/grass/ticket/3863</a>) but still couldn't find a way to get it working e.g. with another epsg file copied into the directory.</p><p>Regarding 2. I tried several things that didn't work:</p><p>I installed proj 5 (with <code>brew install osgeo-proj@5</code>) and also proj 6 (with a bottle from <a href="https://bottle.download.osgeo.org/?C=N&O=A" rel="nofollow noreferrer" target="_blank">https://bottle.download.osgeo.org/?C=N&O=A</a>) but it throws errors at the same point saying that some library (refering proj) was not loaded and image was not found.</p><p>I tried to set the environment variable PROJ_LIB in .zshenv to the
respective path where proj.db is located (for version 6 and 7
respectively), still it threw the same error(s).</p><p>Do I need to set any other environment variables or might it be something related to GDAL?</p><div>Thank you very much. </div><div>Veronika</div></div></div>
_______________________________________________<br>
grass-user mailing list<br>
<a href="mailto:grass-user@lists.osgeo.org" target="_blank">grass-user@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/grass-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/grass-user</a></blockquote></div>