From chuckwhite8 at charter.net  Thu Oct 29 20:01:44 2009
From: chuckwhite8 at charter.net (Chuck White)
Date: Thu, 29 Oct 2009 15:01:44 -0400
Subject: [Rd] unable to compile mgcv
In-Reply-To: <77EB52C6DD32BA4D87471DCD70C8D7000209A216@NA-PA-VBE03.na.tibco.com>
Message-ID: <20091029150144.371NZ.7717660.root@mp14>

Thanks for your response. In the past I have build R for RHEL and it was very simple. I did not have to do anything specific for certain libraries.

I do see the .tgz file (actually it is a link to the original file which has version number too). Questions
[1] do I need to unzip the tgz file, make changes, and zip it back again? Or would the makefile be able to handle the unzipped directory?
[2] is there a way to just compile that library only?
[3] what do I do to resume the compilation of the rest of the libraries. Re-running make would likely try to build the original version of mgcv again.

Thanks -- I would appreciate any document/instructions you can point me to.


---- William Dunlap <wdunlap at tibco.com> wrote: 
> 
> > -----Original Message-----
> > From: Chuck White [mailto:chuckwhite8 at charter.net] 
> > Sent: Wednesday, October 28, 2009 3:47 PM
> > To: r-devel at 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.
>



[Rd] unable to compile mgcv
Chuck White