I thought I would get the R software loaded for a bioinformatics class I am taking this semester on my Ubuntu machine. Here are the packages that were needed before I could compile it:
sudo apt-get install build-essential
sudo apt-get install gfortran
sudo apt-get install libreadline5-dev
sudo apt-get install xorg-dev
./configure
make
sudo make install