<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi yt users,<br>
    <br>
    I finally figure out the error.<br>
    When we install mercurial-2.0 on OSX, it check the version of xcode.<br>
    To make it work I need to set sudo xcode-select -switch
    /Applications/Xcode.app/Contents/Developer.<br>
    Now yt is installed.<br>
    <br>
    Thank you,<br>
    Junhwan<br>
    <br>
    On 05/20/12 22:32, Britton Smith wrote:
    <blockquote
cite="mid:CABfs61kxvom1kGXA=+xXj9dqg=1rD8LT3ioxn8MCcv5LspYGnw@mail.gmail.com"
      type="cite">Hi Jun-Hwan,<br>
      <br>
      I also installed yt on OS X Lion with Xcode 4.3.  I found that the
      compilers and tools that used to come with Xcode now come
      separately as part of something called "Command Line Tools".  Do
      you have this as well?  If not, you should be able to find it on
      the app store.<br>
      <br>
      Britton<br>
      <br>
      <div class="gmail_quote">On Mon, May 21, 2012 at 4:05 AM, Jun-Hwan
        Choi <span dir="ltr"><<a moz-do-not-send="true"
            href="mailto:jhchoi@pa.uky.edu" target="_blank">jhchoi@pa.uky.edu</a>></span>
        wrote:<br>
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
          Hi yt users,<br>
          <br>
          <div>I try to install yt in Mac OS lion and encounter failure.</div>
          <div>The yt_install.log shows following message at the end of
            log:</div>
          <div>.......</div>
          <div>
            <div>running install_egg_info</div>
            <div>
              Writing
/Users/jhchoi/common/lib/python2.7/lib-dynload/Python-2.7.2-py2.7.egg-info</div>
            <div>if test -f /Users/jhchoi/common/bin/python -o -h
              /Users/jhchoi/common/bin/python; \</div>
            <div>        then rm -f /Users/jhchoi/common/bin/python; \</div>
            <div>        else true; \</div>
            <div>        fi</div>
            <div>(cd /Users/jhchoi/common/bin; ln python2.7 python)</div>
            <div>rm -f /Users/jhchoi/common/bin/python-config</div>
            <div>(cd /Users/jhchoi/common/bin; ln -s python2.7-config
              python-config)</div>
            <div>test -d /Users/jhchoi/common/lib/pkgconfig ||
              /usr/bin/install -c -d -m 755
              /Users/jhchoi/common/lib/pkgconfig</div>
            <div>rm -f /Users/jhchoi/common/lib/pkgconfig/python.pc</div>
            <div>(cd /Users/jhchoi/common/lib/pkgconfig; ln -s
              python-2.7.pc python.pc)</div>
            <div>/usr/bin/install -c -m 644 ./Misc/python.man \</div>
            <div>               
              /Users/jhchoi/common/share/man/man1/python2.7.1</div>
            <div>Traceback (most recent call last):</div>
            <div>  File "setup.py", line 418, in <module></div>
            <div>    version = runcmd(['/usr/bin/xcodebuild',
              '-version'], {})[0].splitlines()[0]</div>
            <div>IndexError: list index out of range</div>
            <div>
              <div><br>
              </div>
              <div>I use the most updated install_script.sh from yt web
                page.</div>
              <div>F.Y.I. I install gcc and g++ through
                Xcode(xcode_432_lion.dmg) w/ command line tools
                (cltools_lion_latemarch12.dmg).</div>
              <div><br>
              </div>
              <div>Thanks in advance,</div>
              <div>Junhwan</div>
              <span class="HOEnZb"><font color="#888888">
                  <div>
                    <br>
                  </div>
                  -- <br>
--------------------------------------------------------------<br>
                  Jun-Hwan Choi, Ph.D.<br>
                  Department of Physics and Astronomy, University of
                  Kentucky<br>
                  Tel: <a moz-do-not-send="true"
                    href="tel:%28859%29%20897-6737" value="+18598976737"
                    target="_blank">(859) 897-6737</a>        Fax: <a
                    moz-do-not-send="true"
                    href="tel:%28859%29%20323-2846" value="+18593232846"
                    target="_blank">(859) 323-2846</a><br>
                  Email: <a moz-do-not-send="true"
                    href="mailto:jhchoi@pa.uky.edu" target="_blank">jhchoi@pa.uky.edu</a>  
                  URL: <a moz-do-not-send="true"
                    href="http://www.pa.uky.edu/%7Ejhchoi"
                    target="_blank">http://www.pa.uky.edu/~jhchoi</a><br>
--------------------------------------------------------------<br>
                  <br>
                  <br>
                </font></span></div>
          </div>
          <br>
          _______________________________________________<br>
          yt-users mailing list<br>
          <a moz-do-not-send="true"
            href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
          <a moz-do-not-send="true"
            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>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
--------------------------------------------------------------
Jun-Hwan Choi, Ph.D.
Department of Physics and Astronomy, University of Kentucky
Tel: (859) 897-6737        Fax: (859) 323-2846
Email: <a class="moz-txt-link-abbreviated" href="mailto:jhchoi@pa.uky.edu">jhchoi@pa.uky.edu</a>   URL: <a class="moz-txt-link-freetext" href="http://www.pa.uky.edu/~jhchoi">http://www.pa.uky.edu/~jhchoi</a>
--------------------------------------------------------------
</pre>
  </body>
</html>