[R] [R-pkgs] package installation fails (RandomFields)
Uwe Ligges
ligges at statistik.tu-dortmund.de
Thu Jun 11 17:43:05 CEST 2009
William Dunlap wrote:
> The offending lines don't look right to me:
>
> 38 typedef struct key_type;
> 261 typedef struct mpp_storage;
> 309 typedef struct cov_fct;
>
> Shouldn't they be 'typedef struct struct_name typedefed_name'?
> Later in the file there are proper typedef's for these things.
In that case, can you please report it to the RandomFields maintainer?
Thank you very much,
Uwe Ligges
> Bill Dunlap
> TIBCO Software Inc - Spotfire Division
> wdunlap tibco.com
>
>> -----Original Message-----
>> From: r-help-bounces at r-project.org
>> [mailto:r-help-bounces at r-project.org] On Behalf Of Martin Maechler
>> Sent: Thursday, June 11, 2009 12:42 AM
>> To: Drew Hoysak
>> Cc: r-help at r-project.org
>> Subject: Re: [R] [R-pkgs] package installation fails (RandomFields)
>>
>> [[ 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 <hoysak at 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 at 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.
>>
>
> ______________________________________________
> R-help at 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.
More information about the R-help
mailing list