first of all, inspect what you have in your PATH, using "echo" from shell. E.g. I have
$ echo $PATH /usr/lib/llvm/6/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin Now one can set it to what you need by using "export", e.g. $ export PATH=/usr/sbin:/usr/bin:/sbin:/bin Now in this shell session you have what you've set it to. To make it persistent, modify ~/.bashrc or/and similar file, such as ~/.profile, this is in every sensible tutorial on basic Unix shell usage... On Sat, Dec 8, 2018 at 9:51 AM Rohit Midha <rohit.midh...@gmail.com> wrote: > > Hi, > I got the same error and I'm really new to all this, and this is probably a > stupid question but what exactly do you mean by ' sanitize your PATH' ? > > On Sunday, October 14, 2018 at 11:22:45 PM UTC+5:30, Dima Pasechnik wrote: >> >> oops, sorry. You got a conflict with Anaconda install: >> To fix this you probably need to sanitize your PATH >> >> indeed, your log says: >> >> >> checking for curl-config... /Users/cbgroves2001/anaconda3/bin/curl-config >> checking libcurl version ... 7.61.0 >> checking curl/curl.h usability... yes >> checking curl/curl.h presence... yes >> checking for curl/curl.h... yes >> checking if libcurl is version 7 and >= 7.22.0... no >> configure: error: libcurl >= 7.22.0 library and headers are required >> On Sun, Oct 14, 2018 at 5:43 PM Charles Groves <cbgrov...@gmail.com> wrote: >> > >> > i updated command line tools just prior to running make >> > >> > On Sun, Oct 14, 2018 at 7:36 AM Dima Pasechnik <dim...@gmail.com> wrote: >> >> >> >> It looks as if your build got stuck waiting for something, and then got >> >> unstuck. Even on such an old machine it should not take more than 8-10 >> >> hours... >> >> >> >> I guess things related to R won't work in your install. It looks as if >> >> your libcurl is broken. Do you by any chance need to update Command Line >> >> Tools? >> >> >> >> >> >> >> >> On Sun, 14 Oct 2018, 11:59 , <cbgrov...@gmail.com> wrote: >> >>> >> >>> Make was still running fine after 24 hours. Then I forgot what I was >> >>> about and closed laptop's lid. Immediately re-opened laptop and found >> >>> the lines below. >> >>> >> >>> Sage runs and no longer crashes on "plot( x^2 )" like the .dmg version >> >>> did. >> >>> >> >>> So, did it fail? If so, what do I do? (Besides not closing my laptop :( ) >> >>> >> >>> Thankyouthankyou. >> >>> >> >>> >> >>> Last lines of output from make: >> >>> >> >>> *************************************************************** >> >>> Error building Sage. >> >>> >> >>> The following package(s) may have failed to build (not necessarily >> >>> during this run of 'make all-start'): >> >>> >> >>> * package: r-3.4.4.p0 >> >>> log file: /Users/cbgroves2001/sage-8.3/logs/pkgs/r-3.4.4.p0.log >> >>> build directory: >> >>> /Users/cbgroves2001/sage-8.3/local/var/tmp/sage/build/r-3.4.4.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[1]: *** [all-start] Error 1 >> >>> make: *** [all] Error 2 >> >>> >> >>> >> >>> macOS High Sierra >> >>> Version 10.13.6 >> >>> >> >>> Hardware Overview: >> >>> >> >>> Model Name: MacBook Pro >> >>> Model Identifier: MacBookPro8,1 >> >>> Processor Name: Intel Core i5 >> >>> Processor Speed: 2.3 GHz >> >>> Number of Processors: 1 >> >>> Total Number of Cores: 2 >> >>> L2 Cache (per Core): 256 KB >> >>> L3 Cache: 3 MB >> >>> Memory: 4 GB >> >>> Boot ROM Version: MBP81.0050.B00 >> >>> SMC Version (system): 1.68f99 >> >>> Serial Number (system): C02FJ0KKDH2L >> >>> Hardware UUID: 5D364BA2-FD44-538D-90A1-79C43365442E >> >>> Sudden Motion Sensor: >> >>> State: Enabled >> >>> >> >>> >> >>> >> >>> -- >> >>> 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...@googlegroups.com. >> >>> To post to this group, send email to sage-s...@googlegroups.com. >> >>> Visit this group at https://groups.google.com/group/sage-support. >> >>> For more options, visit https://groups.google.com/d/optout. >> >> >> >> -- >> >> 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...@googlegroups.com. >> >> To post to this group, send email to sage-s...@googlegroups.com. >> >> Visit this group at https://groups.google.com/group/sage-support. >> >> For more options, visit https://groups.google.com/d/optout. >> > >> > -- >> > 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...@googlegroups.com. >> > To post to this group, send email to sage-s...@googlegroups.com. >> > Visit this group at https://groups.google.com/group/sage-support. >> > For more options, visit https://groups.google.com/d/optout. > > -- > 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. -- 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.