 - install R
 - install gfortran
 - compile librmath as standalone, 'make' and 'make install'
 - just delete -lgfortran from LIBS and add the path to libRmath
