I recently upgraded my Mac OS to HighSierra and have installed the latest version of XCode. Strangely enough, the gcc version is still 4.2.1.
I'm trying to install the latest version of sage using my git
account (userid: ayyer) using the guidelines from the
TentativeConventions file.
I have a 2013 MacBook Pro Retina 13-inch. The processor is a 2.6 GHz Intel Core i5. The error has occurred in the very beginning while installing patch-2.7.5.
I have tried to find out what the error is and it may be related to the conflict between these lines starting at 281:
checking libgen.h usability... yes
282 checking libgen.h presence... yes
283 checking for libgen.h... yes
an these lines starting at 1968:
checking libgen.h usability... no
checking libgen.h presence... yes
configure: WARNING: libgen.h: present but cannot be compiled
configure: WARNING: libgen.h: check for missing prerequisite headers?
configure: WARNING: libgen.h: see the Autoconf documentation
configure: WARNING: libgen.h: section "Present But Cannot Be Compiled"
configure: WARNING: libgen.h: proceeding with the compiler's result
configure: WARNING: ## -------------------------------- ##
configure: WARNING: ## Report this to bug-...@gnu.org ##
configure: WARNING: ## -------------------------------- ##
checking for libgen.h... no
As per the instructions generating the error message, I'm emailing you the log file.
Please let my know if you need any more information from me.
Thanks a lot for your time and help.
Dear all,
I recently upgraded my Mac OS to HighSierra and have installed the latest version of XCode. Strangely enough, the gcc version is still 4.2.1.
Thanks for your response, Dima. When you say that I need this ticket or that, do you mean that I should get that particular branch from git and install? I tried to check with get #12426, but that does not seem to be on the git server. The tickets you suggested seem to go in opposite directions. I read somewhere that gcc installed separately interferes with clang on XCode. I'm not using XCode for anything other than Sage, but do you think that could cause problems?
To install the branch from #12426, you need to use git.In a nutshell, add trac's git server to the remotes, and pull the branchu/fbissey/clang-progressfrom there.
Something likegit remote add trac git://trac.sagemath.org/sage.git
git checkout -b foobar
git pull trac u/fbissey/clang-progressand rebuild Sage:make distclean./configure CC=cc CXX=c++make
[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.