Could you grep in the whole lib/python2.5 for the offending flags?
On Sat, Sep 12, 2009 at 1:49 AM, John Schulman<[email protected]> wrote: > By the way, my python is EPD 5.0, which I just installed. > > On Sat, Sep 12, 2009 at 12:34 AM, John Schulman <[email protected]> wrote: >> Thanks for posting, but this does not work for me. >> I grepped the cython directory and removed every instance of >> -Wno-long-double, but I still get the same error, which totally >> baffles me. (I did this right after downloading the package, so >> there's no build stuff sitting around) >> >> >> On Thu, Sep 10, 2009 at 7:53 PM, Richard West <[email protected]> wrote: >>> Hi, >>> I recently upgraded to Mac OS X 10.6 Snow Leopard, which means I am >>> now using gcc version 4.2.1 (Apple Inc. build 5646) >>> When I first tried to use Cython after the upgrade I was getting >>> errors like >>> cc1: error: unrecognized command line option "-Wno-long-double" >>> presumably because the deprecated -Wno-long-double option was removed >>> from gcc. >>> >>> When trying to build Cython itself on the default Python 2.6 >>> installation, I was also getting a lot of warnings like >>> /usr/include/AvailabilityMacros.h:108:14: warning: #warning >>> Building for Intel with Mac OS X Deployment Target < 10.4 is invalid. >>> >>> >>> My workaround, which seems to work OK so far, is as follows: >>> >>> First run >>> $ easy_install -eb temporary_folder Cython >>> to download but not install Cython >>> >>> On line 32 of temporary_folder/cython/Cython/Mac/DarwinSystem.py change >>> os.environ["MACOSX_DEPLOYMENT_TARGET"] = "10.3" >>> to >>> os.environ["MACOSX_DEPLOYMENT_TARGET"] = "10.4" >>> >>> >>> And on line 36 of Cython/Mac/DarwinSystem.py remove the "-Wno-long- >>> double" option. >>> >>> Then run >>> $ sudo easy_install temporary_folder/cython/ >>> to build and install the modified Cython. >>> >>> Hope this saves someone a few minutes. >>> >>> Richard >>> _______________________________________________ >>> Cython-dev mailing list >>> [email protected] >>> http://codespeak.net/mailman/listinfo/cython-dev >>> >> > _______________________________________________ > Cython-dev mailing list > [email protected] > http://codespeak.net/mailman/listinfo/cython-dev > -- 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 _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
