Skip to content

(PR#8017) build of REventLoop package crashes with 2.1 due

1 message · Brian Ripley

#
Looking at the REventLoop_0.2-3 sources, the problem _is_ in the package. 
It include IOStuff.h (which includes Defn.h) without including config.h, 
which should always be included before R's internal headers. The package 
tries to get around this by defining some entries from config.h, but not 
enough for current R versions.  It seems to work if you add -DHAVE_WCHAR_H 
to the defines.  (I did not spot how SUPPORT_MBCS got defined, but it 
seems it is.)

Incidentally, I was unable to get the package to build unless R was built 
in its source dir, and there is a mismatch between the version of the tar 
file (0.2-3) and declared in the DESCRIPTION and hence in the PACKAGES 
file (0.2).

What Duncan is trying to do here is extremely tricky, so please do not 
file bug reports against R when such things do not work for you: they are 
not deficiencies in R.
On Wed, 20 Jul 2005 ripley at stats.ox.ac.uk wrote: