[MacPorts] #30321: root @5.30.00, Revision 1 build fails on OS X Lion
MacPorts
noreply at macports.org
Thu Aug 18 04:13:45 PDT 2011
#30321: root @5.30.00, Revision 1 build fails on OS X Lion
--------------------------------------+-------------------------------------
Reporter: Deil.Christoph@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.0
Keywords: lion | Port: root
--------------------------------------+-------------------------------------
Comment(by justin.garofoli@…):
I got it to work with the following:
{{{
#> sudo port -vf install root +gcc44 +python26
}}}
after that I had an import error:
{{{
#>python
Python 2.6.7 (r267:88850, Aug 18 2011, 08:03:41)
[GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] on
darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import ROOT
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/ROOT.py", line 85, in <module>
import libPyROOT as _root
ImportError: No module named libPyROOT
>>>
}}}
which I fixed with a tip from here
([https://bugs.launchpad.net/ubuntu/+source/root-system/+bug/512600]):
{{{
#>python
Python 2.6.7 (r267:88850, Aug 18 2011, 08:03:41)
[GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] on
darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.path.append('/opt/local/lib/root/')
>>> import ROOT
>>> br = ROOT.TBrowser()
>>>
}}}
--
Ticket URL: <https://trac.macports.org/ticket/30321#comment:10>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list