<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Unfortunately, this is a known bug in
      the default compiler that ships with OS X 10.7 and 10.8.<br>
      <br>
      The workaround is to set the environment variable CC to "clang".<br>
      <br>
      This bug has a built-in workaround in astropy (the successor to
      pywcs).<br>
      <br>
      Mike<br>
      <br>
      On 01/10/2013 01:13 AM, COLIN NAVIN wrote:<br>
    </div>
    <blockquote
cite="mid:CANLGNzd4Acgs3HZ1QDnratG0c37XHszQGTXei8yRHrJ3Q=zQTg@mail.gmail.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <div dir="ltr">
        <div dir="ltr">
          <div><span style="font-size:medium;font-family:Helvetica">Hi</span><br
              style="font-size:medium;font-family:Helvetica">
            <br style="font-size:medium;font-family:Helvetica">
            <span style="font-size:medium;font-family:Helvetica">I am
              trying to install some packages as part of the
              installation process outlined in Installing Scientific
              Python on the Python4Astronomers site.</span><br
              style="font-size:medium;font-family:Helvetica">
            <br style="font-size:medium;font-family:Helvetica">
            <span style="font-size:medium;font-family:Helvetica">I chose
              the EDP Academic distribution for Mac OSX 10.8 and
              installed the core Python okay including gcc and gfortran.</span><br
              style="font-size:medium;font-family:Helvetica">
            <br style="font-size:medium;font-family:Helvetica">
            <span style="font-size:medium;font-family:Helvetica">When I
              come to the section about installing and checking
              additional packages, some install fine (asciitable, pyfits
              and pyparsing). Others (pywcs, atpy, aplpy, and pyregion)
              give installation errors. For example</span><br
              style="font-size:medium;font-family:Helvetica">
            <br style="font-size:medium;font-family:Helvetica">
            <blockquote type="cite"
              style="font-family:Helvetica;font-size:medium">pip install
              --upgrade pywcs<br>
            </blockquote>
            <br style="font-size:medium;font-family:Helvetica">
            <br style="font-size:medium;font-family:Helvetica">
            <span style="font-size:medium;font-family:Helvetica">stops
              with an error message</span><br
              style="font-size:medium;font-family:Helvetica">
            <br style="font-size:medium;font-family:Helvetica">
            <blockquote type="cite"
              style="font-family:Helvetica;font-size:medium">
              wcslib/C/wcserr.c:140: internal compiler error:
              Segmentation fault: 11<br>
              <br>
              Please submit a full bug report,<br>
              <br>
              with preprocessed source if appropriate.<br>
              <br>
              See <URL:<a class="moz-txt-link-freetext" href="http://">http://</a><a moz-do-not-send="true"
                href="http://developer.apple.com/bugreporter"
                target="_blank">developer.apple.com/bugreporter</a>>
              for instructions.<br>
              <br>
              error: command 'gcc' failed with exit status 1<br>
            </blockquote>
            <br style="font-size:medium;font-family:Helvetica">
            <br style="font-size:medium;font-family:Helvetica">
            <span style="font-size:medium;font-family:Helvetica">Any
              help appreciated.</span><br
              style="font-size:medium;font-family:Helvetica">
            <br style="font-size:medium;font-family:Helvetica">
            <span style="font-size:medium;font-family:Helvetica">thanks</span></div>
          <div><span style="font-size:medium;font-family:Helvetica"><br>
            </span></div>
          <div style=""><span
              style="font-size:medium;font-family:Helvetica">Colin</span></div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
AstroPy mailing list
<a class="moz-txt-link-abbreviated" href="mailto:AstroPy@scipy.org">AstroPy@scipy.org</a>
<a class="moz-txt-link-freetext" href="http://mail.scipy.org/mailman/listinfo/astropy">http://mail.scipy.org/mailman/listinfo/astropy</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>