Opened 15 years ago
Last modified 13 years ago
#23856 closed defect
root@5.26.00 does not include python in build process — at Version 3
Reported by: | cdeil (Christoph Deil) | Owned by: | mattiafrancescomoro@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.8.2 |
Keywords: | Cc: | ||
Port: | root |
Description (last modified by mf2k (Frank Schima))
Hi,
I have installed the following versions of ROOT and python:
root @5.26.00 python26 @2.6.4
When macport builds ROOT it doesn't include python in the build process, so the ROOT--python interface doesn't work.
This problem has been discussed and solved in a ROOT forum at http://root.cern.ch/phpBB2/viewtopic.php?p=42528&sid=fbcc66d406ab75c34f708229d42a6a04
The solution is to configure ROOT to include python before building:
./configure --prefix=/opt/local --with-python-incdir=/opt/local/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 --with-python-libdir=/opt/local/lib
How can I tell macport to do this? If possible it would be nice if someone could make this the default behaviour when installing ROOT with macports and python is already installed.
Thanks! --Christoph
python26 @2.6.4
Change History (3)
comment:1 Changed 15 years ago by jmroot (Joshua Root)
Keywords: | pyroot removed |
---|---|
Owner: | changed from macports-tickets@… to mattiafrancescomoro@… |
Port: | root added |
Summary: | root@5.26.00 Include python in build process → root@5.26.00 does not include python in build process |
comment:2 Changed 15 years ago by andre.david@…
One way you have is to edit the Portfile
:
sudo emacs -nw `port file root`
and add the incdir and libdir yourself. You can figure out how to do it from all other lines.
comment:3 Changed 15 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|
Please remember to fill in the Port field and cc the maintainer.