[MacPorts] #31119: root +python26 fails in destroot because ROOT.py is not found
MacPorts
noreply at macports.org
Tue Sep 13 11:48:10 PDT 2011
#31119: root +python26 fails in destroot because ROOT.py is not found
------------------------------------+---------------------------------------
Reporter: a2piratesoft@… | Owner: mattiafrancescomoro@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.2
Keywords: | Port: root
------------------------------------+---------------------------------------
Comment(by jonesc@…):
I've made some progress on understand what I think is going on here.
The problem is with the ROOT configure script. When python support is
enabled, it does various things including things along the lines of
{{{
pythonvers=`python -c 'import sys; sys.stdout.write(sys.version[:3])'`
}}}
The problem with that lines it assumes the python version being used is
called 'python' and is found via the PATH variable.... Which isn't the
case for MacPorts.
This explains why when I was on SL python26 worked OK, but I never
managed to get python27 working, whereas on Lion its the other way around
(*).
I'm debating the wisdom of this with the ROOT devs. Its not clear if
anything will change.
So, for the moment at least the situation is the only python variants
which will work are the ones that are the same version as the system
python version, so 2.7 on Lion and 2.6 on SL.
(*) I am currently running a check to make sure the 2.7 variant on Lion
works OK... Once it does I'll submit the patch for inclusion.
--
Ticket URL: <https://trac.macports.org/ticket/31119#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list