[[ NOTE: This accidentally was approved to go to R-packages, it should never have gone there, and I have deleted it from the archives. Please *only* reply to R-help (and the OP)! ]]
>>>>> "DH" == Drew Hoysak <hoy...@wcgwave.ca> >>>>> on Wed, 10 Jun 2009 14:40:32 -0500 writes: DH> I have been unable to install the package RandomFields. I am using R DH> 2.9.0-4 on Ubuntu 9.04. How exactly did you install R? Just as ubuntu package? {probably, given the somewhat particular version number} DH> To install, I use the command: DH> sudo R CMD INSTALL RandomFields_1.3.37.tar.gz DH> The output follows below. Any help Would be appreciated. DH> D. Hoysak DH> Brandon University DH> * Installing to library ‘/usr/local/lib/R/site-library’ DH> * Installing *source* package ‘RandomFields’ ... DH> ** libs DH> g++ -I/usr/share/R/include -g -fpic -g -O2 -c D.H.cc -o D.H.o DH> In file included from D.H.cc:27: DH> RFsimu.h:38: warning: ‘typedef’ was ignored in this declaration DH> RFsimu.h:261: warning: ‘typedef’ was ignored in this declaration DH> RFsimu.h:309: warning: ‘typedef’ was ignored in this declaration [..........................] [..........................] DH> RFsimu.h:309: warning: ‘typedef’ was ignored in this declaration DH> g++ -I/usr/share/R/include -g -fpic -g -O2 -c win_linux_aux.cc -o DH> win_linux_aux.o DH> g++ -shared -o RandomFields.so D.H.o Hyperfcts.o MPP.o MPPFcts.o DH> RFCovFcts.o RFcircembed.o RFdirect.o RFempvario.o RFgetNset.o DH> RFhyperplan.o RFinitNerror.o RFnugget.o RFother.o RFsimu.o RFspectral.o DH> RFtbm.o Xempvario.o addownfctns.o auxiliary.o avltr.o extremes.o DH> modelling.o win_linux_aux.o -llapack -L/usr/lib/R/lib -lR DH> /usr/bin/ld: cannot find -llapack ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ This looks like a setup problem of the R installation you have; I'd guess that you would also see problems installing other R packages that rely on LAPACK. DH> collect2: ld returned 1 exit status DH> make: *** [RandomFields.so] Error 1 DH> ERROR: compilation failed for package ‘RandomFields’ DH> * Removing ‘/usr/local/lib/R/site-library/RandomFields’ ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.