Hi there! I need help for this install error of Sage 8.1. It seems that the culprit is "libcurl >= 7.22.0 library not found by the compiler". Xcode 9.2 installed along with its command line tools version 9.2 for MacOS 10.13.2. Best wishes! S.Diop
Last lines of the build log [r-3.4.2.p0] checking for curl-config... /Users/seet/anaconda3/bin/curl-config [r-3.4.2.p0] checking libcurl version ... 7.55.1 [r-3.4.2.p0] checking curl/curl.h usability... yes [r-3.4.2.p0] checking curl/curl.h presence... yes [r-3.4.2.p0] checking for curl/curl.h... yes [r-3.4.2.p0] checking if libcurl is version 7 and >= 7.22.0... no [r-3.4.2.p0] configure: error: libcurl >= 7.22.0 library and headers are required [r-3.4.2.p0] Error configuring R. [r-3.4.2.p0] [r-3.4.2.p0] real 2m17.145s [r-3.4.2.p0] user 1m3.079s [r-3.4.2.p0] sys 1m5.324s [r-3.4.2.p0] ************************************************************************ [r-3.4.2.p0] Error installing package r-3.4.2.p0 [r-3.4.2.p0] ************************************************************************ [r-3.4.2.p0] Please email sage-devel (http://groups.google.com/group/sage-devel) [r-3.4.2.p0] explaining the problem and including the log file [r-3.4.2.p0] /Applications/sage-8.1/logs/pkgs/r-3.4.2.p0.log [r-3.4.2.p0] Describe your computer, operating system, etc. [r-3.4.2.p0] If you want to try to fix the problem yourself, *don't* just cd to [r-3.4.2.p0] /Applications/sage-8.1/local/var/tmp/sage/build/r-3.4.2.p0 and type 'make' or whatever is appropriate. [r-3.4.2.p0] Instead, the following commands setup all environment variables [r-3.4.2.p0] correctly and load a subshell for you to debug the error: [r-3.4.2.p0] (cd '/Applications/sage-8.1/local/var/tmp/sage/build/r-3.4.2.p0' && '/Applications/sage-8.1/sage' --sh) [r-3.4.2.p0] When you are done debugging, you can type "exit" to leave the subshell. [r-3.4.2.p0] ************************************************************************ make[2]: *** [/Applications/sage-8.1/local/var/lib/sage/installed/r-3.4.2.p0] Error 1 make[1]: *** [all] Error 2 real 799m19.276s user 738m19.226s sys 127m14.122s *************************************************************** Error building Sage. The following package(s) may have failed to build (not necessarily during this run of 'make all'): * package: r-3.4.2.p0 log file: /Applications/sage-8.1/logs/pkgs/r-3.4.2.p0.log build directory: /Applications/sage-8.1/local/var/tmp/sage/build/r-3.4.2.p0 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 -- 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.