[R] gcc on AIX is not compatile with R-1.9.1

Thomas Lumley tlumley at u.washington.edu
Sat Jul 24 19:21:37 CEST 2004


On Thu, 22 Jul 2004, Liao, Kexiao wrote:

> Hi Uwe Liqqes,
>    Does the successful compilation for R-1.9.1 on AIX 5.1 depend on the
> IBM AIX compiler for C and C++ (xlc/xlC)? gcc on AIX is not compatible
> with R1.9.1.

Are you using g77 or IBM's Fortran?  In the past I found that gcc was not
compatible with the IBM fortran compiler, but was compatible with g77 on
AIX.

	-thomas

>
> Kexiao
>
>
> -----Original Message-----
> From: Uwe Ligges [mailto:ligges at statistik.uni-dortmund.de]
> Sent: Sunday, July 18, 2004 8:19 AM
> To: Liao, Kexiao
> Cc: r-help at stat.math.ethz.ch
> Subject: Re: [R] Install R on AIX 5.2 64 Bit
>
> Liao, Kexiao wrote:
>
> > Hi your guys,
> >
> >     Recently, I installed R-1.9.1 on AIX 5.2 with 64 bits environment;
> I
> > already have following software installed on AIX before I compile
> > R-1.9.1 source codes:
> >
> >
> >
> > g++ 2.9.aix51.020209-4  The GNU C++ compiler and headers
> >
> > gcc 2.9.aix51.020209-4  The GNU gcc C compiler and headers
> >
> > xlf  XL   Fortran for AIX
> >
> > perl 5.6.1-2
> >
> > zlib 1.1.3-10
> >
> >
> >
> >    For latex and makeinfo stuffs, I have not found from my AIX 5.2
> P690
> > system.
> >
> >
> >
> >  After I run the following command:
> >
> > configure
> >
> > make
> >
>
> What about "make check"? And thereafter "make install"?
>
> >
> > Following executable binaries codes have been generated in RHOME/bin
> > directory:
> >
> >
> >
> > bash-2.05b$ ls -al
> >
>
> [SNIP]
>
> > bash-2.05b$ pwd
> >
> > /home/liao1k/r-1.9.1/R-1.9.1/bin
> >
> > bash-2.05b$
> >
> >
> > However if I run R command, I got following error message:
> >
> > bash-2.05b$ ./R
> >
> > Fatal error: unable to open the base package
>
> So either you don't have permission to read .../library/base/...
> or compilation was not successful and the package(s) have not been
> created.
> Please tell us the error messages which appeared during compilation, and
>
> try running make check, if there were no error messages....
>
> Uwe Ligges
>
>
> >
> >   Can any one give me some advice? Thanks in advance!
> >
> >
> >
> > Kexiao
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>

Thomas Lumley			Assoc. Professor, Biostatistics
tlumley at u.washington.edu	University of Washington, Seattle




More information about the R-help mailing list