[R] cluster & mgcv update

Martin Wegmann mailinglist.wegmann at web.de
Tue Sep 30 14:04:23 CEST 2003


> You need to add atlas2-base-dev:
>
> $ apt-get install atlas2-base-dev

I installed atlas2-base-dev and g77 but know I get the error messages pasted 
below. Both (cluster and mgcv) requires lfrtbegin, but that does not seem to 
be programm which I can install via apt-get. 

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
g77 -mieee-fp  -fPIC  -g -O2 -c fanny.f -o fanny.o
g77 -mieee-fp  -fPIC  -g -O2 -c meet.f -o meet.o
g77 -mieee-fp  -fPIC  -g -O2 -c mona.f -o mona.o
g77 -mieee-fp  -fPIC  -g -O2 -c pam.f -o pam.o
gcc -I/usr/lib/R/include   -D__NO_MATH_INLINES -mieee-fp  -fPIC  -g -O2 -c 
spannel.c -o spannel.o
g77 -mieee-fp  -fPIC  -g -O2 -c twins.f -o twins.o
gcc -shared  -o cluster.so clara.o daisy.o fanny.o meet.o mona.o pam.o 
spannel.o twins.o  -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 -lfrtbegin
collect2: ld returned 1 exit status
make: *** [cluster.so] Error 1
ERROR: compilation failed for package 'cluster'
* 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 -lfrtbegin
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,
>




More information about the R-help mailing list