[GRASS-dev] Re: [GRASS GIS] #38: configure.in: wxwidgets and python checks

2008-02-15 Thread GRASS GIS
#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

Re: [GRASS-dev] Re: [GRASS GIS] #38: configure.in: wxwidgets and python checks

2008-02-15 Thread Glynn Clements
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)

Re: [GRASS-dev] Re: [GRASS GIS] #38: configure.in: wxwidgets and python checks

2008-02-15 Thread Martin Landa
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

Re: [GRASS-dev] Re: [GRASS GIS] #38: configure.in: wxwidgets and python checks

2008-02-14 Thread Glynn Clements
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

Re: [GRASS-dev] Re: [GRASS GIS] #38: configure.in: wxwidgets and python checks

2008-02-14 Thread Martin Landa
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

Re: [GRASS-dev] Re: [GRASS GIS] #38: configure.in: wxwidgets and python checks

2008-02-12 Thread Martin Landa
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}

Re: [GRASS-dev] Re: [GRASS GIS] #38: configure.in: wxwidgets and python checks

2008-02-11 Thread Glynn Clements
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

Re: [GRASS-dev] Re: [GRASS GIS] #38: configure.in: wxwidgets and python checks

2008-02-11 Thread Glynn Clements
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

Re: [GRASS-dev] Re: [GRASS GIS] #38: configure.in: wxwidgets and python checks

2008-02-10 Thread Ivan Shmakov
> 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|--

Re: [GRASS-dev] Re: [GRASS GIS] #38: configure.in: wxwidgets and python checks

2008-02-10 Thread Martin Landa
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

Re: [GRASS-dev] Re: [GRASS GIS] #38: configure.in: wxwidgets and python checks

2008-02-10 Thread Glynn Clements
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? >

[GRASS-dev] Re: [GRASS GIS] #38: configure.in: wxwidgets and python checks

2008-02-09 Thread Michael Barton
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:

Re: [GRASS-dev] Re: [GRASS GIS] #38: configure.in: wxwidgets and python checks

2008-02-09 Thread Hamish
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

Re: [GRASS-dev] Re: [GRASS GIS] #38: configure.in: wxwidgets and python checks

2008-02-09 Thread Martin Landa
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

Re: [GRASS-dev] Re: [GRASS GIS] #38: configure.in: wxwidgets and python checks

2008-02-09 Thread William Kyngesburye
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]>:

Re: [GRASS-dev] Re: [GRASS GIS] #38: configure.in: wxwidgets and python checks

2008-02-09 Thread Martin Landa
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

Re: [GRASS-dev] Re: [GRASS GIS] #38: configure.in: wxwidgets and python checks

2008-02-09 Thread Martin Landa
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

Re: [GRASS-dev] Re: [GRASS GIS] #38: configure.in: wxwidgets and python checks

2008-02-09 Thread Hamish
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

Re: [GRASS-dev] Re: [GRASS GIS] #38: configure.in: wxwidgets and python checks

2008-02-09 Thread Glynn Clements
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

Re: [GRASS-dev] Re: [GRASS GIS] #38: configure.in: wxwidgets and python checks

2008-02-08 Thread Martin Landa
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. > > > > {{{ > >-

Re: [GRASS-dev] Re: [GRASS GIS] #38: configure.in: wxwidgets and python checks

2008-02-08 Thread Glynn Clements
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,

[GRASS-dev] Re: [GRASS GIS] #38: configure.in: wxwidgets and python checks

2008-02-08 Thread GRASS GIS
#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

[GRASS-dev] Re: [GRASS GIS] #38: configure.in: wxwidgets and python checks

2008-02-05 Thread GRASS GIS
#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