Re: How to install grass development package

ming han <[email protected]>
Newsgroups gmane.comp.gis.grass.devel
Message-ID <CAD+uAWg1rD=mCdZXn5JmO3_36CvhO=30f73fizJ_o_1TQeqdYg@mail.gmail.com>
Hi Nicklas

   Many thanks for your reply. I solve the problem by 1) configure the
grass source code and then make. 2) modify the make.platform in the
generated /include/Make folder. and then compile the grass addons for my
QGIS GRASS with these files.

   I guess following your suggestions install whole grass is a more clean
solution to me. I will try that later.

Thanks again for all your kind support

Ming

Nicklas Larsson <[email protected]> 于2020年9月7日周一 上午8:52写道:

> Hi Ming,
>
> The bundled mac distributions are normally pre-packaged with all
> dependencies needed, including python. In those cases it is difficult to
> change python version.
>
> Again, if you need close integration to QGIS, the following may not answer
> to your needs:
>
> A standard unix-like build of GRASS is python version independent, which
> means it is enough to set the environment variable GRASS_PYTHON to the
> python binary of choice (e.g. GRASS_PYTHON=/usr/local/bin/python3.8). This
> also works on mac. The problem on Mac is how to deal with dependencies. I
> personally make use of MacPorts for GRASS development and testing. I first
> install GRASS with MacPorts, then I have the dependencies I need in
> /opt/local, which can be used for configure, make and make install [1].
>
> Alternatively, you can build your own GRASS.app with grass-conda [2]
> building script. You can duplicate the default/conda-requirements-dev.txt,
> set appropriate python version and use the new file as --conda-file.
>
>
> / Nicklas
>
>
> [1] https://grasswiki.osgeo.org/wiki/Compile_and_Install
> [2] https://github.com/nilason/grass-conda
>
>
>
> > On Saturday, 5 September 2020, 04:15:17 CEST, ming han <
> [email protected]> wrote:
> >
> > Hi everyone
> >
> >    Thanks for all your help. Is it possible for me to build grass with a
> specific python version? And how to do that?
> >
> > Thanks
> > Ming
>
>
>

_______________________________________________
grass-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/grass-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.