Re: problems build root on OSX against non-system python version

From: Brett Viren <bv_at_bnl.gov>
Date: Tue, 13 Sep 2011 17:32:26 -0400


Chris Jones <jonesc_at_hep.phy.cam.ac.uk> writes:

> They already are, just not as 'python'. They are available as
> 'python2.6' and 'python2.7'. MacPorts supports multiple python
> versions so cannot just call them 'python'.

Hmm, that seems rather unusual. How do scripts starting with "#!/usr/bin/env python" ever get run on such a system?

Anyways, in your build environment you can define "python" to be an alias or as a bash function and have it point to the desired "python2.X".

-Brett.

Received on Tue Sep 13 2011 - 23:32:36 CEST

This archive was generated by hypermail 2.2.0 : Wed Sep 14 2011 - 05:50:01 CEST