[R] R-2.0.1 Gentoo g77 problem

Jin Shusong jinss at hkusua.hku.hk
Wed Mar 9 15:18:34 CET 2005


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-8.7.7.1)
> --
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

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: jinss at hkusua.hku.hk
     Dept. of Statistics         Tel:   (+852)28597942
      and Actuarial Science      fax:   (+852)28589041
     The Univ. of Hong Kong
     Pokfulam Road, Hong Kong




More information about the R-help mailing list