[SciPy-dev] tagging 0.7rc1 this weekend?

David Cournapeau cournape@gmail....
Wed Dec 3 17:45:25 CST 2008


On Thu, Dec 4, 2008 at 8:31 AM, Charles سمير Doutriaux
<doutriaux1@llnl.gov> wrote:
> Hi David,
>
> I am compiling my own python.

I thought the problem was that since numpy compiler flags come from
the ones used to build python, when using distutils, there was a
discrepency between python and numpy:

python -c "from distutils import sysconfig; print
sysconfig.get_config_vars('CFLAGS')"

Will tell you which compiler flags have been used for python.

But it seems that the problem is a bit more subtle: -no-cpp-precomp is
an Apple-specific flag, and the gcc you are using is more than likely
not the Apple one (since its version is 4.3, and AFAIK, no
apple-distributed gcc has such a high version, at least for released
OS). This may be a bug in python configure, which unconditionally uses
this option. If that's the case, I am afraid there is no easy solution
to your problem.

David


More information about the Scipy-dev mailing list