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

From: <wlavrijsen_at_lbl.gov>
Date: Tue, 13 Sep 2011 11:13:10 -0700


Chris,

> pythonvers=`python -c 'import sys; sys.stdout.write(sys.version[:3])'`

yes, the upshot here is that 'python' is taken from PATH, which in practice gives the least confusion.

> I need to be able to inform the ./configure script that the python binary
> name it should use is 'python2.6', and not 'python'. Is there anyway to do
> this ?

Is it possible to add the MacPorts python to PATH? In particular, AFAIK, there are three MacPorts pythons supplied (p2.5 through p2.7) so I'd say that it is preferable to have whichever of these is "active" rather than a specific python.

Best regards,

            Wim

-- 
WLavrijsen_at_lbl.gov    --    +1 (510) 486 6411    --    www.lavrijsen.net
Received on Tue Sep 13 2011 - 20:11:07 CEST

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