Hi,
Under OS X 10.10 Yosemite, with then without homebrew's gcc 4.9.1,
I tried and failed to build Sage.
1. With homebrew's gcc 4.9.1 installed.
Starting from Sage 6.4.beta6 I merged
#17176 u/vbraun/gdb_on_yosemite
#17169 u/vbraun/upgrade_to_gcc_4_9_1
#17204 u/vbraun/osx_yosemite_libtool_version_detection
The compilation ends with some errors, including the
following lines towards the end:
----------
>>> Trying to download
http://www.sagemath.org/packages/upstream/setuptools/setuptools-3.6.tar.gzTraceback (most recent call last):
File "<stdin>", line 12, in <module>
File "/Users/s/builds/sage/local/lib/python/urllib.py", line 1399, in <module>
from _scproxy import _get_proxy_settings, _get_proxies
ImportError: No module named _scproxy
----------
This seems to indicate that building Python succeeded, but urllib
is not working because of a missing _scproxy. Indeed, when I run
Sage's python:
----------
$ ./sage -python
Python 2.7.8 (default, Oct 28 2014, 22:07:12)
[GCC 4.9.1] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import urllib
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/s/builds/sage/local/lib/python/urllib.py", line 1399, in <module>
from _scproxy import _get_proxy_settings, _get_proxies
ImportError: No module named _scproxy
----------
2. I uninstalled homebrew's gcc, ran 'make distclean', then 'make' again.
This failed to build gcc, the relevant logs are here:
http://carva.org/samuel.lelievre/t/20141029_osx1010_sage64b6_install.log.tgzhttp://carva.org/samuel.lelievre/t/20141029_osx1010_sage64b6_pkgs_config.log.tgzhttp://carva.org/samuel.lelievre/t/20141029_osx1010_sage64b6_pkgs_gcc-4.9.1.log.tgzhttp://carva.org/samuel.lelievre/t/20141029_osx1010_sage64b6_gcc491_config.log.tgzI then uninstalled homebrew's gcc, ran 'make distclean', then 'make' again.
This failed to build gcc, the relevant logs are here:
http://carva.org/samuel.lelievre/t/20141029_osx1010_sage64b6_install.log.tgzhttp://carva.org/samuel.lelievre/t/20141029_osx1010_sage64b6_pkgs_config.log.tgzhttp://carva.org/samuel.lelievre/t/20141029_osx1010_sage64b6_pkgs_gcc-4.9.1.log.tgzhttp://carva.org/samuel.lelievre/t/20141029_osx1010_sage64b6_gcc491_config.log.tgz