This is a known issue in OS X with some Python installs (note: never
ever used a Mac). It has nothing to do with Cython, and you will run
on the same trouble EVERY time you want to build an C extension
module.
This is the most sane (if not the only) way to fix it:
1) Enter Python prompt, and type this:
>>> from distutils import sysconfig
>>> sysconfig.get_makefile_filename()
That should output the full path of a 'Makefile'... Open that file
with any text editor and remove all occurrences of '-Wno-long-double'
flag.
--
Lisandro Dalcín
---------------
Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC)
Instituto de Desarrollo Tecnológico para la Industria Química (INTEC)
Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET)
PTLC - Güemes 3450, (3000) Santa Fe, Argentina
Tel/Fax: +54-(0)342-451.1594
Thanks. I've added
http://wiki.cython.org/FAQ#HowdoIworkthe-Wno-long-doubleerrorwheninstallingonOSX
As this is bound to come up again.
- Robert
It looks like the py-cython and py25-cython are out of date (only one
version, which is way better than most cython packages), but the py26-
cython is indeed the latest release. Does this work on 10.6?
- Robert
It looks like the py-cython and py25-cython are out of date (only one version, which is way better than most cython packages), but the py26-cython is indeed the latest release. Does this work on 10.6?
- Robert