[R] Re: [Rd] Can't install packages (PR#1486)

mikalzet@libero.it mikalzet at libero.it
Fri Apr 26 18:25:52 CEST 2002


On Fri, 26 Apr 2002 poizot at cnam.fr wrote:

> Hello,
>
> I install R under Mandrake Linux 8.2.
> R itself work fine, but I had an error to install packages, i.e. fields, geoR
> and geoRglm :
>
> $: R CMD INSTALL geoRglm_0.4-3.tar.gz
> Installing *source* package `geoRglm' ...
>  libs
> gcc-3.0.1 -I/usr/lib/R/include  -I/usr/local/include -mieee-fp
> -D__NO_MATH_INLINES  -fPIC  -O3 -fomit-frame-pointer -pipe -mcpu=pentiumpro
> -march=i586 -fno-fast-math -fno-strength-reduce -c geoRgeoRglm.c -o
> geoRgeoRglm.o
> make: gcc-3.0.1 : Commande introuvable
> make: *** [geoRgeoRglm.o] Erreur 127
> ERROR: compilation failed for package `geoRglm

You are using the RPM package compiled for Mandrake 8.1, which does have
gcc-3.0.1. You need a Mandrake 8.2 package.

Mandrake 8.2 distribution includes an RPM package for R 1.4.1 which for
some strange reason is not distributed on the CD's but is downloadable
from the mandrake 8.2 mirror sites.
Unfortunately, as I have already signalled to the packager
(ghibo at mandrakesoft.com), there seem to be a couple of small bugs in this
package; specifically on uninstalling it the preun script produces an
error message. I would therefore not trust it.

You can do one of various things:

1) Download the SRPM from CRAN and recompile the RPM for your system.
That's what the SRPM is there for. The readme file explains what you need
to do.

2) Wait a few days. When R 1.5.0 comes out I mean to produce RPM's for
Mandrake 8.1 and 8.2 before erasing 8.1 from my HD and going over to 8.2
completely.

3) I think this dirty hack would work quite well: just make a symlink

ln -s /usr/bin/gcc-3.0.3 /usr/bin/gcc-3.0.1

Mandrake 8.2 has gcc-3.0.3.

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