[R] Trouble installing RandomFields package

Paul English penglish at hydro.washington.edu
Tue Oct 14 22:29:50 CEST 2003


Hi,
	I'm having some difficulty installing the RandomFields package in
R 1.7.0 under FreeBSD. I've installed the geoR package with no
difficulties.

Following are the errors that I get:

* Installing *source* package 'RandomFields' ...
** libs
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 RFsimu.cc -o RFsimu.o
In file included from RFsimu.cc:41:
/usr/include/sys/timeb.h:47: syntax error before `;'
*** Error code 1

Stop in /tmp/R.INSTALL.36022/RandomFields/src.
ERROR: compilation failed for package 'RandomFields'



I have no idea how there could possibly be a syntax error in the system
include files, since just about everything else under the sun requires
them for compilation anyway.

Thanks for your help,
Paul




More information about the R-help mailing list