[R] [R-pkgs] package installation fails (RandomFields)

2009-06-11 Thread Drew Hoysak
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 

Re: [R] [R-pkgs] package installation fails (RandomFields) - SOLVED

2009-06-11 Thread Drew Hoysak

Thanks to all who replied so quickly.

Installing liblapack-dev solved the problem and I can now install 
RandomFields.




Drew Hoysak
Brandon University

__
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.