[R] Something broken with update?
Roger Bivand
Roger.Bivand at nhh.no
Tue Nov 25 14:01:13 CET 2003
On Tue, 25 Nov 2003, v.demart at libero.it wrote:
I think you need to tell is specifically which platform you are using
(output of version), and whether you installed R from source or a binary
distribution. Most likely you are on a Unix or Linux platform, and
installed a binary distribution, but are now updating *source* recommended
packages.
> Updating my 1.8.0 R installation (>update.packages() ) I obtain the following
> (SORRY FOR THE LENGTH OF THE LOG BUT IT HELPS!!!):
>
> ................
> downloaded 135Kb
>
> KernSmooth :
> Version 2.22-11 in /usr/lib/R/library
> Version 2.22-12 on CRAN
> Update (y/N)? y
> mgcv :
> Version 0.9-3.1 in /usr/lib/R/library
> Version 0.9-6 on CRAN
> Update (y/N)? y
> trying URL `http://cran.r-project.org/src/contrib/KernSmooth_2.22-12.tar.gz'
> Content type `application/x-tar' length 24752 bytes
> opened URL
> .......... .......... ....
> downloaded 24Kb
>
> trying URL `http://cran.r-project.org/src/contrib/mgcv_0.9-6.tar.gz'
> Content type `application/x-tar' length 181022 bytes
> opened URL
> .......... .......... .......... .......... ..........
> .......... .......... .......... .......... ..........
> .......... .......... .......... .......... ..........
> .......... .......... ......
> downloaded 176Kb
>
> * Installing *source* package 'KernSmooth' ...
> ** libs
> g77 -mieee-fp -fPIC -g -O2 -c blkest.f -o blkest.o
> g77 -mieee-fp -fPIC -g -O2 -c cp.f -o cp.o
> g77 -mieee-fp -fPIC -g -O2 -c dgedi.f -o dgedi.o
> g77 -mieee-fp -fPIC -g -O2 -c dgefa.f -o dgefa.o
> g77 -mieee-fp -fPIC -g -O2 -c dgesl.f -o dgesl.o
> g77 -mieee-fp -fPIC -g -O2 -c linbin2D.f -o linbin2D.o
> g77 -mieee-fp -fPIC -g -O2 -c linbin.f -o linbin.o
> g77 -mieee-fp -fPIC -g -O2 -c locpoly.f -o locpoly.o
> g77 -mieee-fp -fPIC -g -O2 -c rlbin.f -o rlbin.o
> g77 -mieee-fp -fPIC -g -O2 -c sdiag.f -o sdiag.o
> g77 -mieee-fp -fPIC -g -O2 -c sstdiag.f -o sstdiag.o
> gcc -shared -o KernSmooth.so blkest.o cp.o dgedi.o dgefa.o dgesl.o linbin2D.o
> linbin.o locpoly.o rlbin.o sdiag.o sstdiag.o -lf77blas -latlas
> -L/usr/lib/gcc-lib/i486-linux/3.3.2 -L/usr/lib/gcc-lib/i486-linux/3.3.2/../../..
> -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: *** [KernSmooth.so] Error 1
> ERROR: compilation failed for package 'KernSmooth'
> ** Removing '/usr/lib/R/library/KernSmooth'
> ** Restoring previous '/usr/lib/R/library/KernSmooth'
> * Installing *source* package 'mgcv' ...
> ** libs
> gcc -I/usr/lib/R/include -D__NO_MATH_INLINES -mieee-fp -fPIC -g -O2 -c gcv.c
> -o gcv.o
> gcc -I/usr/lib/R/include -D__NO_MATH_INLINES -mieee-fp -fPIC -g -O2 -c
> magic.c -o magic.o
> gcc -I/usr/lib/R/include -D__NO_MATH_INLINES -mieee-fp -fPIC -g -O2 -c mat.c
> -o mat.o
> gcc -I/usr/lib/R/include -D__NO_MATH_INLINES -mieee-fp -fPIC -g -O2 -c
> matrix.c -o matrix.o
> gcc -I/usr/lib/R/include -D__NO_MATH_INLINES -mieee-fp -fPIC -g -O2 -c
> mgcv.c -o mgcv.o
> gcc -I/usr/lib/R/include -D__NO_MATH_INLINES -mieee-fp -fPIC -g -O2 -c qp.c
> -o qp.o
> gcc -I/usr/lib/R/include -D__NO_MATH_INLINES -mieee-fp -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/i486-linux/3.3.2
> -L/usr/lib/gcc-lib/i486-linux/3.3.2/../../.. -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'
> ** Removing '/usr/lib/R/library/mgcv'
> ** Restoring previous '/usr/lib/R/library/mgcv'
>
> Delete downloaded files (y/N)? y
>
> Warning messages:
> 1: Installation of package KernSmooth 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,
> -----------------------------------------------------------------
>
> What's going wrong with these two packages?
>
> Please help
>
> Ciao
> Vittorio
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
>
--
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Breiviksveien 40, N-5045 Bergen,
Norway. voice: +47 55 95 93 55; fax +47 55 95 93 93
e-mail: Roger.Bivand at nhh.no
More information about the R-help
mailing list