[R] cluster & mgcv update

Uwe Ligges ligges at statistik.uni-dortmund.de
Tue Sep 30 12:57:31 CEST 2003


Martin Wegmann wrote:

> Hello, 
> 
> After reinstalling the whole OS and R as well, I tried to update.packages() 
> and get the follwing error message:
> 
> concerning the mgcv update: atlas2-base is installed and blas as well (on 
> debian). I haven't found lf77blas, I assume it's a library or something 
> similar associated with blas.
> 
> any suggestion how to solve that, thanks Martin
> 
> 
> * Installing *source* package 'cluster' ...
> ** libs
> gcc -I/usr/lib/R/include   -D__NO_MATH_INLINES -mieee-fp  -fPIC  -g -O2 -c 
> clara.c -o clara.o
> g77 -mieee-fp  -fPIC  -g -O2 -c daisy.f -o daisy.o
> make: g77: Command not found
> make: *** [daisy.o] Error 127
> ERROR: compilation failed for package 'cluster'


The Fortran Compiler g77 is missing (at least not in your path), as well 
as some related libraries (see error message below).

Uwe Ligges


> * Installing *source* package 'mgcv' ...
> ** libs
> gcc -I/usr/lib/R/include   -D__NO_MATH_INLINES -mieee-fp -Wall -pedantic  
> -fPIC  -g -O2 -c gcv.c -o gcv.o
> gcc -I/usr/lib/R/include   -D__NO_MATH_INLINES -mieee-fp -Wall -pedantic  
> -fPIC  -g -O2 -c magic.c -o magic.o
> gcc -I/usr/lib/R/include   -D__NO_MATH_INLINES -mieee-fp -Wall -pedantic  
> -fPIC  -g -O2 -c mat.c -o mat.o
> gcc -I/usr/lib/R/include   -D__NO_MATH_INLINES -mieee-fp -Wall -pedantic  
> -fPIC  -g -O2 -c matrix.c -o matrix.o
> gcc -I/usr/lib/R/include   -D__NO_MATH_INLINES -mieee-fp -Wall -pedantic  
> -fPIC  -g -O2 -c mgcv.c -o mgcv.o
> gcc -I/usr/lib/R/include   -D__NO_MATH_INLINES -mieee-fp -Wall -pedantic  
> -fPIC  -g -O2 -c qp.c -o qp.o
> gcc -I/usr/lib/R/include   -D__NO_MATH_INLINES -mieee-fp -Wall -pedantic  
> -fPIC  -g -O2 -c tprs.c -o tprs.o
> gcc -shared  -o mgcv.so gcv.o magic.o mat.o matrix.o mgcv.o qp.o tprs.o 
> -L/usr/lib/R/bin -lRlapack -lf77blas -latlas 
> -L/usr/lib/gcc-lib/i386-linux/3.3 -L/usr/lib/gcc-lib/i386-linux/3.3/../../.. 
> -lfrtbegin -lg2c-pic -lm -lgcc_s  -L/usr/lib/R/bin -lR
> /usr/bin/ld: cannot find -lf77blas
> collect2: ld returned 1 exit status
> make: *** [mgcv.so] Error 1
> ERROR: compilation failed for package 'mgcv'
> 
> Delete downloaded files (y/N)? y
> 
> Warning messages:
> 1: Installation of package cluster had non-zero exit status in: 
> install.packages(update[, "Package"], instlib, contriburl = contriburl,
> 2: Installation of package mgcv had non-zero exit status in: 
> install.packages(update[, "Package"], instlib, contriburl = contriburl,
> 
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help




More information about the R-help mailing list