[AstroPy] error building astropy on Lion
Jean-Claude Passy
jcpassy at gmail.com
Tue Jun 19 13:40:34 EDT 2012
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 would really appreciate if someone could help me fix this.
Thanks a lot,
JC
------------------------------------------------------------------------------------------------
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall
-Wstrict-prototypes -DECHO -DWCSTRIG_MACRO -DASTROPY_WCS_BUILD
-D_GNU_SOURCE -DWCSVERSION=4.10 -DNDEBUG -UDEBUG
-I/Users/jcpassy/Work/yt-x86_64/lib/python2.7/site-packages/numpy/core/include
-Iastropy/wcs/src/wcslib/C -Iastropy/wcs/include
-I/Users/jcpassy/Work/yt-x86_64/include/python2.7 -c
astropy/wcs/src/astropy_wcs.c -o
build/temp.macosx-10.4-x86_64-2.7/astropy/wcs/src/astropy_wcs.o
astropy/wcs/src/astropy_wcs.c:987:1: internal compiler error: in
inline_small_functions, at ipa-inline.c:1421
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
error: command 'gcc' failed with exit status 1
----------------------------------------
Command /Users/jcpassy/Work/yt-x86_64/bin/python2.7 -c "import
setuptools;__file__='/Users/jcpassy/Work/build/astropy/setup.py';exec(compile(open(__file__).read().replace('\r\n',
'\n'), __file__, 'exec'))" install --single-version-externally-managed
--record
/var/folders/t8/81q6fg4d1fz49ylm0ycp3k2h0000gp/T/pip-D4L8Ho-record/install-record.txt
failed with error code 1 in /Users/jcpassy/Work/build/astropy
Exception information:
Traceback (most recent call last):
File
"/Users/jcpassy/Work/yt-x86_64/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/basecommand.py",
line 104, in main
status = self.run(options, args)
File
"/Users/jcpassy/Work/yt-x86_64/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/commands/install.py",
line 250, in run
requirement_set.install(install_options, global_options)
File
"/Users/jcpassy/Work/yt-x86_64/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/req.py",
line 1133, in install
requirement.install(install_options, global_options)
File
"/Users/jcpassy/Work/yt-x86_64/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/req.py",
line 577, in install
cwd=self.source_dir, filter_stdout=self._filter_install,
show_stdout=False)
File
"/Users/jcpassy/Work/yt-x86_64/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/__init__.py",
line 256, in call_subprocess
% (command_desc, proc.returncode, cwd))
InstallationError: Command /Users/jcpassy/Work/yt-x86_64/bin/python2.7
-c "import
setuptools;__file__='/Users/jcpassy/Work/build/astropy/setup.py';exec(compile(open(__file__).read().replace('\r\n',
'\n'), __file__, 'exec'))" install --single-version-externally-managed
--record
/var/folders/t8/81q6fg4d1fz49ylm0ycp3k2h0000gp/T/pip-D4L8Ho-record/install-record.txt
failed with error code 1 in /Users/jcpassy/Work/build/astropy
------------------------------------------------------------------------------------------------
More information about the AstroPy
mailing list