[R] f2c question

Jonathan.Yuen@evp.slu.se Jonathan.Yuen at evp.slu.se
Mon Mar 6 14:09:51 CET 2000


I decided to try to compile R version 1.0.0 on my home-hacked linux
system.  This is not a conventional distribution, but has been upgraded
countless numbers of times (I think it started as a 1.2.13).  It's up to
2.2.13 (kernel version) and I still use gcc  I have managed to
deal with the fortran part of R with f2c.  As it turns out I can compile
the program OK, but when it gets to the libraries, specifically ctest (the
first one that has a piece of fortran in it), the program complains that
it can't find f2c.h. I MAY have moved the header to the wrong place when I
rearranged my libraries for glibc, but it does make it through the normal
compile.  I also found an f2c.h in the include/R_ext subdirectory of the
source tree, in addition to my usual header source location.  I saw that
the one in the source tree has some R-specific comments in it, and I
assume that it is the correct one to use for R.

I know I probably should upgrade my gcc, and I have 2.95 sitting around
somewhere but I also know things won't fit on one of my machines and I
like keeping everything the same.  Is this 'can't find the header' problem
a bug or a feature to drive me to upgrade my compiler?

Seriously, either I have something set incorrectly on my computer, or the
Makefile isn't being generated correctly by configure.  Or something else.

Some words of wisdom would be highly appreciated at this point.... 


Jonathan Yuen, Professor in Plant Pathology     phone: 46 18 672369
Dept. of Ecology and Crop Production Sciences   fax:   46 18 672890
Swedish University of Agricultural Sciences     http://www.tvs.slu.se
Box 7043                                        email replies to
S 750 07 Uppsala, SWEDEN                        Jonathan.Yuen at evp.slu.se 

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