[GRASS-dev] python2/3 and GRASS build on Arch

Martin Landa landa.martin at gmail.com
Wed Jan 2 13:21:42 PST 2013


Hi,

2013/1/2 Markus Neteler <neteler at osgeo.org>:
> [neteler at 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 at north grass70]$ sh configure --help 2>&1 | grep python
> [neteler at north grass70]$
>
> Perhaps this change should be reverted?
> http://trac.osgeo.org/grass/changeset/45388

AFAIK no, it was used to build executables against python libs. There
is nothing to be build against python libs in G7.

Specifying PYTHON variable in Platform.make.in (currently hardcoded to
'python') should be enough

include/Make/Platform.make:PYTHON              = python

Martin

-- 
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa


More information about the grass-dev mailing list