#38: configure.in: wxwidgets and python checks
--+-
Reporter: martinl | Owner: grass-dev@lists.osgeo.org
Type: task | Status: closed
Priority: minor| Milestone: 6.4.0
Martin Landa wrote:
> > Although, personally I wouldn't bother with the --includes and --libs
> > checks. Those flags are already included in the --cflags and --ldflags
> > checks. Having separate variables could lead to confusion; e.g. using
> > $(PYTHON_INCLUDES) instead of $(PYTHON_CFLAGS)
Hi,
2008/2/15, Glynn Clements <[EMAIL PROTECTED]>:
> Martin Landa wrote:
>
> > > The last version of patch [1] uses --with-python=[path/python-config]
> > > approach. Since I am not autoconf guru I cannot comment Ivan's notes.
> > >
> > > [1] http://trac.osgeo.org/grass/attachment/ticket/38
Martin Landa wrote:
> > The last version of patch [1] uses --with-python=[path/python-config]
> > approach. Since I am not autoconf guru I cannot comment Ivan's notes.
> >
> > [1] http://trac.osgeo.org/grass/attachment/ticket/38/configure_wx-3.diff
>
> not sure, are there any objections to com
Hi,
2008/2/12, Martin Landa <[EMAIL PROTECTED]>:
[snip]
> The last version of patch [1] uses --with-python=[path/python-config]
> approach. Since I am not autoconf guru I cannot comment Ivan's notes.
>
> [1] http://trac.osgeo.org/grass/attachment/ticket/38/configure_wx-3.diff
not sure, are th
Hi,
2008/2/11, Glynn Clements <[EMAIL PROTECTED]>:
> Martin Landa wrote:
> > > In any case, that's why we need to allow e.g.
> > > --with-python=python2.4-config
> > >
> > > > I will upgrade configure to check also for python${PYVERSION}-config.
> > >
> > > Where are you going to get ${PYVERSION}
Ivan Shmakov wrote:
> > You can currently run with --with-python=/usr/bin/python2.5 to
> > force using version 2.5.
>
> BTW, there're some Python-related Autoconf code in Automake and
> in the Autoconf Macro Archive, e. g.:
>
> $ dpkg -S python.m4
> autoconf-archive: /usr/share/a
Martin Landa wrote:
> > In any case, that's why we need to allow e.g.
> > --with-python=python2.4-config
> >
> > > I will upgrade configure to check also for python${PYVERSION}-config.
> >
> > Where are you going to get ${PYVERSION} from before you've located the
> > python-config program? If the
> Martin Landa <[EMAIL PROTECTED]> writes:
[...]
> Python version is determined from small python script(s).
[...]
> I didn't change this part of configure script.
> The problem with python-config is that there is *no* version
> switch.
> Usage: /usr/bin/python-config
> [--prefix|--
Hi,
2008/2/10, Glynn Clements <[EMAIL PROTECTED]>:
> > > > FWIW, on my system (Debian/stable) there is no python-config in sight.
> > > >
> > > > $ locate python-config
> > > > $ apt-file search bin/python-config
> > > > $
> > > >
> > > > nothin.
> > > > (apt-file searches all packages in the ent
Martin Landa wrote:
> > > FWIW, on my system (Debian/stable) there is no python-config in sight.
> > >
> > > $ locate python-config
> > > $ apt-file search bin/python-config
> > > $
> > >
> > > nothin.
> > > (apt-file searches all packages in the entire Debian(/stable) archive)
> > > renamed?
>
On Feb 9, 2008, at 5:15 PM, [EMAIL PROTECTED] wrote:
Date: Sun, 10 Feb 2008 01:15:12 +0100
From: "Martin Landa" <[EMAIL PROTECTED]>
Subject: Re: [GRASS-dev] Re: [GRASS GIS] #38: configure.in: wxwidgets
and python checks
To: Hamish <[EMAIL PROTECTED]>
Cc:
Martin Landa wrote:
> > python-config is part of *python-dev* package (only Debian
> > testing/unstable, it is not included in Etch). I don't know about
> > Mac/Windows Python distribution.
>
> on Etch
>
> python2.4-dev: usr/bin/python2.4-config
> python2.5-dev: usr/bin/python2.5-config
>
> I wi
HI,
2008/2/9, Glynn Clements <[EMAIL PROTECTED]>:
[snip]
> I wouldn't assume that you can compile Python extensions without it.
>
> For simple libraries, it's enough to know what the header and library
> files are called and to let the user specify where they can be found.
>
> For complex "subsyst
On OSX, python-config is included in the python.org python framework,
and in Apple's python 2.5 in Leopard. It is not in Apple's old python
2.3, but most users know to install python.org's python.
On Feb 9, 2008, at 6:15 PM, Martin Landa wrote:
Hi,
2008/2/10, Hamish <[EMAIL PROTECTED]>:
Hi,
2008/2/10, Martin Landa <[EMAIL PROTECTED]>:
[skip]
> > FWIW, on my system (Debian/stable) there is no python-config in sight.
> >
> > $ locate python-config
> > $ apt-file search bin/python-config
> > $
> >
> > nothin.
> > (apt-file searches all packages in the entire Debian(/stable) archi
Hi,
2008/2/10, Hamish <[EMAIL PROTECTED]>:
> Glynn:
> > E.g. on my system:
> >
> > $ python-config --cflags
> > -I/usr/include/python2.4 -I/usr/include/python2.4
> > -fno-strict-aliasing -DNDEBUG
> >
> > Okay, so --with-python-includes=-I/usr/include/python2.4 might
> > suffice, depend
Glynn:
> E.g. on my system:
>
> $ python-config --cflags
> -I/usr/include/python2.4 -I/usr/include/python2.4
> -fno-strict-aliasing -DNDEBUG
>
> Okay, so --with-python-includes=-I/usr/include/python2.4 might
> suffice, depending upon whether or not the code actually uses
> anything wh
Martin Landa wrote:
> > > Based on Glynn's notes I updated the patch (see configure_wx-1.diff)
> > >
> > > Instead of --with-python=path/py-config is used
> > > --with-python=path/python.
> > > Configure also checks for python-config.
> > >
> > > {{{
> > >--with-python[=path/python] enab
Hi,
2008/2/8, Glynn Clements <[EMAIL PROTECTED]>:
>
> GRASS GIS wrote:
>
> > Based on Glynn's notes I updated the patch (see configure_wx-1.diff)
> >
> > Instead of --with-python=path/py-config is used --with-python=path/python.
> > Configure also checks for python-config.
> >
> > {{{
> >-
GRASS GIS wrote:
> Based on Glynn's notes I updated the patch (see configure_wx-1.diff)
>
> Instead of --with-python=path/py-config is used --with-python=path/python.
> Configure also checks for python-config.
>
> {{{
>--with-python[=path/python] enable Python support (python with path,
#38: configure.in: wxwidgets and python checks
--+-
Reporter: martinl | Owner: grass-dev@lists.osgeo.org
Type: task | Status: new
Priority: minor| Milestone: 6.4.0
#38: configure.in: wxwidgets and python checks
--+-
Reporter: martinl | Owner: grass-dev@lists.osgeo.org
Type: task | Status: new
Priority: minor| Milestone: 6.4.0
23 matches
Mail list logo