On Tuesday, October 11, 2016 at 2:15:06 PM UTC-7, John H Palmieri wrote:
>
>
>
> On Tuesday, October 11, 2016 at 1:26:22 PM UTC-7, Dima Pasechnik wrote:
>>
>>
>>
>> On Tuesday, October 11, 2016 at 7:47:47 PM UTC, John H Palmieri wrote:
>>>
>>> Right, Sage's Python is broken. Try deleting sage/local/bin/python and 
>>> python2, and also sage/local/lib/python2.7 and 
>>> sage/local/lib/libpython2.7.dylib. Then the build process should use the 
>>> system's Python until Sage builds a working one.
>>>
>>
>> hmm, I don't understand. I think I tried starting from 'make distclean' 
>> and still got stuck at that  No module named _scproxy thing.
>>
>
> Are you saying you did this with the 'develop' branch or with the branch 
> from #21567? I can understand the former; that's why we have #21567.
>
> When we build Python on OS X, we should test that _scproxy builds 
> correctly before declaring the build a success.
>

See https://trac.sagemath.org/ticket/21685

 

>
>   John
>
>  
>
>>
>>  
>>
>
>>>
>>>
>>> On Tuesday, October 11, 2016 at 12:19:47 PM UTC-7, Anne Schilling wrote:
>>>>
>>>> Well, in fact now no matter what I do, I get this error. Even from the 
>>>> master branch:
>>>>
>>>> make distclean
>>>> make -j4 build/make/Makefile
>>>> ./bootstrap -d
>>>> rm -rf config configure build/make/Makefile-auto.in
>>>> ./bootstrap: line 29: aclocal: command not found
>>>> Bootstrap failed, downloading required files instead.
>>>> Traceback (most recent call last):
>>>>   File "/Applications/sage/build/bin/sage-download-file", line 27, in 
>>>> <module>
>>>>     from sage_bootstrap.download.cmdline import run_safe
>>>>   File 
>>>> "/Applications/sage/build/bin/../sage_bootstrap/download/__init__.py", 
>>>> line 
>>>> 7, in <module>
>>>>     from sage_bootstrap.download.transfer import Download
>>>>   File 
>>>> "/Applications/sage/build/bin/../sage_bootstrap/download/transfer.py", 
>>>> line 
>>>> 23, in <module>
>>>>     from sage_bootstrap.compat import urllib
>>>>   File 
>>>> "/Applications/sage/build/bin/../sage_bootstrap/compat/__init__.py", line 
>>>> 23, in <module>
>>>>     import urllib
>>>>   File "/Applications/sage/local/lib/python/urllib.py", line 1414, in 
>>>> <module>
>>>>     from _scproxy import _get_proxy_settings, _get_proxies
>>>> ImportError: No module named _scproxy
>>>> Error: downloading configure-176.tar.gz failed
>>>> make[1]: *** [configure] Error 1
>>>> make: *** [build-clean] Error 2
>>>>
>>>>
>>>> On Tuesday, October 11, 2016 at 12:10:32 PM UTC-7, Anne Schilling wrote:
>>>>>
>>>>> I guess I was overzealous upgrading to OSX10.12.
>>>>>
>>>>> Thanks John for your suggestions! With ticket 21567, I do not seem to 
>>>>> get very far:
>>>>>
>>>>> make
>>>>> make -j4 build/make/Makefile
>>>>> ./bootstrap -d
>>>>> rm -rf config configure build/make/Makefile-auto.in
>>>>> ./bootstrap: line 31: aclocal: command not found
>>>>> Bootstrap failed, downloading required files instead.
>>>>> Traceback (most recent call last):
>>>>>   File "/Applications/sage/build/bin/sage-download-file", line 27, in 
>>>>> <module>
>>>>>     from sage_bootstrap.download.cmdline import run_safe
>>>>>   File 
>>>>> "/Applications/sage/build/bin/../sage_bootstrap/download/__init__.py", 
>>>>> line 
>>>>> 7, in <module>
>>>>>     from sage_bootstrap.download.transfer import Download
>>>>>   File 
>>>>> "/Applications/sage/build/bin/../sage_bootstrap/download/transfer.py", 
>>>>> line 
>>>>> 23, in <module>
>>>>>     from sage_bootstrap.compat import urllib
>>>>>   File 
>>>>> "/Applications/sage/build/bin/../sage_bootstrap/compat/__init__.py", line 
>>>>> 23, in <module>
>>>>>     import urllib
>>>>>   File "/Applications/sage/local/lib/python/urllib.py", line 1414, in 
>>>>> <module>
>>>>>     from _scproxy import _get_proxy_settings, _get_proxies
>>>>> ImportError: No module named _scproxy
>>>>> Error: downloading configure-183.tar.gz failed
>>>>> make[1]: *** [configure] Error 1
>>>>> make: *** [all] Error 2
>>>>>
>>>>> Best,
>>>>>
>>>>> Anne
>>>>>
>>>>>
>>>>> On Tuesday, October 11, 2016 at 11:50:30 AM UTC-7, John H Palmieri 
>>>>> wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Tuesday, October 11, 2016 at 11:35:18 AM UTC-7, Anne Schilling 
>>>>>> wrote:
>>>>>>>
>>>>>>> Hi Volker,
>>>>>>>
>>>>>>> Thanks for the suggestion. I upgraded to OSX 10.12 and installed the 
>>>>>>> latest version command line xcode. Now I get the following
>>>>>>> error (even when compiling the latest stable release of sage):
>>>>>>>
>>>>>>
>>>>>> Volker actually suggested upgrading to OS X 10.11. Sage does not 
>>>>>> build out of the box on OS X 10.12 yet, but there is a branch at 
>>>>>> https://trac.sagemath.org/ticket/21567 which works for me. You may 
>>>>>> need to do "sage -f python2" to force it to reinstall Python, since on 
>>>>>> OS X 
>>>>>> 10.12, Sage fails to build Python correctly (although it thinks it has). 
>>>>>> So: (1) get the branch from #21567, (2) do "sage -f python2", and then 
>>>>>> "make", or (2') do "make distclean" followed by "make". And keep your 
>>>>>> fingers crossed.
>>>>>>
>>>>>>   John
>>>>>>
>>>>>>  
>>>>>>
>>>>>>>
>>>>>>> ...
>>>>>>> [maxima-5.35.1.p2]  /usr/bin/install -c -m 644 
>>>>>>> ./z_transform/rtest_z_transform.mac 
>>>>>>> /Applications/sage/local/share/maxima/5.35.1/share/z_transform/rtest_z_transform.mac
>>>>>>> [maxima-5.35.1.p2]  /usr/bin/install -c -m 644 
>>>>>>> ./z_transform/z_transform.mac 
>>>>>>> /Applications/sage/local/share/maxima/5.35.1/share/z_transform/z_transform.mac
>>>>>>> [maxima-5.35.1.p2] Making install in demo
>>>>>>> [maxima-5.35.1.p2] make[5]: Nothing to be done for `install-exec-am'.
>>>>>>> [maxima-5.35.1.p2] /bin/sh 
>>>>>>> /Applications/sage/local/var/tmp/sage/build/maxima-5.35.1.p2/src/install-sh
>>>>>>>  
>>>>>>> -d 
>>>>>>> [maxima-5.35.1.p2] test -z 
>>>>>>> "/Applications/sage/local/share/maxima/5.35.1/demo" || .././install-sh 
>>>>>>> -c 
>>>>>>> -d "/Applications/sage/local/share/maxima/5.35.1/demo"
>>>>>>> [maxima-5.35.1.p2]  /usr/bin/install -c -m 644 cf.dem demo.dem 
>>>>>>> eaton1.dem eaton2.dem ezgcd.dem hypgeo.dem macex.dem macro.dem 
>>>>>>> newfac.dem 
>>>>>>> romberg.dem sumcon.dem trgsmp.dem manual.demo plots.mac 
>>>>>>> '/Applications/sage/local/share/maxima/5.35.1/demo'
>>>>>>> [maxima-5.35.1.p2] Making install in plotting
>>>>>>> [maxima-5.35.1.p2] test -z 
>>>>>>> "/Applications/sage/local/libexec/maxima/5.35.1" || .././install-sh -c 
>>>>>>> -d 
>>>>>>> "/Applications/sage/local/libexec/maxima/5.35.1"
>>>>>>> [maxima-5.35.1.p2] /bin/sh 
>>>>>>> /Applications/sage/local/var/tmp/sage/build/maxima-5.35.1.p2/src/install-sh
>>>>>>>  
>>>>>>> -d 
>>>>>>> [maxima-5.35.1.p2]  /usr/bin/install -c mgnuplot 
>>>>>>> '/Applications/sage/local/libexec/maxima/5.35.1'
>>>>>>> [maxima-5.35.1.p2] make[5]: Nothing to be done for `install-exec-am'.
>>>>>>> [maxima-5.35.1.p2] /bin/sh 
>>>>>>> /Applications/sage/local/var/tmp/sage/build/maxima-5.35.1.p2/src/install-sh
>>>>>>>  
>>>>>>> -d 
>>>>>>> [maxima-5.35.1.p2] 
>>>>>>> [maxima-5.35.1.p2] Now installing the Maxima library as 
>>>>>>> '/Applications/sage/local/lib/ecl//maxima.fas'...
>>>>>>> [maxima-5.35.1.p2] 
>>>>>>> [maxima-5.35.1.p2] real    5m29.945s
>>>>>>> [maxima-5.35.1.p2] user    4m48.551s
>>>>>>> [maxima-5.35.1.p2] sys    0m36.527s
>>>>>>> [maxima-5.35.1.p2] Successfully installed maxima-5.35.1.p2
>>>>>>> [maxima-5.35.1.p2] Deleting temporary build directory
>>>>>>> [maxima-5.35.1.p2] 
>>>>>>> /Applications/sage/local/var/tmp/sage/build/maxima-5.35.1.p2
>>>>>>> [maxima-5.35.1.p2] Finished installing maxima-5.35.1.p2.spkg
>>>>>>> make[1]: *** [all] Error 2
>>>>>>>
>>>>>>> real    49m54.858s
>>>>>>> user    145m38.154s
>>>>>>> sys    18m47.495s
>>>>>>> ***************************************************************
>>>>>>> Error building Sage.
>>>>>>>
>>>>>>> The following package(s) may have failed to build (not necessarily
>>>>>>> during this run of 'make all'):
>>>>>>>
>>>>>>> The build directory may contain configuration files and other 
>>>>>>> potentially
>>>>>>> helpful information. WARNING: if you now run 'make' again, the build
>>>>>>> directory will, by default, be deleted. Set the environment variable
>>>>>>> SAGE_KEEP_BUILT_SPKGS to 'yes' to prevent this.
>>>>>>>
>>>>>>> make: *** [all] Error 1
>>>>>>>
>>>>>>>
>>>>>>> Any further suggestions?
>>>>>>>
>>>>>>> Anne
>>>>>>>
>>>>>>> On Saturday, October 1, 2016 at 1:16:02 AM UTC-7, Volker Braun wrote:
>>>>>>>>
>>>>>>>> My suggestion would be to upgrade to xcode 10.11, and then to the 
>>>>>>>> newer xcode that is available on osx 10.11 only. That linker should 
>>>>>>>> then 
>>>>>>>> properly support AVX instructions. Thats also the only OS/compiler 
>>>>>>>> version 
>>>>>>>> that we have a buildbot for (or receives updates from Apple for that 
>>>>>>>> matter).
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Saturday, October 1, 2016 at 5:20:43 AM UTC+2, Anne Schilling 
>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>> I am not sure. I just compiled sage-7.3 released 2016-8-04 and it 
>>>>>>>>> went fine, so I think it must be related
>>>>>>>>> to some new patches in the new development branch ...
>>>>>>>>>
>>>>>>>>> Anne
>>>>>>>>>
>>>>>>>>> On Friday, September 30, 2016 at 7:08:35 PM UTC-7, François wrote:
>>>>>>>>>>
>>>>>>>>>> Does the ntl failure look like anything reported at 
>>>>>>>>>> https://trac.sagemath.org/ticket/20779 ? 
>>>>>>>>>>
>>>>>>>>>> François 
>>>>>>>>>>
>>>>>>>>>> > On 1/10/2016, at 14:52, Travis Scrimshaw <tsc...@ucdavis.edu> 
>>>>>>>>>> wrote: 
>>>>>>>>>> > 
>>>>>>>>>> > Perhaps this is from the same error as stack overflow post? I 
>>>>>>>>>> remember we had to have something with '-march=native' (on OSX?) in 
>>>>>>>>>> the 
>>>>>>>>>> past. 
>>>>>>>>>> > 
>>>>>>>>>> > Best, 
>>>>>>>>>> > Travis 
>>>>>>>>>> > 
>>>>>>>>>> > 
>>>>>>>>>> > -- 
>>>>>>>>>> > You received this message because you are subscribed to the 
>>>>>>>>>> Google Groups "sage-devel" group. 
>>>>>>>>>> > To unsubscribe from this group and stop receiving emails from 
>>>>>>>>>> it, send an email to sage-devel+...@googlegroups.com. 
>>>>>>>>>> > To post to this group, send email to sage-...@googlegroups.com. 
>>>>>>>>>>
>>>>>>>>>> > Visit this group at https://groups.google.com/group/sage-devel. 
>>>>>>>>>>
>>>>>>>>>> > For more options, visit https://groups.google.com/d/optout. 
>>>>>>>>>>
>>>>>>>>>>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to