[AstroPy] error building astropy on Lion

Jean-Claude Passy jcpassy@gmail....
Wed Jun 20 11:41:32 CDT 2012


Hi Tom,

here are the outputs:

-----------------------------------------------------------------

[12:36:08] Astrobook2:$ /usr/bin/gcc --version

i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 
5658) (LLVM build 2336.9.00)

-----------------------------------------------------------------


and

-----------------------------------------------------------------

[12:37:14] Astrobook2:$ which gcc

/opt/mesasdk/bin/gcc

[12:37:17] Astrobook2:$ gcc --version

gcc (GCC) 4.7.0 20111114 (experimental)

-----------------------------------------------------------------


The gcc 4.7 is part of a package I had to install for another code. This 
is why I used $CC to specify which compiler to use.

Thanks a lot,

JC

On 6/20/12 12:25 PM, Thomas Robitaille wrote:
> Hi JC,
>
> What is the output of:
>
> /usr/bin/gcc --version
>
> and
>
> gcc --version
>
> ?
>
> Cheers,
> Tom
>
> On 20 June 2012 19:17, Jean-Claude Passy <jcpassy@gmail.com> wrote:
>> Hello Tim,
>>
>> yes, I am using the Xcode compiler:
>>
>> --------------------------------------------------------------------------------
>> [12:15:30] Astrobook2:$ CC=/usr/bin/gcc pip install astropy
>> --------------------------------------------------------------------------------
>> Thanks,
>>
>> JC
>>
>>
>> On 6/19/12 1:51 PM, Tim Jenness wrote:
>>
>> On Tue, Jun 19, 2012 at 10:40 AM, Jean-Claude Passy <jcpassy@gmail.com>
>> wrote:
>>
>> Hi,
>>
>> I am new on the mailing list and would like to try the astropy package.
>> Unfortunately, I cannot get it installed with the pip command (see error
>> below).
>> I have installed a full version of Python 2.7.2 through the yT package.
>> I am running on Mac OS Lion.
>>
>> I just built it on lion with the system gcc-4.2 and Python 3.2 and it
>> was fine in the sense that it built ok. It did fail some tests.
>>
>> I would really appreciate if someone could help me fix this.
>> Thanks a lot,
>>
>> Are you using the Xcode gcc compiler or one that you have installed
>> yourself? That's a fatal bug in gcc that you are reporting.
>>
>>
>>
>>
>> _______________________________________________
>> AstroPy mailing list
>> AstroPy@scipy.org
>> http://mail.scipy.org/mailman/listinfo/astropy
>>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/astropy/attachments/20120620/de22c8e0/attachment-0001.html 


More information about the AstroPy mailing list