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
