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? Regads, Federico -- ================================ Federico C. F. Calboli Department of Biology University College London Darwin Building Gower Street London WC1E 6BT tel: 020 7679 4395 fax: 020 7679 7096 f.calboli at ucl.ac.uk
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.You need the Fortran compiler (g77) as well (as indicated by the error message). Is it installed? Is it in your path? Uwe Ligges> Any idea how to install the packages? > > Regads, > > Federico >
> You need the Fortran compiler (g77) as well (as indicated by the error > message). Is it installed? Is it in your path? > > Uwe Ligges >It was not installed. Now everything works. Cheers, Federico -- ================================ Federico C. F. Calboli Department of Biology University College London Darwin Building Gower Street London WC1E 6BT tel: 020 7679 4395 fax: 020 7679 7096 f.calboli at ucl.ac.uk
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