[R] Compiling R in Caldera Linux

Chris Roed croed at mb.sympatico.ca
Wed Nov 1 01:52:05 CET 2000


On Tue, 31 Oct 2000, you wrote:
> Peter Dalgaard BSA wrote:
> > Chris Roed <croed at mb.sympatico.ca> writes:
> > 
> > > I am new to Linux and its ways, and so I am having a bit of trouble compiling R.
> > > The system I am using is Caldera Open Linux 2.4.  I have egcs and g77 version
> > > 2.91.66 installed and they seem to work fine.  When I try to run the 
> > > configure script for R, it quits at the test of g77 with an error "Can't find
> > > -lg2c". 
> > >  Does this error mean I am missing a library, and if so, which one?
> > 
> > Yes, libg2c... As far as I remember (it's been a while since we had
> > reports on Caldera) the wisest thing to do is probably to install f2c
> > and reconfigure using --with-f2c. 
> > 
> > I'm pretty sure that the root of the problem is that Caldera simply
> > forgot to package that library with the g77 compiler. If you really
> > want it, it might be best simply to recompile the compiler (which
> > isn't all that hard, but not completely trivial either).
> > 
> > There's a remote chance that it might work to copy libf2c.a to
> > libg2c.a in whatever corresponds to RedHats
> > /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/ directory.
> > 
> 
> I believe they forgot the g2c library with 2.3 and fairly quickly
> posted an rpm that fixed that on their web site--you might check
> there.
> 
> luke
> 
> 
Exactly right.  The library is still missing from 2.4, but the RPM from their
site fixed that.  R compiled perfectly after I updated g77.
Thanks for your help
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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