Installing yt on Mountain Lion?

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:
http://paste.yt-project.org/show/2622/
Any help/suggestions would be greatly appreciated.
Thanks, Devin

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...
Cheers,
Nathan
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:
http://paste.yt-project.org/show/2622/
Any help/suggestions would be greatly appreciated.
Thanks, Devin
-- "I'm here to fight for truth, and justice, and the American way." _______________________________________________ yt-dev mailing list yt-dev@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org

Devin,
Please find the MPL_SUPP_CFLAGS and MPL_SUPP_CXXFLAGS environment variables in the yt install script and set them both to:
-mmacosx-version-min=10.7
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.
Best,
John
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...
Cheers,
Nathan
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:
http://paste.yt-project.org/show/2622/
Any help/suggestions would be greatly appreciated.
Thanks, Devin
-- "I'm here to fight for truth, and justice, and the American way." _______________________________________________ yt-dev mailing list yt-dev@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
yt-dev mailing list yt-dev@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org

Hi Devin, John, Nathan,
I've pushed the fix John suggested. I think it should work, but would you mind please testing it? It's in the development branch right now, but I will backport it to stable if it works for you.
Best,
Matt
On Mon, Aug 6, 2012 at 2:41 PM, John ZuHone jzuhone@gmail.com wrote:
Devin,
Please find the MPL_SUPP_CFLAGS and MPL_SUPP_CXXFLAGS environment variables in the yt install script and set them both to:
-mmacosx-version-min=10.7
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.
Best,
John
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...
Cheers,
Nathan
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:
http://paste.yt-project.org/show/2622/
Any help/suggestions would be greatly appreciated.
Thanks, Devin
-- "I'm here to fight for truth, and justice, and the American way." _______________________________________________ yt-dev mailing list yt-dev@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
yt-dev mailing list yt-dev@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
yt-dev mailing list yt-dev@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org

Hey folks,
Thanks to John for the fix. Things ran just fine, yt is installed and functional. Also, the export calls for gcc/g++ do not seem necessary -- at least on my machine. For those who were concerned, Mountain Lion and yt can coexist.
-Devin
On Mon, Aug 6, 2012 at 12:52 PM, Matthew Turk matthewturk@gmail.com wrote:
Hi Devin, John, Nathan,
I've pushed the fix John suggested. I think it should work, but would you mind please testing it? It's in the development branch right now, but I will backport it to stable if it works for you.
Best,
Matt
On Mon, Aug 6, 2012 at 2:41 PM, John ZuHone jzuhone@gmail.com wrote:
Devin,
Please find the MPL_SUPP_CFLAGS and MPL_SUPP_CXXFLAGS environment variables in the yt install script and set them both to:
-mmacosx-version-min=10.7
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.
Best,
John
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...
Cheers,
Nathan
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:
http://paste.yt-project.org/show/2622/
Any help/suggestions would be greatly appreciated.
Thanks, Devin
-- "I'm here to fight for truth, and justice, and the American way." _______________________________________________ yt-dev mailing list yt-dev@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
yt-dev mailing list yt-dev@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
yt-dev mailing list yt-dev@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
yt-dev mailing list yt-dev@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
participants (4)
-
Devin Silvia
-
John ZuHone
-
Matthew Turk
-
Nathan Goldbaum