[R] problem on upgrading to RH6.2 (One solution)

Christian Posse posse at talariainc.com
Thu May 25 23:49:19 CEST 2000


I finally found a way around though the underlying problem
persists. It seems that the problem is with g77. Only
the packages using FORTRAN failed to be loaded correctly
in either way (R from rpm or built from scratch).

The solution was to build R from the source using the flag

--with-f2c

with ./configure.

All contrib packages installed with this version of R are loaded 
correctly and, as far as I can superficially see, work.
make check gives positive feedback.

Has anyone encountered the same problem?
Christian

----- Original Message ----- 
From: "Peter Dalgaard BSA" <p.dalgaard at biostat.ku.dk>
To: "Christian Posse" <posse at talariainc.com>
Cc: "r-help" <r-help at stat.math.ethz.ch>
Sent: Thursday, May 25, 2000 11:20 AM
Subject: Re: [R] problem on upgrading to RH6.2 (Update)


> "Christian Posse" <posse at talariainc.com> writes:
> 
> > The situation is far worse  with the version of R built by myself
> > after having downloaded the *.tgz file from statlib. With this
> > version, R base works fine, but impossible to load successfully
> > any library, even the one in the base packages
> > (Just in case, the R-base*src.rpm provides the same source code
> > and therefore I got the same problems).
> > 
> > Note, my PC is pure vanilla. I just got it brand new and  I installed
> > RH6.2. Then I tried to build R and got all these problems.
> > RH6.2 comes with
> > 
> > <18>root at cuky/R: gcc --version
> > egcs-2.91.66
> > 
> > How can I compare that with what Peter Dalgaard wrote
> > ( I have been confused for a long time between the different
> > brands of gcc, true gcc or egcs flavor).
> 
> [pd at blueberry pd]$ rpm -q egcs    
> egcs-1.1.2-30
> [pd at blueberry pd]$ gcc --version
> egcs-2.91.66
> 
> It's the same one. So it's pretty odd that you cannot build the
> packaces supplied with R (I assume "make check" fails?). That has
> worked for me all the time. I don't think I have anything out of the
> ordinary in my setup, except
> 
> $ more .Rconf 
> CFLAGS="-Wall -g -O2"
> FFLAGS="-Wall -g -O2"
> 


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list