[R] R 1.4 on Mandrake Linux 8.1

mikalzet@libero.it mikalzet at libero.it
Sun Dec 23 23:16:16 CET 2001


On Sun, 23 Dec 2001, Frank E Harrell Jr wrote:

> I installed the new rpm from CRAN for R 1.4 for Mandrake Linux 8.1,
> after getting blas and libgcc from rpmfind.net.

Why did you do that ?

> When I do
> update.packages() the system goes to update grid, lattice, and mgcv.  I
> get compile errors for two of them.

> Apparently R is looking for gcc
> 3.0.1 or later but 8.1 uses 2.9x which is required for other Mandrake
> applications (i.e., I get a dependency error when trying to install the
> latest gcc*.rpm from rpmfind.net; there are no Mandrake 8.1 updates yet
> for gcc).

gcc-3.0.1 is included in standard Mandrake 8.1; you should have it already
installed or on your CD's, as I have.

Else download:

lftp ftp.edisontel.it/pub/Mandrake_Mirror/Mandrake/8.1/i586/Mandrake
/RPMS/
get gcc3.0-3.0.1-1md.i586.rpm

On my system (with no extraneous rpm's added) it is under
/usr/bin/gcc-3.0.1

There is an /etc/alternatives directory in which a link is found between
gcc and the gcc you wish to use, you can change that if you like, or you
can simply do

export CC="gcc-3.0.1"
export GCC="gcc-3.0.1"

in your shell before compiling.

When I do update.packages() the only package it updates is mgcv, which it
then proceeds to compile and install with gcc-3.0.1 (even though my
'default' gcc in the alternatives directory is 2.96) (it seemed a clever
idea at the time to compile with gcc 3.0.1 rather than an earlier version
- not so sure it was now).

Guess you just have to install the

gcc3.0-3.0.1-1mdk.i586.rpm

RPM package from mandrake (your old gcc won't be touched) or else
recompile the RPM from source with your gcc-2.96.

-- 
Dr. Michele Alzetta

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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