<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Sorry, when I sent the first email I had used 'gcc'. I then
specified $CC, and still got the same error even though it was
picking the correct one this time (see below).<br>
<br>
Cheers,<br>
<br>
JC<br>
<br>
<address>
----------------------------------------------------------------------------------------------------------------------------------</address>
<address>/usr/bin/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/wcslib/C/wcserr.c -o
build/temp.macosx-10.4-x86_64-2.7/astropy/wcs/src/wcslib/C/wcserr.o</address>
<address><br>
astropy/wcs/src/wcslib/C/wcserr.c:160: internal compiler error:
Segmentation fault: 11</address>
<address><br>
Please submit a full bug report,</address>
<address><br>
with preprocessed source if appropriate.</address>
<address><br>
See <URL:http://developer.apple.com/bugreporter> for
instructions.</address>
<address><br>
error: command '/usr/bin/gcc' failed with exit status 1</address>
<address><br>
----------------------------------------</address>
<address><br>
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-S6j7of-record/install-record.txt
failed with error code 1 in /Users/jcpassy/Work/build/astropy</address>
<address><br>
Exception information:</address>
<address>Traceback (most recent call last):</address>
<address> 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</address>
<address> status = self.run(options, args)</address>
<address> 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</address>
<address> requirement_set.install(install_options,
global_options)</address>
<address> 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</address>
<address> requirement.install(install_options, global_options)</address>
<address> 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</address>
<address> cwd=self.source_dir,
filter_stdout=self._filter_install, show_stdout=False)</address>
<address> 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</address>
<address> % (command_desc, proc.returncode, cwd))</address>
<address>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-S6j7of-record/install-record.txt
failed with error code 1 in /Users/jcpassy/Work/build/astropy</address>
<address>----------------------------------------------------------------------------------------------------------------------------------</address>
<br>
<br>
<div class="moz-cite-prefix">On 6/20/12 12:50 PM, Tim Jenness wrote:<br>
</div>
<blockquote
cite="mid:CA+G92Rfpfcy2J4LLcKuyZH4WThqkKcvjDnQ4i4287W+1bwF0AQ@mail.gmail.com"
type="cite">
<pre wrap="">On Wed, Jun 20, 2012 at 9:41 AM, Jean-Claude Passy <jcpassy@gmail.com> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">----------------------------------------------------------------- [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.
</pre>
</blockquote>
<pre wrap="">
but the compile line says it's using plain "gcc" rather than
"/usr/bin/gcc" so it seems to be picking up your experimental
compiler. If you remove /opt/mesasdk/bin from your path do things
build ok?
</pre>
</blockquote>
<br>
<br>
</body>
</html>