[Rd] unable to compile mgcv

Chuck White chuckwhite8 at charter.net
Wed Oct 28 20:57:28 CET 2009

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 -pthread"
export CFLAGS="-O2 -g -mcpu=power5"
export F77="gfortran -maix64 -pthread"
export FC="gfortran -maix64 -pthread"
export FFLAGS="-O2 -g -mcpu=power5"
export FCFLAGS="-O2 -g -mcpu=power5"
export CPPFLAGS="-I/usr/lpp/X11/include/X11"
export LDFLAGS="-L/usr/lib -L/usr/X11R6/lib -L/usr/local/lib -L/opt/freeware/lib -L/opt/freeware/lib64"

../R-2.9.2/configure --enable-R-shlib --with-iconv=no > config_292.log 2>&1 ; make > make_292.log 2>&1

More information about the R-devel mailing list