[R] Compiling R in Caldera Linux

Luke Tierney luke at goose.stat.umn.edu
Wed Nov 1 00:07:40 CET 2000

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


Luke Tierney
University of Minnesota                      Phone:           612-625-7843
School of Statistics                         Fax:             612-624-8868
313 Ford Hall, 224 Church St. S.E.           email:      luke at stat.umn.edu
Minneapolis, MN 55455 USA                    WWW:  http://www.stat.umn.edu
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