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]>:
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 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 sight.

$ locate python-config
$ apt-file search bin/python-config
$

nothin.
(apt-file searches all packages in the entire Debian(/stable) archive)
renamed?

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.

Martin
____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page.
http://www.yahoo.com/r/hs




--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/ ~landa *
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.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


_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to