<div dir="auto"><div dir="ltr"><div dir="ltr"><div>Hi Vaclav,</div><div><br></div><div>For the last week I've tried to build grass with conda-build on Linux. It failed in different ways. Even the available online recipes that are supposed to work (CSDMS, iota2), fail to build on my computer.</div><div>The grass build system is a bit confusing, sometimes it completes while failing to build most of the tools. The grass78 binary will work, but basically nothing else will.</div><div>I have almost zero knowledge of autotools and the build system of GRASS seems quite complex. Therefore I do not understand which issues the patches in the existing recipes are supposed to solve, and how to solve the compilation problems I ran into.</div><div>I believe this work should be undertaken by someone who understands how the build system works.</div><div dir="auto">In the only conda binary package I made, I solved the building issues by switching the original Makefile for a CMakeLists. But it was a very simple software. Building grass with cmake is likely to require quite a bit of work. And my knowledge of cmake is very slim anyway.</div><div dir="auto"><br></div><div dir="auto">This is a topic of interest to me, and I would be glad to help, but I am afraid I can't do much.</div><div dir="auto"><br></div><div dir="auto">Best,</div><div dir="auto">Laurent</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le lun. 1 juin 2020 à 21:09, Vaclav Petras <<a href="mailto:wenzeslaus@gmail.com" target="_blank" rel="noreferrer">wenzeslaus@gmail.com</a>> a écrit :<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 dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, May 31, 2020 at 10:10 AM Laurent C. <<a href="mailto:lrntct@gmail.com" target="_blank" rel="noreferrer">lrntct@gmail.com</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 dir="ltr"><br><div>It would be great if there was a set a consistent, up-to-date conda GRASS packages on conda-forge for the 3 main OS.<br></div><div>Looking at the amount of recipes already existing, it seems that there is an interest:<br></div><div><a href="https://anaconda.org/search?q=grass" target="_blank" rel="noreferrer">https://anaconda.org/search?q=grass</a></div><div><a href="https://github.com/search?q=grass+conda" target="_blank" rel="noreferrer">https://github.com/search?q=grass+conda</a></div><div><br></div><div>Unfortunately, none of them are up-to-date, some are for Linux, other for OSX, none for Windows, and none are on conda-forge.</div></div></blockquote><div><br></div><div><div>Hi Laurent,</div><div><br></div><div>That would be great. Here is how far I got:</div><div><br></div><div>conda-based compilation:<br></div><div><a href="https://github.com/GRASS-GIS/grass-gis-experimental-ci/tree/conda-compile" target="_blank" rel="noreferrer">https://github.com/GRASS-GIS/grass-gis-experimental-ci/tree/conda-compile</a></div><div><br></div><div>conda package recipe (macOS & Linux):<br></div><div><a href="https://github.com/csdms-stack/grass-recipe/pull/1" target="_blank" rel="noreferrer">https://github.com/csdms-stack/grass-recipe/pull/1</a></div><div><br></div><div>Homebrew:<br></div><div><a href="https://github.com/GRASS-GIS/grass-gis-experimental-ci/tree/homebrew-osgeo4mac" target="_blank" rel="noreferrer">https://github.com/GRASS-GIS/grass-gis-experimental-ci/tree/homebrew-osgeo4mac</a></div><div></div></div><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div> All of them rely on a good amount of patches to allow the compilation.<br></div></div></blockquote><div><br></div><div>The patches are same or similar, so it would make sense to have the fix in place or at least the patch in the source code itself both to share it and to keep the workaround visible.<br></div><div><br></div><div><div><div>Best,</div><div>Vaclav</div><div><br></div></div></div></div></div>
</blockquote></div>
</div></div>