Re: [R] R-2.0.1 Gentoo g77 problem

From: Jin Shusong <>
Date: Thu 10 Mar 2005 - 01:18:34 EST

On Wed, Mar 09, 2005 at 04:09:50PM +0800, Gabriel Rossetti wrote:
> Hello,
> I use Gentoo and I can't get R 2.0.1 to compile. I used the portage system, Gentoo's source package sytem, and after it uncompresses the source to R, it says that I don't have a fortran compiler. It told me to use f77 flag and re-emerge gcc, which I did with the f77 and fortran flags, but it still won't compile. Does anyone have any ideas? I suspect that gcc has changed it's interworkings, because if I do a gcc -v it says that I can compile fortran(f77) programs, but I don't have g77. If anyone has any ideas or workarounds, it would be great. I really need it for a P&S class. Thanks!
> Gabriel
> My gcc version is :
> gcc version 3.3.5 (Gentoo Linux 3.3.5-r1, ssp-3.3.2-3, pie-
> --
> ______________________________________________
> mailing list
> PLEASE do read the posting guide!

Dear Gabriel,
Gentoo does not install g77 with gcc as a default component. You should emerge your gcc again. Just follow the steps below
1. modify your configure file /etc/make.conf. There is a line beginning with USE, add f77 in that line. 2. emerge gcc. This may take a long time. 3. emerge R. Remember that you should not set the FFLAGS with aggressive flags.

Good luck.


                       Yours  Sincerely

                               Shusong Jin

Add: Meng Wah Complex, RM518     Email:
     Dept. of Statistics         Tel:   (+852)28597942
      and Actuarial Science      fax:   (+852)28589041
     The Univ. of Hong Kong
     Pokfulam Road, Hong Kong

______________________________________________ mailing list
PLEASE do read the posting guide!
Received on Thu Mar 10 01:32:39 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:30:42 EST