Advertisement
Guest User

Untitled

a guest
Jun 16th, 2019
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.81 KB | None | 0 0
  1. install.packages("swirl")
  2.  
  3. ------------------------- ANTICONF ERROR ------------------------- --
  4. Configuration failed because libcurl was not found. Try installing:
  5. * deb: libcurl4-openssl-dev (Debian, Ubuntu, etc)
  6. * rpm: libcurl-devel (Fedora, CentOS, RHEL)
  7. * csw: libcurl_dev (Solaris)
  8. If libcurl is already installed, check that 'pkg-config' is in your
  9. PATH and PKG_CONFIG_PATH contains a libcurl.pc file. If pkg-config
  10. is unavailable you can set INCLUDE_DIR and LIB_DIR manually via:
  11. R CMD INSTALL --configure-vars='INCLUDE_DIR=... LIB_DIR=...'
  12. --------------------------------------------------------------------
  13. ERROR: configuration failed for package ‘curl’
  14. * removing ‘/home/franco/R/x86_64-pc-linux-gnu-library/3.1/curl’
  15. Warning in install.packages :
  16. installation of package ‘curl’ had non-zero exit status
  17. * installing *source* package ‘RCurl’ ...
  18. ** package ‘RCurl’ successfully unpacked and MD5 sums checked
  19. checking for curl-config... no
  20. Cannot find curl-config
  21. ERROR: configuration failed for package ‘RCurl’
  22. * removing ‘/home/franco/R/x86_64-pc-linux-gnu-library/3.1/RCurl’
  23. Warning in install.packages :
  24. installation of package ‘RCurl’ had non-zero exit status
  25. ERROR: dependency ‘curl’ is not available for package ‘httr’
  26. * removing ‘/home/franco/R/x86_64-pc-linux-gnu-library/3.1/httr’
  27. Warning in install.packages :
  28. installation of package ‘httr’ had non-zero exit status
  29. ERROR: dependencies ‘httr’, ‘RCurl’ are not available for package ‘swirl’
  30. * removing ‘/home/franco/R/x86_64-pc-linux-gnu-library/3.1/swirl’
  31. Warning in install.packages :
  32. installation of package ‘swirl’ had non-zero exit status
  33.  
  34. The downloaded source packages are in
  35. ‘/tmp/Rtmp7G87EM/downloaded_packages’
  36.  
  37. sudo apt-get install libcurl4-gnutls-dev
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement