I was able to compile ROOT myself and make pyROOT work with the python 2.7 from MacPorts. I had to do the following:
sudo port install glew +x11
(ref: [url]Problem OpenGL on Mac OS X 10.6 - Fixed )
mkdir ~/Software;cd ~/Software
svn co http://root.cern.ch/svn/root/trunk root
cd root
./configure macosx64 --enable-python --with-python-incdir=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/ --with-python-libdir=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/
make[/code]
Where you may have to substitute in the --with-python-incdir the directory where "Python.h" lives for the python you want to use, and the --with-python-libdir for libpython2.7.dylib.
I ran into some compilation errors, which were fixed by
[code]make distclean-xrootd
make all-xrootd
make[/code]
(ref [url]https://root-forum.cern.ch/t/install-issue-symbol-missing/11179/1 )
And finally
[code]. bin/thisroot.sh
export LD_LIBRARYPATH=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib:$LD_LIBRARYPATH
export PYTHONPATH=$ROOTSYS/lib:$PYTHONPATH
Those last two should be in one of your bash startup scripts. Now pyROOT works!