Please find the MPL_SUPP_CFLAGS and MPL_SUPP_CXXFLAGS environment variables in the yt install script and set them both to:


This should fix it. I'm not sure if Matt has this included in the latest version of the install script yet or not for Mountain Lion builds, but he was planning on it. 



On Aug 6, 2012, at 2:11 PM, Nathan Goldbaum wrote:

I think John Zuhone may have run into this.  Copy/pasting from google+:

For those having trouble compiling matplotlib on Mountain Lion due to ostream/instantiation/ft2font errors, setting the compiler flags to -mmacosx-version-min=10.7" should fix it. 

I have no idea how he set the compile flags or whether this will work for you.  Sorry that I can't give you more detailed instructions...



On Aug 6, 2012, at 11:07 AM, Devin Silvia wrote:

Howdy yt-dev,

I just recently got a brand-spankin' new mac laptop and I'm trying to
see if I can get yt installed.  I'm upgraded to Mountain Lion, so I
realize I might be in unexplored territory, but I thought maybe I
could get the tips and trick for getting things installed on Lion and
perhaps they will translate well.  As it stands currently, the install
script is failing when it tries to install matplotlib and it seems to
be an issue with freetype (or perhaps the compiler).  This is the
output of yt_install.log after pip successfully installs:

Any help/suggestions would be greatly appreciated.


"I'm here to fight for truth, and justice, and the American way."
yt-dev mailing list

yt-dev mailing list