[R] problems installing Design and Hmisc libs

Thomas Lumley tlumley at u.washington.edu
Tue Sep 23 16:11:43 CEST 2003


On Tue, 23 Sep 2003, Federico Calboli wrote:

> Dear All,
>
> when I try to:
>
> install.packages("Design"); install.packages("Hmisc")
>
> I get the following error messages:
>
> * Installing *source* package 'Design' ...
> ** libs
> g77 -mieee-fp  -O2 -fomit-frame-pointer -pipe -march=i586
> -mcpu=pentiumpro  -O2 -fomit-frame-pointer -pipe -march=i586
> -mcpu=pentiumpro -c lrmfit.f -o lrmfit.o
> make: g77: Command not found
> make: *** [lrmfit.o] Error 127
> ERROR: compilation failed for package 'Design'
>
> * Installing *source* package 'Hmisc' ...
> ** libs
> g77 -mieee-fp  -O2 -fomit-frame-pointer -pipe -march=i586
> -mcpu=pentiumpro  -O2 -fomit-frame-pointer -pipe -march=i586
> -mcpu=pentiumpro -c cidxcn.f -o cidxcn.o
> make: g77: Command not found
> make: *** [cidxcn.o] Error 127
> ERROR: compilation failed for package 'Hmisc'
>
> The connection to CRAN and the download are fine though.
>
> I am using R 1.7.1 under Mandrake Linux 9.1. My C compiler is gcc 3.2.2.
>
> Any idea how to install the packages?


You need a Fortran compiler, such as g77.

If you have g77 then it looks like it has moved since you compiled R.  If
you don't, then you presumably installed R binaries, and you need g77.


	-thomas




More information about the R-help mailing list