-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi,
I need to build an RPM of ujson for RHEL5 targeting Python2.6. This will be deployed on "front end" boxes that do not have a compiler installed (hence I can't just pip install the damn thing). All the RHEL5 machines have Python 2.4, 2.5 and 2.6 installed with the default being 2.4 (what you get from /usr/bin/python). If I run setup in the root of the ujson project like this: $ python2.6 setup.py bdist_rpm I notice from the output from GCC that the script has the -fPIC flag reference /usr/include/python2.4 :-( Obviously, compilation is being done against the wrong version of Python. Anyone know how to pass in or force the version to Python 2.6? Many thanks, Nicholas. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iQEcBAEBAgAGBQJRBj6DAAoJEP0qBPaYQbb6zhEIAKBRAxOmrq3XcBxG9PAlhMFf 9yYQ5cXumEFHMAyEM+DB9my+/VKojyWCYnsdkw5hSPheblyzdNExToqNOsNkgs+V Yg5OJ7/8G0mHi0Q/PjTLPdGtyuL4nRWTu2oOorq1MI9gZYAhAve9J1v1uYN6DJ1u 97DoAda4VaIQoRAjT4M1m9w3lrj8w90Ke6vFLTlctjo3ln64yD86MXinT1xa8Y3F 2Kzskm6/0Bpis16ek4+xS5tOxVWw6AtxmV2r3Oxx8PjQpleh3ewZjDE1B9217613 QpSI3kkhhl7Di+4O+W9HTNBOosnFodFk6UJjroRJb57opYejj+gymBfQzxktQKM= =x/Jb -----END PGP SIGNATURE----- _______________________________________________ python-uk mailing list python-uk@python.org http://mail.python.org/mailman/listinfo/python-uk