<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div dir="ltr">Hi Madison,<div><br></div><div>Just to follow up on this, I happened to have the exact same problem at about the same time.  Following Nathan's suggestion, I did:</div><div>export CC=clang</div><div>export CXX=clang++</div><div><br></div><div>and removed the old installation and started the install script from scratch.  This worked for me.</div><div><br></div><div>Britton</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 18, 2015 at 3:03 PM, Nathan Goldbaum <span dir="ltr"><<a href="mailto:nathan12343@gmail.com" target="_blank">nathan12343@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Mon, May 18, 2015 at 12:52 PM, Madison Fitzgerald <span dir="ltr"><<a href="mailto:fitzg152@msu.edu" target="_blank">fitzg152@msu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi there,<div><br></div><div>I’m just starting out with yt (I’m using the stable version available on the website, <a href="https://bitbucket.org/yt_analysis/yt/raw/stable/doc/install_script.sh" target="_blank">https://bitbucket.org/yt_analysis/yt/raw/stable/doc/install_script.sh</a>), and I’m running into a problem when yt tries to install python after I execute bash ./install_script.sh. I have gcc version 4.9.3. Looking through the archives and google haven’t given me a solution. Additionally, my professor hasn’t seen this error before and can’t figure it out, but he thinks it might be a 10.10 specific problem that y’all could help me with.</div></div></blockquote><div><br></div></span><div>On OSX you probably shouldn't be building using gcc.  Instead, you should be building using clang (the default compiler on OSX) from the xcode command line tools.</div><div><br></div><div>In principle, python should compile using gcc on OSX 10.10, but I doubt it's commonly done.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div style="word-wrap:break-word"><div><br></div><div>********************************************<br>        FAILURE REPORT:<br>********************************************<br><br>                 from /usr/include/stdio.h:65,<br>                 from Include/Python.h:33,<br>                 from Python/mactoolboxglue.c:26:<br>//System/Library/Frameworks/CoreServices.framework/Frameworks/FSEvents.framework/Headers/FSEvents.h:262:38: error: expected ',' or '}' before '__attribute__'<br>   kFSEventStreamCreateFlagIgnoreSelf __OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_6_0) = 0x00000008,<br>                                      ^<br>//System/Library/Frameworks/CoreServices.framework/Frameworks/FSEvents.framework/Headers/FSEvents.h:414:38: error: expected ',' or '}' before '__attribute__'<br>   kFSEventStreamEventFlagItemCreated __OSX_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_6_0) = 0x00000100,<br>                                      ^<br>make: *** [Python/mactoolboxglue.o] Error 1<br><br>********************************************<br>********************************************</div><div><br></div><div>I’ve attached my install_script and yt_install.log, which detail the specific error and which version of the install_script I’m using.</div><div><br></div><div>Thank you very much,</div><div><div>
<div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div>Madison Fitzgerald</div><div><br></div><div>Astrophysics | Lyman Briggs College</div><div>Women’s & Gender Studies | College of Arts & Letters</div><div>LGBTQ and Sexuality Studies Specialization</div><div><div>Women in Science, President</div><div>Undergraduate Teaching Assistant</div><div>Undergraduate Research Assistant</div><div>Department of Physics and Astronomy</div></div><div>Honors College</div><div>Michigan State University</div></div></div></div></div></div></div>
</div>
<br></div><div></div></div><br><div style="word-wrap:break-word"><div></div></div><br><div style="word-wrap:break-word"><div></div></div><br></div></div>_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org" target="_blank">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
<br></blockquote></div><br></div></div>
<br>_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
<br></blockquote></div><br></div>