[Toolserver-announce] Python change

River Tarnell river.tarnell at wikimedia.de
Fri Mar 19 11:57:54 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Unless you build your own Python extensions in C, you can ignore this
message.

Hi,

I'm about to install an new version of Python on the Solaris login
servers.  This is identical to the existing version, except it removes
the definitions of _XOPEN_SOURCE and _POSIX_C_SOURCE from the pyconfig.h
header.  This has two implications for building Python modules in C:

* You can now build with C99 (-xc99=all)
* The default compilation environment is Solaris, not XPGv5.
* You can now select your own preferred version of XPG instead of being
  forced to use XPGv5.

To build with C99, compile with '-xc99=all'.  To build with XPGv6
instead of XPGv5, use '-D_XOPEN_SOURCE=600 -xc99=all'.  If your
extension requires the old behaviour (XPGv5), build with
'-D_XOPEN_SOURCE=500'.

	- river.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (HP-UX)

iEYEARECAAYFAkujZsIACgkQIXd7fCuc5vJ9EwCfTuqf6NMDoAucAeq8+vVXSbg+
5r4AnAgDJP48nvpu/E7dSN5yGCjKiybf
=B/wS
-----END PGP SIGNATURE-----



More information about the Toolserver-announce mailing list