> -----Original Message-----
> From: Chuck White [mailto:chuckwhi...@charter.net] 
> Sent: Wednesday, October 28, 2009 3:47 PM
> To: r-devel@r-project.org; William Dunlap
> Subject: RE: [Rd] unable to compile mgcv
> 
> Thanks for your response.  Can you please point me to the 
> make file where I would make this change. Thanks.

If you untar src/library/Recommended/mgcv.tgz (sp?)
this file will be in mgcv/src.  I'm not sure of the
best way to take care of it on AIX.  It may be possible
to #undef TRUE in include/R.h.  The AIX system includes
define it in many places, the most prominent of which
is in types.h.

If you cannot generally #undef TRUE in a global
R include file then you will have to edit the C or h files
in mgcv.

> 
> ---- William Dunlap <wdun...@tibco.com> wrote: 
> > The first offending line in gdc.c is
> >     294   int *pivot,i,TRUE=1,j;
> > and TRUE must be #defined in some AIX
> > include file.  Change it to true or
> > add #undef TRUE prior to its use and it
> > may compile.
> > 
> > Bill Dunlap
> > Spotfire, TIBCO Software
> > wdunlap tibco.com  
> 
> 

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to