You have at least two choices. For both, start by downloading 
(http://www.sagemath.org/download-source.html) and unpacking 
sage-8.0.tar.gz wherever you plan to build it.

Choice 1: install git-trac-config: see 
http://doc.sagemath.org/html/en/developer/git_trac.html#installing-the-git-trac-command.
 
(So run "git clone https://github.com/sagemath/git-trac-command.git"; in 
some suitable directory, separate from the Sage installation, and then run 
"source git-trac-command/enable.sh".

Then cd into the Sage-8.0 directory. Run "git trac config". Then run "git 
trac checkout 23898". Also download the tarball for gcc-7.2 from that 
ticket and put it in sage-8.0/upstream. Then run "make".

Choice 2: skip the git business and just make the changes directly: edit 
the file "sage-8.0/build/pkgs/gcc/package-version.txt" to say "7.2.0". Also 
download a gzipped tarball for gcc-7.2 (for example from 
ftp://ftp.fu-berlin.de/unix/languages/gcc/releases/gcc-7.2.0/gcc-7.2.0.tar.gz) 
and put it in sage-8.0/upstream. Then run "./sage --package fix-checksum 
gcc". Then run "make".


On Monday, October 16, 2017 at 1:12:47 PM UTC-7, Ling Lin wrote:
>
> Hi,
>
> I'm having a similar problem, since I have to install Sage on a new 
> computer (Macbook Pro 2017 with OS10.13).
> I think the issue is again with building gcc-5.4.0, which was mentioned in 
> ticket ##23898. Since I'm not familiar with git, I cloned the repository 
> for both the master and developer branch and tried to build that. In both 
> cases, it still tries to build gcc-5.4.0, which then fails.
>
> Would it be possible to spell out the fix for dummies?
>
> Thanks,
> Ling
>
>
> On Friday, October 13, 2017 at 3:08:31 AM UTC-4, Arvind Ayyer wrote:
>>
>> After many hours of compiling (and when it seemed close to completing), 
>> it gave an error while installing curl-7.53.1, as John had predicted. The 
>> error is funny because this is MacOS 10.13:
>>
>> [curl-7.53.1] libtool: compile:  clang -DHAVE_CONFIG_H -I../include/curl 
>>> -I../include -I../include -I../lib -I../lib -DBUILDING_LIBCURL 
>>> -DCURL_HIDDEN_SYMBOLS 
>>> -I/Applications/Sage-6.2.app/Contents/Resources/sage/local/include 
>>> -fvisibility=hidden -Qunused-arguments -Os -mmacosx-version-min=10.8 
>>> -Werror=partial-availability -MT libcurl_la-connect.lo -MD -MP -MF 
>>> .deps/libcurl_la-connect.Tpo -c connect.c  -fno-common -DPIC -o 
>>> .libs/libcurl_la-connect.o
>>> [curl-7.53.1] connect.c:1087:12: error: 'connectx' is only available on 
>>> macOS 10.11 or newer [-Werror,-Wunguarded-availability]
>>> [curl-7.53.1]       rc = connectx(sockfd, &endpoints, SAE_ASSOCID_ANY,
>>> [curl-7.53.1]            ^~~~~~~~
>>> [curl-7.53.1] /usr/include/sys/socket.h:713:5: note: 'connectx' has been 
>>> explicitly marked partial here
>>> [curl-7.53.1] int connectx(int, const sa_endpoints_t *, sae_associd_t, 
>>> unsigned int,
>>> [curl-7.53.1]     ^
>>> [curl-7.53.1] connect.c:1087:12: note: enclose 'connectx' in a 
>>> __builtin_available check to silence this warning
>>> [curl-7.53.1]       rc = connectx(sockfd, &endpoints, SAE_ASSOCID_ANY,
>>> [curl-7.53.1]            ^~~~~~~~
>>> [curl-7.53.1] 1 error generated.
>>>
>>
>>
>> What's the quickest way out now? If I download curl-7.56.0 in the 
>> upstream directory and rerun "SAGE_INSTALL_GCC=yes make ptestlong", will it 
>> delete all the existing builds?
>>
>> Thanks,
>> Arvind
>>
>

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

Reply via email to