Skip to content
Prev 22358 / 398502 Next

smcc/ make failure/ R CMD INSTALL package

Software information:

R Version 1.5.1  (2002-06-17)
ESS 5.1.20
Emacs 21.1.1
Mozilla 1.0
Linux Mandrake 8.2

Colleagues

I am having a little trouble installing packages. Having downloaded the 
gzipped tarball of a package, put it in a /tmp directory, and using this 
command:

[root at localhost /]# R CMD INSTALL -l 'usr/lib/R/library/' 
'/home/smc/tmp/sgeostat_1.0-18.tar.gz'

I received the following error:


* Installing *source* package 'sgeostat' ...
** libs
g77   -fPIC  -O3 -fomit-frame-pointer -pipe -mcpu=pentiumpro -march=i586 
-fno-fast-math -fno-strength-reduce -c inplg.f -o inplg.o
make: g77: Command not found
make: *** [inplg.o] Error 127
ERROR: compilation failed for package 'sgeostat'
[root at localhost /]#

I got the same error without the -l option in R CMD. My installation of 
mandrake 8.2 was a simple upgrade from 8.1. Is there something else I 
need to install to get the make command to run correctly?

Best fishes

Sam