I fired up a new machine last night and loaded Ubuntu 8.10 on it. I then had to add in the usual compiler stuff which is not loaded by default: make, emacs, fortran, c++, etc. I'm having trouble compiling R 2.8 however. I get a message that it cannot figure out how to link f77 and C. I've pulled in "gfortran". A google search on "fortran ubuntu 8.10" shows various problems with the gcc switch from fortran77 to fortran95 --- also true for R? Any hints are welcome, including "don't use 8.10" (thought that will be an evening of work). Terry Therneau
compile under Ubuntu 8.10 (Ibex)
2 messages · Terry Therneau, Douglas Bates
On Wed, Mar 11, 2009 at 11:11 AM, Terry Therneau <therneau at mayo.edu> wrote:
?I fired up a new machine last night and loaded Ubuntu 8.10 on it. ?I then had to add in the usual compiler stuff which is not loaded by default: make, emacs, fortran, c++, etc.
?I'm having trouble compiling R 2.8 however. ?I get a message that it cannot figure out how to link f77 and C. ?I've pulled in "gfortran". ?A google search on "fortran ubuntu 8.10" shows various problems with the gcc switch from fortran77 to fortran95 --- also true for R?
?Any hints are welcome, including "don't use 8.10" (thought that will be an evening of work).
Read http://cran.us.r-project.org/bin/linux/ubuntu to learn how to add the CRAN repository to your package search path then install the r-base and r-base-dev packages. If you want all the development packages to allow you to compile and install development versions of R then run sudo apt-get build-dep r-base and all the required packages will be magically added. If you want to see exactly how Dirk has set up the compilation of R under Debian then install the wajig package, run cd /tmp wajig build r-base and sit back and enjoy. Finally note that the mailing list R-SIG-Debian is more suitable for questions related to Debian and Debian-derived distributions like Ubuntu.