I have been able to compile mgcv 1.5-6 *successfully* on the AIX box with gcc.
I replaced all the TRUE/FALSE in magic.c and gdi.c with mgcvTRUE/mgcvFALSE.
Thanks to William Dunlap for his help.
__
R-devel@r-project.org mailing list
https://stat.ethz.
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
> -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
Thanks for your response. Can you please point me to the make file where I
would make this change. Thanks.
William Dunlap 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 #u
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
> -Original Message-
> From: r-deve
Some more details on my being able to compile R 2.9.2 for AIX 5.3
export OBJECT_MODE=64
export AR="ar -X64"
export R_BROWSER=/opt/freeware/bin/firefox
export MAKE=/usr/bin/gmake
export R_SHELL=/usr/bin/bash
#export LIBICONV=/opt/freeware/lib
export CC="gcc -maix64 -pthread"
export CXX="g++ -maix64