Hi,
I'm running R 2.0 installed from the source port on FreeBSD 4.10
and I'm having some trouble installing the RandomFields package. Following
is the procedure and errors:
>options(CRAN="http://cran.us.r-project.org")
>install.packages("RandomFields")
<download snipped>
downloaded 227Kb
* Installing *source* package 'RandomFields' ...
** libs
c++ -I/usr/local/lib/R/include -I/usr/local/include -mieee-fp -fPIC -O
-pipe -c D.H.cc -o D.H.o
c++ -I/usr/local/lib/R/include -I/usr/local/include -mieee-fp -fPIC -O
-pipe -c MPP.cc -o MPP.o
c++ -I/usr/local/lib/R/include -I/usr/local/include -mieee-fp -fPIC -O
-pipe -c MPPFcts.cc -o MPPFcts.o
c++ -I/usr/local/lib/R/include -I/usr/local/include -mieee-fp -fPIC -O
-pipe -c RFCovFcts.cc -o RFCovFcts.o
c++ -I/usr/local/lib/R/include -I/usr/local/include -mieee-fp -fPIC -O
-pipe -c RFcircembed.cc -o RFcircembed.o
c++ -I/usr/local/lib/R/include -I/usr/local/include -mieee-fp -fPIC -O
-pipe -c RFdirect.cc -o RFdirect.o
c++ -I/usr/local/lib/R/include -I/usr/local/include -mieee-fp -fPIC -O
-pipe -c RFempvario.cc -o RFempvario.o
c++ -I/usr/local/lib/R/include -I/usr/local/include -mieee-fp -fPIC -O
-pipe -c RFgetNset.cc -o RFgetNset.o
c++ -I/usr/local/lib/R/include -I/usr/local/include -mieee-fp -fPIC -O
-pipe -c RFinitNerror.cc -o RFinitNerror.o
In file included from RFinitNerror.cc:29:
/usr/include/sys/timeb.h:47: syntax error before `;'
*** Error code 1
Stop in /tmp/R.INSTALL.35020/RandomFields/src.
ERROR: compilation failed for package 'RandomFields'
** Removing '/usr/local/lib/R/library/RandomFields'
** Restoring previous '/usr/local/lib/R/library/RandomFields'
Delete downloaded files (y/N)?
The packages are in /tmp/RtmpaUoyEh/Rinstdir167eb0e7
Warning message:
Installation of package RandomFields had non-zero exit status in:
install.packages("RandomFields")