[R-SIG-Mac] ncdf for R on OS X 10.4

Paul Roebuck roebuck at mdanderson.org
Fri Jan 6 23:40:43 CET 2006


On Fri, 6 Jan 2006, Jan de Leeuw wrote:

> On Jan 6, 2006, at 09:48 , George Ostrouchov wrote:
>
> > I just installed ncdf package on OS X 10.4.3 with netcdf-3.6.0-p1 and
> > R-2.2.0.
> >
> > The following change was needed in ncdf/src/ncdf3.c
> > -#include <values.h>
> > +#include <limits.h>
>
> on darwin it makes sense to set, once and for all,
>
> sudo ln -s /usr/include/limits.h /usr/local/include/values.h
>
> saves you the trouble of mucking with the source of various libs
> and packages

If you're going to go through the trouble to simulate a
SysV-specific header on a BSD-derived OS, why not fake
the rest of it?


/usr/local/include/values.h
----------------------------
#include <limits.h>
#include <float.h>

----------------------------------------------------------
SIGSIG -- signature too long (core dumped)



More information about the R-SIG-Mac mailing list