[R] Compiling R in Caldera Linux

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Tue Oct 31 23:41:14 CET 2000

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.

   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907
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