[R] Help in installing R
Marc Schwartz
marc_schwartz at me.com
Tue Jul 9 21:53:34 CEST 2013
On Jul 9, 2013, at 2:28 PM, ebbarayuga at ups.com wrote:
> I am trying to set-up R in our LINUX Redhat server so that I can use R in LINUX
> Here is what I did:
>
> 1. Downloaded the newest version of R
>
> 2. Run ./configure after I untar the files
>
> 3. Had an issue while installing:
>
> 4. [flexapp at njrarltcda000d1 R-3.0.1]$ ./configure
>
> 5. checking build system type... x86_64-unknown-linux-gnu
>
> 6. checking host system type... x86_64-unknown-linux-gnu
>
> 7. loading site script './config.site'
>
> 8. loading build-specific script './config.site'
>
> 9. checking for pwd... /bin/pwd
>
> 10. checking whether builddir is srcdir... yes
>
> 11. checking for working aclocal... missing
>
> 12. checking for working autoconf... missing
>
> 13. checking for working automake... missing
>
> 14. checking for working autoheader... missing
>
> 15. checking for gawk... gawk
>
> 16. checking whether ln -s works... yes
>
> 17. checking for bison... no
>
> 18. checking for byacc... no
>
> 19. checking for ar... ar
>
> 20. checking for a BSD-compatible install... /usr/bin/install -c
>
> 21. checking for sed... /bin/sed
>
> 22. checking for which... /usr/bin/which
>
> 23. checking for less... /usr/bin/less
>
> 24. checking for gtar... /bin/gtar
>
> 25. checking for tex... no
>
> 26. checking for pdftex... no
>
> 27. configure: WARNING: you cannot build PDF versions of the R manuals
>
> 28. checking for pdflatex... no
>
> 29. configure: WARNING: you cannot build PDF versions of vignettes and help pages
>
> 30. checking for makeindex... no
>
> 31. checking for makeinfo... no
>
> 32. configure: WARNING: you cannot build info or HTML versions of the R manuals
>
> 33. checking for texi2dvi... no
>
> 34. checking for kpsewhich... no
>
> 35. checking for unzip... /usr/bin/unzip
>
> 36. checking for zip... /usr/bin/zip
>
> 37. checking for gzip... /bin/gzip
>
> 38. checking for bzip2... /usr/bin/bzip2
>
> 39. checking for firefox... no
>
> 40. checking for mozilla... no
>
> 41. checking for galeon... no
>
> 42. checking for opera... no
>
> 43. checking for xdg-open... no
>
> 44. checking for kfmclient... no
>
> 45. checking for gnome-moz-remote... no
>
> 46. checking for open... /usr/bin/open
>
> 47. using default browser ... /usr/bin/open
>
> 48. checking for acroread... no
>
> 49. checking for acroread4... no
>
> 50. checking for xdg-open... no
>
> 51. checking for evince... no
>
> 52. checking for xpdf... no
>
> 53. checking for gv... no
>
> 54. checking for gnome-gv... no
>
> 55. checking for ggv... no
>
> 56. checking for okular... no
>
> 57. checking for kpdf... no
>
> 58. checking for open... /usr/bin/open
>
> 59. checking for notangle... false
>
> 60. checking for pkg-config... /usr/bin/pkg-config
>
> 61. checking for gcc... gcc
>
> 62. checking whether the C compiler works... yes
>
> 63. checking for C compiler default output file name... a.out
>
> 64. checking for suffix of executables...
>
> 65. checking whether we are cross compiling... no
>
> 66. checking for suffix of object files... o
>
> 67. checking whether we are using the GNU C compiler... yes
>
> 68. checking whether gcc accepts -g... yes
>
> 69. checking for gcc option to accept ISO C89... none needed
>
> 70. checking how to run the C preprocessor... gcc -E
>
> 71. checking for grep that handles long lines and -e... /bin/grep
>
> 72. checking for egrep... /bin/grep -E
>
> 73. checking whether gcc needs -traditional... no
>
> 74. checking how to run the C preprocessor... gcc -E
>
> 75. checking for gfortran... no
>
> 76. checking for f95... no
>
> 77. checking for fort... no
>
> 78. checking for xlf95... no
>
> 79. checking for ifort... no
>
> 80. checking for ifc... no
>
> 81. checking for efc... no
>
> 82. checking for pgf95... no
>
> 83. checking for lf95... no
>
> 84. checking for gfortran... no
>
> 85. checking for ftn... no
>
> 86. checking for g95... no
>
> 87. checking for f90... no
>
> 88. checking for xlf90... no
>
> 89. checking for pgf90... no
>
> 90. checking for pghpf... no
>
> 91. checking for epcf90... no
>
> 92. checking for g77... no
>
> 93. checking for f77... no
>
> 94. checking for xlf... no
>
> 95. checking for frt... no
>
> 96. checking for pgf77... no
>
> 97. checking for cf77... no
>
> 98. checking for fort77... no
>
> 99. checking for fl32... no
>
> 100. checking for af77... no
>
> 101. checking for fc... no
>
> 102. configure: error: No F77 compiler found
>
>
> Im thinking I would need to install some compiler in our DVLP environment.. can you verify which one is this..
>
> Newbie,
> Elizabeth
If you are running a version of RHEL, there are pre-compiled binary RPMs of R available via the EPEL:
http://fedoraproject.org/wiki/EPEL
You just need to install the appropriate repo configuration for your version of RHEL and then use:
yum install R
as root (eg. via sudo) from the terminal, which will install R and take care of any additional RPM dependencies. If you don't have SysAdmin privileges, you will need to get a SysAdmin to assist you.
If there is a particular reason that you really need to compile R from source, you are better off starting out by reading the R Installation and Administration Manual, which is available online at:
http://cran.r-project.org/manuals.html
The output you have above is certainly indicative of missing required development related tools, which are addressed in the above manual, including the Appendix. You will need SysAdmin privileges or a SysAdmin to assist you in installing the required RPMs to fulfill the requirements.
Any additional related follow up questions that you may have should really be directed to the R-SIG-Fedora e-mail list, which is focused on R related questions specific to RH based distributions (eg. RHEL, Fedora, CentOS, etc.). More info on subscribing is here:
https://stat.ethz.ch/mailman/listinfo/r-sig-fedora
Regards,
Marc Schwartz
More information about the R-help
mailing list