On Wed, Jan 2, 2013 at 11:24 AM, Maciej Sieczka <[email protected]> wrote:
> Hi,
>
> On Arch GNU/Linux the `python' executable by default links to `python3'. To
> use Python 2.x, one has to call `python2' explicitely. This requires Archers
> to tweak include/Make/Platform.make.in and each GRASS python executable to
> build and use GRASS (e.g. like in
> https://aur.archlinux.org/packages/gr/grass7-svn/PKGBUILD).
>
> Can GRASS make system be changed so that the python executable used during
> GRASS build and runtime is configurable?
I checked and found this:
[neteler@north grass64]$ sh configure --help 2>&1 | grep python
--with-python[=path/python-config]
(python-config with path, e.g.
'--with-python=/usr/bin/python2.5-config',
which sets
AC_SUBST(PYTHONINC)
AC_SUBST(PYTHONCFLAGS)
AC_SUBST(PYTHONLDFLAGS)
AC_SUBST(USE_PYTHON)
AC_SUBST(MACOSX_ARCHS_PYTHON)
This has been removed from GRASS 7:
[neteler@north grass70]$ sh configure --help 2>&1 | grep python
[neteler@north grass70]$
Perhaps this change should be reverted?
http://trac.osgeo.org/grass/changeset/45388
Markus
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev