[R-pkgs] package installation fails (RandomFields)

Drew Hoysak hoysak at wcgwave.ca
Wed Jun 10 21:40:32 CEST 2009


I have been unable to install the package RandomFields. I am using R 
2.9.0-4 on Ubuntu 9.04.

To install, I use the command:
sudo R CMD INSTALL RandomFields_1.3.37.tar.gz


The output follows below. Any help Would be appreciated.

D. Hoysak
Brandon University


* Installing to library ‘/usr/local/lib/R/site-library’
* Installing *source* package ‘RandomFields’ ...
** libs
g++ -I/usr/share/R/include -g -fpic -g -O2 -c D.H.cc -o D.H.o
In file included from D.H.cc:27:
RFsimu.h:38: warning: ‘typedef’ was ignored in this declaration
RFsimu.h:261: warning: ‘typedef’ was ignored in this declaration
RFsimu.h:309: warning: ‘typedef’ was ignored in this declaration
g++ -I/usr/share/R/include -g -fpic -g -O2 -c Hyperfcts.cc -o Hyperfcts.o
In file included from Hyperfcts.cc:27:
RFsimu.h:38: warning: ‘typedef’ was ignored in this declaration
RFsimu.h:261: warning: ‘typedef’ was ignored in this declaration
RFsimu.h:309: warning: ‘typedef’ was ignored in this declaration
Hyperfcts.cc: In function ‘int checkNinit_co(covinfo_type*, int*, int, 
SimulationType, bool)’:
Hyperfcts.cc:145: warning: deprecated conversion from string constant to 
‘char*’
Hyperfcts.cc:145: warning: deprecated conversion from string constant to 
‘char*’
Hyperfcts.cc:145: warning: deprecated conversion from string constant to 
‘char*’
Hyperfcts.cc:145: warning: deprecated conversion from string constant to 
‘char*’
Hyperfcts.cc:145: warning: deprecated conversion from string constant to 
‘char*’
Hyperfcts.cc: In function ‘int checkNinit_Stein(covinfo_type*, int*, 
int, SimulationType, bool)’:
Hyperfcts.cc:261: warning: deprecated conversion from string constant to 
‘char*’
Hyperfcts.cc:261: warning: deprecated conversion from string constant to 
‘char*’
Hyperfcts.cc:261: warning: deprecated conversion from string constant to 
‘char*’
Hyperfcts.cc:261: warning: deprecated conversion from string constant to 
‘char*’
Hyperfcts.cc:261: warning: deprecated conversion from string constant to 
‘char*’
Hyperfcts.cc:261: warning: deprecated conversion from string constant to 
‘char*’
g++ -I/usr/share/R/include -g -fpic -g -O2 -c MPP.cc -o MPP.o
In file included from MPP.cc:32:
RFsimu.h:38: warning: ‘typedef’ was ignored in this declaration
RFsimu.h:261: warning: ‘typedef’ was ignored in this declaration
RFsimu.h:309: warning: ‘typedef’ was ignored in this declaration
g++ -I/usr/share/R/include -g -fpic -g -O2 -c MPPFcts.cc -o MPPFcts.o
In file included from MPPFcts.cc:48:
RFsimu.h:38: warning: ‘typedef’ was ignored in this declaration
RFsimu.h:261: warning: ‘typedef’ was ignored in this declaration
RFsimu.h:309: warning: ‘typedef’ was ignored in this declaration
g++ -I/usr/share/R/include -g -fpic -g -O2 -c RFCovFcts.cc -o RFCovFcts.o
In file included from RFCovFcts.cc:47:
RFsimu.h:38: warning: ‘typedef’ was ignored in this declaration
RFsimu.h:261: warning: ‘typedef’ was ignored in this declaration
RFsimu.h:309: warning: ‘typedef’ was ignored in this declaration
g++ -I/usr/share/R/include -g -fpic -g -O2 -c RFcircembed.cc -o 
RFcircembed.o
In file included from RFcircembed.cc:33:
RFsimu.h:38: warning: ‘typedef’ was ignored in this declaration
RFsimu.h:261: warning: ‘typedef’ was ignored in this declaration
RFsimu.h:309: warning: ‘typedef’ was ignored in this declaration
RFcircembed.cc: In function ‘void SetParamCircEmbed(int*, int*, double*, 
double*, int*, int*, double*, int*, int*, double*, int*)’:
RFcircembed.cc:114: warning: deprecated conversion from string constant 
to ‘char*’
RFcircembed.cc: In function ‘void SetParamLocal(int*, int*, double*, 
double*, int*, double*, int*, double*, int*)’:
RFcircembed.cc:124: warning: deprecated conversion from string constant 
to ‘char*’
g++ -I/usr/share/R/include -g -fpic -g -O2 -c RFdirect.cc -o RFdirect.o
In file included from RFdirect.cc:28:
RFsimu.h:38: warning: ‘typedef’ was ignored in this declaration
RFsimu.h:261: warning: ‘typedef’ was ignored in this declaration
RFsimu.h:309: warning: ‘typedef’ was ignored in this declaration
g++ -I/usr/share/R/include -g -fpic -g -O2 -c RFempvario.cc -o RFempvario.o
In file included from RFempvario.cc:28:
RFsimu.h:38: warning: ‘typedef’ was ignored in this declaration
RFsimu.h:261: warning: ‘typedef’ was ignored in this declaration
RFsimu.h:309: warning: ‘typedef’ was ignored in this declaration
g++ -I/usr/share/R/include -g -fpic -g -O2 -c RFgetNset.cc -o RFgetNset.o
In file included from RFgetNset.cc:36:
RFsimu.h:38: warning: ‘typedef’ was ignored in this declaration
RFsimu.h:261: warning: ‘typedef’ was ignored in this declaration
RFsimu.h:309: warning: ‘typedef’ was ignored in this declaration
RFgetNset.cc: In function ‘SEXPREC* TooLarge(int*, int)’:
RFgetNset.cc:1081: warning: deprecated conversion from string constant 
to ‘char*’
RFgetNset.cc:1081: warning: deprecated conversion from string constant 
to ‘char*’
RFgetNset.cc: In function ‘SEXPREC* GetModelInfo(covinfo_type*, int, 
int, long int)’:
RFgetNset.cc:1106: warning: deprecated conversion from string constant 
to ‘char*’
RFgetNset.cc:1106: warning: deprecated conversion from string constant 
to ‘char*’
RFgetNset.cc:1106: warning: deprecated conversion from string constant 
to ‘char*’
RFgetNset.cc:1106: warning: deprecated conversion from string constant 
to ‘char*’
RFgetNset.cc:1106: warning: deprecated conversion from string constant 
to ‘char*’
RFgetNset.cc:1106: warning: deprecated conversion from string constant 
to ‘char*’
RFgetNset.cc:1106: warning: deprecated conversion from string constant 
to ‘char*’
RFgetNset.cc:1106: warning: deprecated conversion from string constant 
to ‘char*’
RFgetNset.cc:1106: warning: deprecated conversion from string constant 
to ‘char*’
RFgetNset.cc:1106: warning: deprecated conversion from string constant 
to ‘char*’
RFgetNset.cc:1106: warning: deprecated conversion from string constant 
to ‘char*’
RFgetNset.cc:1106: warning: deprecated conversion from string constant 
to ‘char*’
RFgetNset.cc:1106: warning: deprecated conversion from string constant 
to ‘char*’
RFgetNset.cc:1106: warning: deprecated conversion from string constant 
to ‘char*’
RFgetNset.cc:1106: warning: deprecated conversion from string constant 
to ‘char*’
RFgetNset.cc: In function ‘SEXPREC* GetMethodInfo(key_type*, 
methodvalue_type*, bool, int, int)’:
RFgetNset.cc:1186: warning: deprecated conversion from string constant 
to ‘char*’
RFgetNset.cc:1186: warning: deprecated conversion from string constant 
to ‘char*’
RFgetNset.cc:1186: warning: deprecated conversion from string constant 
to ‘char*’
RFgetNset.cc:1186: warning: deprecated conversion from string constant 
to ‘char*’
RFgetNset.cc:1186: warning: deprecated conversion from string constant 
to ‘char*’
RFgetNset.cc:1186: warning: deprecated conversion from string constant 
to ‘char*’
RFgetNset.cc:1186: warning: deprecated conversion from string constant 
to ‘char*’
RFgetNset.cc:1336: warning: deprecated conversion from string constant 
to ‘char*’
RFgetNset.cc:1336: warning: deprecated conversion from string constant 
to ‘char*’
RFgetNset.cc:1336: warning: deprecated conversion from string constant 
to ‘char*’
RFgetNset.cc: In function ‘SEXPREC* InternalGetKeyInfo(key_type*, bool, 
int, int)’:
RFgetNset.cc:1478: warning: deprecated conversion from string constant 
to ‘char*’
RFgetNset.cc:1478: warning: deprecated conversion from string constant 
to ‘char*’
RFgetNset.cc:1478: warning: deprecated conversion from string constant 
to ‘char*’
RFgetNset.cc:1478: warning: deprecated conversion from string constant 
to ‘char*’
RFgetNset.cc:1478: warning: deprecated conversion from string constant 
to ‘char*’
RFgetNset.cc:1478: warning: deprecated conversion from string constant 
to ‘char*’
RFgetNset.cc:1478: warning: deprecated conversion from string constant 
to ‘char*’
RFgetNset.cc:1478: warning: deprecated conversion from string constant 
to ‘char*’
RFgetNset.cc:1478: warning: deprecated conversion from string constant 
to ‘char*’
RFgetNset.cc:1478: warning: deprecated conversion from string constant 
to ‘char*’
RFgetNset.cc:1478: warning: deprecated conversion from string constant 
to ‘char*’
RFgetNset.cc:1478: warning: deprecated conversion from string constant 
to ‘char*’
RFgetNset.cc:1478: warning: deprecated conversion from string constant 
to ‘char*’
RFgetNset.cc:1478: warning: deprecated conversion from string constant 
to ‘char*’
RFgetNset.cc:1478: warning: deprecated conversion from string constant 
to ‘char*’
RFgetNset.cc:1478: warning: deprecated conversion from string constant 
to ‘char*’
g++ -I/usr/share/R/include -g -fpic -g -O2 -c RFhyperplan.cc -o 
RFhyperplan.o
In file included from RFhyperplan.cc:29:
RFsimu.h:38: warning: ‘typedef’ was ignored in this declaration
RFsimu.h:261: warning: ‘typedef’ was ignored in this declaration
RFsimu.h:309: warning: ‘typedef’ was ignored in this declaration
g++ -I/usr/share/R/include -g -fpic -g -O2 -c RFinitNerror.cc -o 
RFinitNerror.o
In file included from RFinitNerror.cc:32:
RFsimu.h:38: warning: ‘typedef’ was ignored in this declaration
RFsimu.h:261: warning: ‘typedef’ was ignored in this declaration
RFsimu.h:309: warning: ‘typedef’ was ignored in this declaration
RFinitNerror.cc: In function ‘void InitModelList()’:
RFinitNerror.cc:451: warning: deprecated conversion from string constant 
to ‘char*’
RFinitNerror.cc:456: warning: deprecated conversion from string constant 
to ‘char*’
RFinitNerror.cc:462: warning: deprecated conversion from string constant 
to ‘char*’
RFinitNerror.cc:467: warning: deprecated conversion from string constant 
to ‘char*’
RFinitNerror.cc:473: warning: deprecated conversion from string constant 
to ‘char*’
RFinitNerror.cc:477: warning: deprecated conversion from string constant 
to ‘char*’
RFinitNerror.cc:482: warning: deprecated conversion from string constant 
to ‘char*’
RFinitNerror.cc:491: warning: deprecated conversion from string constant 
to ‘char*’
RFinitNerror.cc:496: warning: deprecated conversion from string constant 
to ‘char*’
RFinitNerror.cc:501: warning: deprecated conversion from string constant 
to ‘char*’
RFinitNerror.cc:511: warning: deprecated conversion from string constant 
to ‘char*’
RFinitNerror.cc:515: warning: deprecated conversion from string constant 
to ‘char*’
RFinitNerror.cc:520: warning: deprecated conversion from string constant 
to ‘char*’
RFinitNerror.cc:524: warning: deprecated conversion from string constant 
to ‘char*’
RFinitNerror.cc:530: warning: deprecated conversion from string constant 
to ‘char*’
RFinitNerror.cc:536: warning: deprecated conversion from string constant 
to ‘char*’
RFinitNerror.cc:541: warning: deprecated conversion from string constant 
to ‘char*’
RFinitNerror.cc:546: warning: deprecated conversion from string constant 
to ‘char*’
RFinitNerror.cc:551: warning: deprecated conversion from string constant 
to ‘char*’
RFinitNerror.cc:556: warning: deprecated conversion from string constant 
to ‘char*’
RFinitNerror.cc:561: warning: deprecated conversion from string constant 
to ‘char*’
RFinitNerror.cc:565: warning: deprecated conversion from string constant 
to ‘char*’
RFinitNerror.cc:571: warning: deprecated conversion from string constant 
to ‘char*’
RFinitNerror.cc:576: warning: deprecated conversion from string constant 
to ‘char*’
RFinitNerror.cc:588: warning: deprecated conversion from string constant 
to ‘char*’
RFinitNerror.cc:593: warning: deprecated conversion from string constant 
to ‘char*’
RFinitNerror.cc:598: warning: deprecated conversion from string constant 
to ‘char*’
RFinitNerror.cc:603: warning: deprecated conversion from string constant 
to ‘char*’
RFinitNerror.cc:609: warning: deprecated conversion from string constant 
to ‘char*’
RFinitNerror.cc:623: warning: deprecated conversion from string constant 
to ‘char*’
RFinitNerror.cc:629: warning: deprecated conversion from string constant 
to ‘char*’
RFinitNerror.cc:633: warning: deprecated conversion from string constant 
to ‘char*’
RFinitNerror.cc:638: warning: deprecated conversion from string constant 
to ‘char*’
RFinitNerror.cc:646: warning: deprecated conversion from string constant 
to ‘char*’
g++ -I/usr/share/R/include -g -fpic -g -O2 -c RFnugget.cc -o RFnugget.o
In file included from RFnugget.cc:29:
RFsimu.h:38: warning: ‘typedef’ was ignored in this declaration
RFsimu.h:261: warning: ‘typedef’ was ignored in this declaration
RFsimu.h:309: warning: ‘typedef’ was ignored in this declaration
g++ -I/usr/share/R/include -g -fpic -g -O2 -c RFother.cc -o RFother.o
In file included from RFother.cc:28:
RFsimu.h:38: warning: ‘typedef’ was ignored in this declaration
RFsimu.h:261: warning: ‘typedef’ was ignored in this declaration
RFsimu.h:309: warning: ‘typedef’ was ignored in this declaration
g++ -I/usr/share/R/include -g -fpic -g -O2 -c RFsimu.cc -o RFsimu.o
In file included from RFsimu.cc:52:
RFsimu.h:38: warning: ‘typedef’ was ignored in this declaration
RFsimu.h:261: warning: ‘typedef’ was ignored in this declaration
RFsimu.h:309: warning: ‘typedef’ was ignored in this declaration
RFsimu.cc: In function ‘int check_within_range(double*, cov_fct*, int, 
char*)’:
RFsimu.cc:759: warning: deprecated conversion from string constant to 
‘char*’
RFsimu.cc:761: warning: deprecated conversion from string constant to 
‘char*’
RFsimu.cc:772: warning: deprecated conversion from string constant to 
‘char*’
RFsimu.cc:774: warning: deprecated conversion from string constant to 
‘char*’
g++ -I/usr/share/R/include -g -fpic -g -O2 -c RFspectral.cc -o RFspectral.o
In file included from RFspectral.cc:27:
RFsimu.h:38: warning: ‘typedef’ was ignored in this declaration
RFsimu.h:261: warning: ‘typedef’ was ignored in this declaration
RFsimu.h:309: warning: ‘typedef’ was ignored in this declaration
RFspectral.cc: In function ‘int init_simulatespectral(key_type*, int)’:
RFspectral.cc:96: warning: deprecated conversion from string constant to 
‘char*’
g++ -I/usr/share/R/include -g -fpic -g -O2 -c RFtbm.cc -o RFtbm.o
In file included from RFtbm.cc:33:
RFsimu.h:38: warning: ‘typedef’ was ignored in this declaration
RFsimu.h:261: warning: ‘typedef’ was ignored in this declaration
RFsimu.h:309: warning: ‘typedef’ was ignored in this declaration
RFtbm.cc: In function ‘void SetParamTBMCE(int*, int*, double*, double*, 
int*, double*, int*, int*, double*, int*)’:
RFtbm.cc:271: warning: deprecated conversion from string constant to ‘char*’
RFtbm.cc: In function ‘void SetParamTBM2(int*, int*, double*, double*, 
int*, int*, int*)’:
RFtbm.cc:316: warning: deprecated conversion from string constant to ‘char*’
RFtbm.cc: In function ‘void SetParamTBM3(int*, int*, double*, double*, 
int*, int*)’:
RFtbm.cc:326: warning: deprecated conversion from string constant to ‘char*’
g++ -I/usr/share/R/include -g -fpic -g -O2 -c Xempvario.cc -o Xempvario.o
In file included from Xempvario.cc:28:
RFsimu.h:38: warning: ‘typedef’ was ignored in this declaration
RFsimu.h:261: warning: ‘typedef’ was ignored in this declaration
RFsimu.h:309: warning: ‘typedef’ was ignored in this declaration
g++ -I/usr/share/R/include -g -fpic -g -O2 -c addownfctns.cc -o 
addownfctns.o
In file included from addownfctns.cc:6:
RFsimu.h:38: warning: ‘typedef’ was ignored in this declaration
RFsimu.h:261: warning: ‘typedef’ was ignored in this declaration
RFsimu.h:309: warning: ‘typedef’ was ignored in this declaration
g++ -I/usr/share/R/include -g -fpic -g -O2 -c auxiliary.cc -o auxiliary.o
g++ -I/usr/share/R/include -g -fpic -g -O2 -c avltr.cc -o avltr.o
g++ -I/usr/share/R/include -g -fpic -g -O2 -c extremes.cc -o extremes.o
In file included from extremes.cc:27:
RFsimu.h:38: warning: ‘typedef’ was ignored in this declaration
RFsimu.h:261: warning: ‘typedef’ was ignored in this declaration
RFsimu.h:309: warning: ‘typedef’ was ignored in this declaration
g++ -I/usr/share/R/include -g -fpic -g -O2 -c modelling.cc -o modelling.o
In file included from modelling.cc:48:
RFsimu.h:38: warning: ‘typedef’ was ignored in this declaration
RFsimu.h:261: warning: ‘typedef’ was ignored in this declaration
RFsimu.h:309: warning: ‘typedef’ was ignored in this declaration
g++ -I/usr/share/R/include -g -fpic -g -O2 -c win_linux_aux.cc -o 
win_linux_aux.o
g++ -shared -o RandomFields.so D.H.o Hyperfcts.o MPP.o MPPFcts.o 
RFCovFcts.o RFcircembed.o RFdirect.o RFempvario.o RFgetNset.o 
RFhyperplan.o RFinitNerror.o RFnugget.o RFother.o RFsimu.o RFspectral.o 
RFtbm.o Xempvario.o addownfctns.o auxiliary.o avltr.o extremes.o 
modelling.o win_linux_aux.o -llapack -L/usr/lib/R/lib -lR
/usr/bin/ld: cannot find -llapack
collect2: ld returned 1 exit status
make: *** [RandomFields.so] Error 1
ERROR: compilation failed for package ‘RandomFields’
* Removing ‘/usr/local/lib/R/site-library/RandomFields’



More information about the R-packages mailing list