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

From: Chris Jones <jonesc_at_hep.phy.cam.ac.uk>
Date: Tue, 13 Sep 2011 19:27:39 +0100


>
> Sorry but no, thats not the way it works. The build cannot and should not rely on what the user has set up via their PATHS as their 'default' version. It is perfectly possible that a user wants python2.7 as their default but then chooses to build root against python2.6.

I've just remembered another reason why this cannot work, which is in the latest MacPorts releases the builds are not run as the normal user (or root via sudo), but as a special 'macports' user. So even if the user has setup their environment to pick their favourite python version via their PATH, the build itself will not see this.

cheers Chris

Received on Tue Sep 13 2011 - 20:27:49 CEST

This archive was generated by hypermail 2.2.0 : Tue Sep 13 2011 - 23:50:02 CEST