[GRASS-dev] Re: [GRASS GIS] #38: configure.in: wxwidgets and
woklist at kyngchaos.com
Sat Feb 9 19:37:47 EST 2008
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:
> 2008/2/10, Hamish <hamish_b at yahoo.com>:
>>> 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 which violates C aliasing rules and/or the extent to which
>>> the compiler takes advantage of them (I presume the
>>> -fno-strict-aliasing flag is there for a reason).
>>> But that's on my system. There's no telling what additional flags it
>>> might need on some other system.
>> FWIW, on my system (Debian/stable) there is no python-config in
>> $ locate python-config
>> $ apt-file search bin/python-config
>> (apt-file searches all packages in the entire Debian(/stable)
> 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.
>> Never miss a thing. Make Yahoo your home page.
> Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/
> ~landa *
> grass-dev mailing list
> grass-dev at lists.osgeo.org
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
"Those people who most want to rule people are, ipso-facto, those
least suited to do it."
- A rule of the universe, from the HitchHiker's Guide to the Galaxy
More information about the grass-dev