This doesn't work for my cython error. (The error in my first post is what I get after trying that)
On Wednesday, January 9, 2013 2:03:38 PM UTC-5, Volker Braun wrote: > > This is http://trac.sagemath.org/13898. The following workaround should > help to get around Apple's broken headers: > > CFLAGS="-DOS_OBJECT_USE_OBJC=0" > export CFLAGS > make > > > > > On Wednesday, January 9, 2013 6:45:32 PM UTC, Ben Hutz wrote: >> >> I am on OSX 10.8.2 and just installed the new Xcode 4.5.2 >> >> I had the same problem with mercurial as encountered in >> https://groups.google.com/forum/?fromgroups=#!searchin/sage-devel/10.8$20build$20cython/sage-devel/kfXamuej_Gs/kLUoIxrQnYMJ >> >> and the suggested fix worked. Now it has failed to build cython-0.17pre. >> Here is the output from that package: >> >> ==================================================== >> Extracting package >> /Applications/sage-5.5/spkg/standard/cython-0.17pre.spkg >> -rw-r--r--@ 1 bhutz admin 551594 Jul 25 10:46 >> /Applications/sage-5.5/spkg/standard/cython-0.17pre.spkg >> Finished extraction >> **************************************************** >> Host system: >> Darwin bhutz103-206.cst.fit.edu 12.2.0 Darwin Kernel Version 12.2.0: Sat >> Aug 25 00:48:52 PDT 2012; root:xnu-2050.18.24~1/RELEASE_X86_64 x86_64 >> **************************************************** >> C compiler: gcc >> C compiler version: >> Using built-in specs. >> COLLECT_GCC=gcc >> >> COLLECT_LTO_WRAPPER=/Applications/sage-5.5/local/libexec/gcc/x86_64-apple-darwin12.2.0/4.6.3/lto-wrapper >> Target: x86_64-apple-darwin12.2.0 >> Configured with: ../src/configure --prefix=/Applications/sage-5.5/local >> --with-local-prefix=/Applications/sage-5.5/local >> --with-gmp=/Applications/sage-5.5/local >> --with-mpfr=/Applications/sage-5.5/local >> --with-mpc=/Applications/sage-5.5/local --with-system-zlib >> --disable-multilib >> Thread model: posix >> gcc version 4.6.3 (GCC) >> **************************************************** >> Compiling module Cython.Plex.Scanners ... >> >> ERROR: No module named _scproxy >> >> Extension module compilation failed, looks like Cython cannot run >> properly on this system. To work around this, pass the option >> "--no-cython-compile". This will install a pure Python version of >> Cython without compiling its own sources. >> >> Traceback (most recent call last): >> File "setup.py", line 271, in <module> >> compile_cython_modules(cython_profile, cython_compile_more, >> cython_with_refnanny) >> File "setup.py", line 215, in compile_cython_modules >> result = compile(pyx_source_file) >> File >> "/Applications/sage-5.5/spkg/build/cython-0.17pre/src/Cython/Compiler/Main.py", >> >> line 589, in compile >> return compile_single(source, options, full_module_name) >> File >> "/Applications/sage-5.5/spkg/build/cython-0.17pre/src/Cython/Compiler/Main.py", >> >> line 534, in compile_single >> return run_pipeline(source, options, full_module_name) >> File >> "/Applications/sage-5.5/spkg/build/cython-0.17pre/src/Cython/Compiler/Main.py", >> >> line 389, in run_pipeline >> import Pipeline >> File >> "/Applications/sage-5.5/spkg/build/cython-0.17pre/src/Cython/Compiler/Pipeline.py", >> >> line 7, in <module> >> from Visitor import CythonTransform >> File >> "/Applications/sage-5.5/spkg/build/cython-0.17pre/src/Cython/Compiler/Visitor.py", >> >> line 8, in <module> >> import ExprNodes >> File >> "/Applications/sage-5.5/spkg/build/cython-0.17pre/src/Cython/Compiler/ExprNodes.py", >> >> line 10110, in <module> >> "CythonFunction", context=vars(Naming)) >> File >> "/Applications/sage-5.5/spkg/build/cython-0.17pre/src/Cython/Compiler/Code.py", >> >> line 241, in load >> return cls(**kwargs) >> File >> "/Applications/sage-5.5/spkg/build/cython-0.17pre/src/Cython/Compiler/Code.py", >> >> line 395, in __init__ >> proto = sub_tempita(proto, context, file, name) >> File >> "/Applications/sage-5.5/spkg/build/cython-0.17pre/src/Cython/Compiler/Code.py", >> >> line 390, in sub_tempita >> from Cython.Tempita import sub >> File >> "/Applications/sage-5.5/spkg/build/cython-0.17pre/src/Cython/Tempita/__init__.py", >> >> line 34, in <module> >> import cgi >> File "/Applications/sage-5.5/local/lib/python/cgi.py", line 40, in >> <module> >> import urllib >> File "/Applications/sage-5.5/local/lib/python/urllib.py", line 1379, in >> <module> >> from _scproxy import _get_proxy_settings, _get_proxies >> ImportError: No module named _scproxy >> Error installing Cython >> >> real 0m0.544s >> user 0m0.260s >> sys 0m0.048s >> ************************************************************************ >> Error installing package cython-0.17pre >> ************************************************************************ >> Please email sage-devel (http://groups.google.com/group/sage-devel) >> explaining the problem and including the relevant part of the log file >> /Applications/sage-5.5/spkg/logs/cython-0.17pre.log >> Describe your computer, operating system, etc. >> If you want to try to fix the problem yourself, *don't* just cd to >> /Applications/sage-5.5/spkg/build/cython-0.17pre and type 'make' or >> whatever is appropriate. >> Instead, the following commands setup all environment variables >> correctly and load a subshell for you to debug the error: >> (cd '/Applications/sage-5.5/spkg/build/cython-0.17pre' && >> '/Applications/sage-5.5/sage' -sh) >> When you are done debugging, you can type "exit" to leave the subshell. >> ************************************************************************ >> make[2]: *** [installed/cython-0.17pre] Error 1 >> make[1]: *** [all] Error 2 >> > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sage-devel?hl=en.
